]> xenbits.xensource.com Git - libvirt.git/commit
qemu: make QEMU_PCI_ADDRESS_(SLOT|FUNCTION)_LAST less misleading
authorLaine Stump <laine@laine.org>
Thu, 11 Jul 2013 04:53:16 +0000 (00:53 -0400)
committerLaine Stump <laine@laine.org>
Wed, 24 Jul 2013 10:31:28 +0000 (06:31 -0400)
commit9adafa08e697d3122f8bf899df9b990ead9ebb70
tree5258a3abc2b19f0ba5a2565bfdb0f06bc625c914
parentfcbfd584294bf49e69dc89e1f54c95c289cf00f0
qemu: make QEMU_PCI_ADDRESS_(SLOT|FUNCTION)_LAST less misleading

Although these two enums are named ..._LAST, they really had the value
of ..._SIZE. This patch changes their values so that, e.g.,
QEMU_PCI_ADDRESS_SLOT_LAST really is the slot number of the last slot
on a PCI bus.
src/qemu/qemu_command.c