mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Add USB cdrom and ramfb video
Both are needed to install Windows 10 Arm64 from ISO. Signed-off-by: Jan-Marek Glogowski <glogow@fbihome.de>
This commit is contained in:
parent
3e0155b055
commit
ce5aba6a36
@ -522,7 +522,7 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
bus_map = {
|
||||
"disk": ["ide", "sata", "scsi", "sd", "usb", "virtio", "xen"],
|
||||
"floppy": ["fdc"],
|
||||
"cdrom": ["ide", "sata", "scsi"],
|
||||
"cdrom": ["ide", "sata", "scsi", "usb"],
|
||||
"lun": ["scsi"],
|
||||
}
|
||||
return [bus for bus in buses if bus in bus_map.get(devtype, [])]
|
||||
@ -682,7 +682,7 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
if guest.conn.is_xen():
|
||||
return ["xen", "vga"]
|
||||
if guest.conn.is_qemu() or guest.conn.is_test():
|
||||
return ["vga", "bochs", "qxl", "virtio"]
|
||||
return ["vga", "bochs", "qxl", "virtio", "ramfb"]
|
||||
return []
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user