]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Re-factor pci_add reply parsing and parse domain/bus numbers
authorMark McLoughlin <markmc@redhat.com>
Fri, 17 Jul 2009 21:08:34 +0000 (22:08 +0100)
committerMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 10:34:07 +0000 (11:34 +0100)
commitffec099e75bca01b624856d49a018db45679cee1
tree2d60bb4a4410a48237213cd2c4774d30190c340a
parentd06f261cb1f88862e6de63f4c33e775c2f52ab97
Re-factor pci_add reply parsing and parse domain/bus numbers

The current code for parsing pci_add replies ignores the the domain and
bus numbers. Re-write the code to rectify that.

Also, since pci_add is used for NIC hotplug as well ask disk hotplug,
re-factor the code into a separate function.

* src/qemu_driver.c: add qemudParsePciAddReply() function which can
  handle parsing domain and bus numbers
src/qemu_driver.c