mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-08 04:58:29 +03:00
tests: Repurpose spice-gl test as a generic singleton test
We need another entrypoint for singleton testing
This commit is contained in:
parent
1403815a3f
commit
dc0f9632ee
@ -481,7 +481,17 @@ cache.mode=emulate,cache.level=3
|
|||||||
""", "singleton-config-2")
|
""", "singleton-config-2")
|
||||||
|
|
||||||
|
|
||||||
# Device testing #1
|
# Test the implied defaults for gl=yes setting virgl=on
|
||||||
|
c.add_compare("""
|
||||||
|
--memory 1024
|
||||||
|
--disk none
|
||||||
|
--graphics spice,gl=yes
|
||||||
|
--rng egd,backend.type=nmdm,backend.source.master=/dev/foo1,backend.source.slave=/dev/foo2
|
||||||
|
--panic default,,address.type=isa,address.iobase=0x500,address.irq=5
|
||||||
|
--cpu topology.sockets=1,topology.cores=3,topology.threads=2
|
||||||
|
""", "singleton-config-3")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
c.add_compare("""
|
c.add_compare("""
|
||||||
--vcpus 4,cores=1,placement=static,\
|
--vcpus 4,cores=1,placement=static,\
|
||||||
@ -600,15 +610,6 @@ vcpus.vcpu1.id=2,vcpus.vcpu1.enabled=yes
|
|||||||
--qemu-commandline="-set device.video0.driver=virtio-vga"
|
--qemu-commandline="-set device.video0.driver=virtio-vga"
|
||||||
""", "many-devices", check_version="2.0.0") # check_version=graphics listen=socket support
|
""", "many-devices", check_version="2.0.0") # check_version=graphics listen=socket support
|
||||||
|
|
||||||
# Test the implied defaults for gl=yes setting virgl=on
|
|
||||||
c.add_compare("""
|
|
||||||
--memory 1024
|
|
||||||
--disk none
|
|
||||||
--graphics spice,gl=yes
|
|
||||||
--rng egd,backend.type=nmdm,backend.source.master=/dev/foo1,backend.source.slave=/dev/foo2
|
|
||||||
--panic default,,address.type=isa,address.iobase=0x500,address.irq=5
|
|
||||||
--cpu topology.sockets=1,topology.cores=3,topology.threads=2
|
|
||||||
""", "spice-gl")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user