mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
qemu: no USB by default on RISC-V machines
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
eb3f00a699
commit
981545f26b
@ -3280,6 +3280,11 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def,
|
||||
addPCIRoot = true;
|
||||
break;
|
||||
|
||||
case VIR_ARCH_RISCV32:
|
||||
case VIR_ARCH_RISCV64:
|
||||
addDefaultUSB = false;
|
||||
break;
|
||||
|
||||
case VIR_ARCH_S390:
|
||||
case VIR_ARCH_S390X:
|
||||
addDefaultUSB = false;
|
||||
@ -3306,8 +3311,6 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def,
|
||||
case VIR_ARCH_OR32:
|
||||
case VIR_ARCH_PARISC:
|
||||
case VIR_ARCH_PARISC64:
|
||||
case VIR_ARCH_RISCV32:
|
||||
case VIR_ARCH_RISCV64:
|
||||
case VIR_ARCH_PPCLE:
|
||||
case VIR_ARCH_UNICORE32:
|
||||
case VIR_ARCH_XTENSA:
|
||||
|
@ -22,7 +22,6 @@
|
||||
<target dev='vda' bus='virtio'/>
|
||||
<address type='virtio-mmio'/>
|
||||
</disk>
|
||||
<controller type='usb' index='0'/>
|
||||
<serial type='pty'>
|
||||
<target port='0'/>
|
||||
</serial>
|
||||
|
Loading…
x
Reference in New Issue
Block a user