[libvirt] [PATCH] S390: Add fake PCI root

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Fri Apr 26 14:52:36 UTC 2013


For the time being add a PCI root for s390 to avoid getting issues
later on with PCI address checking. I don't want to unconditionally
switch off PCI for s390.

Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
---
 src/qemu/qemu_domain.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index d927716..a00536f 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -700,6 +700,8 @@ qemuDomainDefPostParse(virDomainDefPtr def,
     case VIR_ARCH_PPCEMB:
     case VIR_ARCH_SH4:
     case VIR_ARCH_SH4EB:
+    case VIR_ARCH_S390:
+    case VIR_ARCH_S390X:
         addPCIRoot = true;
         break;
     default:
-- 
1.7.9.5




More information about the libvir-list mailing list