mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: command: Don't downgrade to '-usb' for arm based machines
- 'virt*' machines already don't allow downgrade - 'versatilepb' and 'realview' machines use 'pci-ohci' controller with '-usb' - all other machines ignore '-usb' (some have sysbus-based USB controller which we don't even consider) For the 'versatilepb' and 'realview' machines libvirt would already resort to picking either an existing controller model or trying to pick the one which '-usb' would select and thus fail either way. All other machine types ignore it. We can thus remove the fallback for all arm-based machines. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
@@ -30,7 +30,6 @@ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-armtest/.config \
|
||||
-initrd /arm.initrd \
|
||||
-append 'console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0' \
|
||||
-dtb /arm.dtb \
|
||||
-usb \
|
||||
-drive file=/arm.raw,format=raw,if=sd,index=0 \
|
||||
-netdev '{"type":"user","id":"hostnet0"}' \
|
||||
-net nic,macaddr=52:54:00:09:a4:37,netdev=hostnet0,model=lan9118,id=net0 \
|
||||
|
||||
Reference in New Issue
Block a user