[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvir-list
Subject:    [libvirt] [PATCH 0/4] Fix hotplug after daemon restart
From:       Ján Tomko <jtomko () redhat ! com>
Date:       2017-11-29 14:58:53
Message-ID: cover.1511967132.git.jtomko () redhat ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic