[PATCH 0/4] Fix hotplug after daemon restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The logic in virQEMUCapsHasPCIMultiBus cannot be reasonably fixed
for already running domains, since we dropped the MULTIBUS capability,
so only resort to calling it if the domain is using user aliases.

That way only hotplug on PPC machines other than pseries with QEMU < 2.0
(possibly older) that have a user alias on pci-root controller stays broken.

Ján Tomko (4):
  Move USER_ALIAS_PREFIX to the header file
  qemu: prefer the PCI bus alias from status XML
  virQEMUCapsHasPCIMultiBus: use def->os.arch
  virQEMUCapsHasPCIMultiBus: assume true if we have no version
    information

 src/conf/domain_conf.c                             |  3 +-
 src/conf/domain_conf.h                             |  2 ++
 src/qemu/qemu_capabilities.c                       | 18 +++++-----
 src/qemu/qemu_capspriv.h                           |  4 ---
 src/qemu/qemu_command.c                            | 42 +++++++++++-----------
 .../ppc64-modern-bulk-result-live.xml              |  2 +-
 .../ppc64-modern-individual-result-live.xml        |  2 +-
 .../x86-modern-bulk-result-live.xml                |  2 +-
 .../x86-modern-individual-add-result-live.xml      |  2 +-
 .../x86-old-bulk-result-live.xml                   |  2 +-
 tests/qemuxml2argvtest.c                           |  5 ---
 11 files changed, 39 insertions(+), 45 deletions(-)

-- 
2.13.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux