Charles Duffy wrote:
Anthony Liguori wrote:
Charles Duffy wrote:
Per subject. "git bisect run" script (and libvirt xml helper) attached.
Does the problem go away if you make the e1000_can_receive() function
always return 1?
Yes.
Presumably, this is the proper fix. Can you verify?
diff --git a/qemu/hw/e1000.c b/qemu/hw/e1000.c
index 1be69ec..6a07b0c 100644
--- a/qemu/hw/e1000.c
+++ b/qemu/hw/e1000.c
@@ -521,8 +521,8 @@ e1000_can_receive(void *opaque)
{
E1000State *s = opaque;
- return ((s->mac_reg[RCTL] & E1000_RCTL_EN) &&
- s->mac_reg[RDH] != s->mac_reg[RDT]);
+ return (!(s->mac_reg[RCTL] & E1000_RCTL_EN) ||
+ s->mac_reg[RDH] != s->mac_reg[RDT]);
}
static void
Regards,
Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html