]> xenbits.xensource.com Git - libvirt.git/commit
Retain PCI address from NIC attach
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)
commit4e21a95afe34b8c7c40c1cb6cfc5cb000592e185
tree370cb78dae385496e771ee87a91a4f3c564f6948
parentffec099e75bca01b624856d49a018db45679cee1
Retain PCI address from NIC attach

When we pci_add a NIC, we need to retain the PCI address assigned by
qemu for using during detach.

* src/qemu_driver.c: use qemudParsePciAddReply() to pull the PCI
  address from the pci_add reply

* src/domain_conf.c: handle storing and parsing the PCI address in the
  domain state XML file
src/domain_conf.c
src/domain_conf.h
src/qemu_driver.c