mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
qemu: fix default devices on sparc machines
The sparc machines have little in common with sparc64 machines. No sparc machine type includes a PCI bus, so we should not be adding one to the XML. This further means that we should not be adding a memory balloon device, nor USB controller as these are both PCI based. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
05734471bb
commit
51a391d879
@ -3561,6 +3561,10 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def,
|
||||
break;
|
||||
|
||||
case VIR_ARCH_SPARC:
|
||||
addDefaultUSB = false;
|
||||
addDefaultMemballoon = false;
|
||||
break;
|
||||
|
||||
case VIR_ARCH_SPARC64:
|
||||
addPCIRoot = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user