]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemudDomainAttachHostPciDevice refactor to use new helpers
authorChris Wright <chrisw@redhat.com>
Mon, 26 Jul 2010 16:34:24 +0000 (18:34 +0200)
committerDaniel Veillard <veillard@redhat.com>
Mon, 26 Jul 2010 16:34:24 +0000 (18:34 +0200)
commit042b208370e70615a6b5e4046384dab3b9e50d53
tree21c3c8226146949ae631b48d74f9601a849c7511
parentf1365b558d0788512e14ce8a9b65b6fb247dc6fd
qemudDomainAttachHostPciDevice refactor to use new helpers

- src/qemu/qemu_driver.c: Eliminate code duplication by using the new
  helpers qemuPrepareHostdevPCIDevices and qemuDomainReAttachHostdevDevices.
  This reduces the number of open coded calls to pciResetDevice.
src/qemu/qemu_driver.c