mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
sparc: Add default PCI root controller
It is there even with -nodefaults and -no-user-config, so count with that so we can start sparc domains. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
a959671da8
commit
f38bd06bff
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* qemu_domain.c: QEMU domain private state
|
||||
*
|
||||
* Copyright (C) 2006-2014 Red Hat, Inc.
|
||||
* Copyright (C) 2006-2015 Red Hat, Inc.
|
||||
* Copyright (C) 2006 Daniel P. Berrange
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@ -999,6 +999,12 @@ qemuDomainDefPostParse(virDomainDefPtr def,
|
||||
case VIR_ARCH_S390X:
|
||||
addDefaultUSB = false;
|
||||
break;
|
||||
|
||||
case VIR_ARCH_SPARC:
|
||||
case VIR_ARCH_SPARC64:
|
||||
addPCIRoot = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user