kvm: qemu: remove overzealous virtio-net printf
commitb7c64de20eaa882a51d625374c37d0c73ff69b9d
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 24 Jun 2008 21:12:00 +0000 (24 18:12 -0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 25 Jun 2008 12:07:39 +0000 (25 15:07 +0300)
tree13965d654dbee73e03f2421132b81fa16a32c23f
parent0ddd12b690ff7fe29d390eeb3b8e66e84b42dff8
kvm: qemu: remove overzealous virtio-net printf

When two virtio devices share an interrupt virtio-net floods the console
with "this should not happen" message.

As Anthony points this is not a fatal condition: its possible that the
guest consumed all ring elements between the can_receive check and
actual net_receive call.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/hw/virtio-net.c