Add tests for graphics on ARM to this patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=597
This commit is contained in:
parent
c41e678706
commit
0e35c135d5
@ -2,6 +2,141 @@ References: bsc#1201748
|
|||||||
|
|
||||||
Enable video virtio on arm if domain caps reports it is supported.
|
Enable video virtio on arm if domain caps reports it is supported.
|
||||||
|
|
||||||
|
Index: virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-cdrom.xml
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-4.1.0.orig/tests/data/cli/compare/virt-install-aarch64-cdrom.xml
|
||||||
|
+++ virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-cdrom.xml
|
||||||
|
@@ -63,6 +63,18 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <channel type="spicevmc">
|
||||||
|
+ <target type="virtio" name="com.redhat.spice.0"/>
|
||||||
|
+ </channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
|
+ <image compression="off"/>
|
||||||
|
+ </graphics>
|
||||||
|
+ <sound model="ich6"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
|
@@ -131,6 +143,18 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <channel type="spicevmc">
|
||||||
|
+ <target type="virtio" name="com.redhat.spice.0"/>
|
||||||
|
+ </channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
|
+ <image compression="off"/>
|
||||||
|
+ </graphics>
|
||||||
|
+ <sound model="ich6"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
|
Index: virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-firmware-no-override.xml
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-4.1.0.orig/tests/data/cli/compare/virt-install-aarch64-firmware-no-override.xml
|
||||||
|
+++ virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-firmware-no-override.xml
|
||||||
|
@@ -43,6 +43,12 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="vnc" port="-1"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
|
@@ -95,6 +101,12 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="vnc" port="-1"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
|
Index: virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-kvm-gic.xml
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-4.1.0.orig/tests/data/cli/compare/virt-install-aarch64-kvm-gic.xml
|
||||||
|
+++ virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-kvm-gic.xml
|
||||||
|
@@ -56,6 +56,12 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="vnc" port="-1"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
|
Index: virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-machdefault.xml
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-4.1.0.orig/tests/data/cli/compare/virt-install-aarch64-machdefault.xml
|
||||||
|
+++ virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-machdefault.xml
|
||||||
|
@@ -55,6 +55,18 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <channel type="spicevmc">
|
||||||
|
+ <target type="virtio" name="com.redhat.spice.0"/>
|
||||||
|
+ </channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
|
+ <image compression="off"/>
|
||||||
|
+ </graphics>
|
||||||
|
+ <sound model="ich6"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
|
Index: virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-machvirt.xml
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-4.1.0.orig/tests/data/cli/compare/virt-install-aarch64-machvirt.xml
|
||||||
|
+++ virt-manager-4.1.0/tests/data/cli/compare/virt-install-aarch64-machvirt.xml
|
||||||
|
@@ -55,6 +55,18 @@
|
||||||
|
<source mode="bind"/>
|
||||||
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
||||||
|
</channel>
|
||||||
|
+ <channel type="spicevmc">
|
||||||
|
+ <target type="virtio" name="com.redhat.spice.0"/>
|
||||||
|
+ </channel>
|
||||||
|
+ <input type="tablet" bus="usb"/>
|
||||||
|
+ <input type="keyboard" bus="usb"/>
|
||||||
|
+ <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
||||||
|
+ <image compression="off"/>
|
||||||
|
+ </graphics>
|
||||||
|
+ <sound model="ich6"/>
|
||||||
|
+ <video>
|
||||||
|
+ <model type="virtio"/>
|
||||||
|
+ </video>
|
||||||
|
<memballoon model="virtio"/>
|
||||||
|
<rng model="virtio">
|
||||||
|
<backend model="random">/dev/urandom</backend>
|
||||||
Index: virt-manager-4.1.0/virtinst/guest.py
|
Index: virt-manager-4.1.0/virtinst/guest.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- virt-manager-4.1.0.orig/virtinst/guest.py
|
--- virt-manager-4.1.0.orig/virtinst/guest.py
|
||||||
|
Loading…
Reference in New Issue
Block a user