virtio-pci: Rename bugs field to flags
commit3dbca8e6a7a5be52c3251ad03bf30d73301babf3
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 17 Dec 2010 12:01:49 +0000 (17 12:01 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jan 2011 11:47:41 +0000 (10 13:47 +0200)
tree882e6b76c79083142f23a20085630c257693cd12
parent2f6bfe3b0c5bb216abfe015d824eaf84c449c6a5
virtio-pci: Rename bugs field to flags

The VirtIOPCIProxy bugs field is currently used to enable workarounds
for older guests.  Rename it to flags so that other per-device behavior
can be tracked.

A later patch uses the flags field to remember whether ioeventfd should
be used for virtqueue host notification.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-pci.c