kvm: qemu: support for virtio ABI version
commit471eb250c1d31aa26aa54cff356355d6111603d8
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 28 Jan 2008 15:59:19 +0000 (28 09:59 -0600)
committerAvi Kivity <avi@qumranet.com>
Tue, 29 Jan 2008 15:33:41 +0000 (29 17:33 +0200)
tree3daa09ba1fb95823e1344956e8ed10e6e5501658
parente6fd8f045bf87e8518985d1f5a0102e5f5640d5a
kvm: qemu: support for virtio ABI version

As we continue to massage the virtio PCI ABI, we can make
things a little more friendly to users by utilizing the PCI revision field to
indicate which version of the ABI we're using.  This is a hard ABI version
and incrementing it will cause the guest driver to break.

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