[virt-manager PATCH 7/9] video: RISC-V virt guests support virtio-gpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



QXL, on the other hand, is still x86-only for some reason.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 tests/cli-test-xml/compare/virt-install-riscv64-graphics.xml | 2 +-
 virtinst/devices/video.py                                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/cli-test-xml/compare/virt-install-riscv64-graphics.xml b/tests/cli-test-xml/compare/virt-install-riscv64-graphics.xml
index 5186cc82..211c062e 100644
--- a/tests/cli-test-xml/compare/virt-install-riscv64-graphics.xml
+++ b/tests/cli-test-xml/compare/virt-install-riscv64-graphics.xml
@@ -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>
diff --git a/virtinst/devices/video.py b/virtinst/devices/video.py
index 785d4127..91708935 100644
--- a/virtinst/devices/video.py
+++ b/virtinst/devices/video.py
@@ -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"
-- 
2.20.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux