mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
video: RISC-V virt guests support virtio-gpu
QXL, on the other hand, is still x86-only for some reason. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
1c907488f3
commit
1e3de807a6
@ -33,7 +33,7 @@
|
||||
</channel>
|
||||
<graphics type="vnc" port="-1"/>
|
||||
<video>
|
||||
<model type="qxl"/>
|
||||
<model type="virtio"/>
|
||||
</video>
|
||||
<rng model="virtio">
|
||||
<backend model="random">/dev/urandom</backend>
|
||||
|
@ -43,7 +43,7 @@ class DeviceVideo(Device):
|
||||
def default_model(guest):
|
||||
if guest.os.is_pseries():
|
||||
return "vga"
|
||||
if guest.os.is_arm_machvirt():
|
||||
if guest.os.is_arm_machvirt() or guest.os.is_riscv_virt():
|
||||
return "virtio"
|
||||
if guest.conn.is_qemu() and guest.os.is_s390x():
|
||||
return "virtio"
|
||||
|
Loading…
x
Reference in New Issue
Block a user