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

[libvirt] [PATCH 0/4] Fix hotplug after daemon restart



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


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