mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-19 10:01:28 +00:00
More regression tests for sound support
* tests/qemuxml2argvdata/qemuxml2argv-sound.args tests/qemuxml2argvdata/qemuxml2argv-sound.xml tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr tests/sexpr2xmldata/sexpr2xml-fv-sound.xml tests/xmconfigdata/test-fullvirt-sound.cfg tests/xmconfigdata/test-fullvirt-sound.xml tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression tests from previous commit Daniel
This commit is contained in:
parent
70f446631f
commit
0feb4c9552
14
ChangeLog
14
ChangeLog
@ -1,3 +1,17 @@
|
||||
Wed May 7 16:42:59 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* tests/qemuxml2argvdata/qemuxml2argv-sound.args
|
||||
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
|
||||
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
|
||||
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
|
||||
tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
|
||||
tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
|
||||
tests/xmconfigdata/test-fullvirt-sound.cfg
|
||||
tests/xmconfigdata/test-fullvirt-sound.xml
|
||||
tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
|
||||
tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression
|
||||
tests from previous commit
|
||||
|
||||
Wed May 7 16:02:07 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/qemu_conf.c src/qemu_conf.h src/xend_internal.c
|
||||
|
1
tests/qemuxml2argvdata/qemuxml2argv-sound.args
Normal file
1
tests/qemuxml2argvdata/qemuxml2argv-sound.args
Normal file
@ -0,0 +1 @@
|
||||
/usr/bin/qemu -M pc -m 214 -smp 1 -nographic -monitor pty -no-acpi -boot c -hda /dev/HostVG/QEMUGuest1 -net none -serial none -parallel none -usb -soundhw pcspk,es1370,sb16
|
30
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
Normal file
30
tests/qemuxml2argvdata/qemuxml2argv-sound.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<domain type='qemu'>
|
||||
<name>QEMUGuest1</name>
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory>219200</memory>
|
||||
<currentMemory>219200</currentMemory>
|
||||
<vcpu>1</vcpu>
|
||||
<os>
|
||||
<type arch='i686' machine='pc'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu</emulator>
|
||||
<disk type='block' device='disk'>
|
||||
<source dev='/dev/HostVG/QEMUGuest1'/>
|
||||
<target dev='hda'/>
|
||||
</disk>
|
||||
<sound model='pcspk'/>
|
||||
<sound model='pcspk'/>
|
||||
<sound model='es1370'/>
|
||||
<sound model='pcspk'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='es1370'/>
|
||||
<sound model='pcspk'/>
|
||||
<sound model='sb16'/>
|
||||
</devices>
|
||||
</domain>
|
1
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
Normal file
1
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
Normal file
@ -0,0 +1 @@
|
||||
(domain (domid 3)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(device_model '/usr/lib64/xen/bin/qemu-dm')(boot c)(cdrom '/root/boot.iso')(acpi 1)(vnc 1)(keymap ja)(soundhw 'idontexit,es1370,all')))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
42
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
Normal file
42
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
Normal file
@ -0,0 +1,42 @@
|
||||
<domain type='xen' id='3'>
|
||||
<name>fvtest</name>
|
||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<memory>409600</memory>
|
||||
<vcpu>1</vcpu>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<features>
|
||||
<acpi/>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
<devices>
|
||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='file'/>
|
||||
<source file='/root/foo.img'/>
|
||||
<target dev='hda'/>
|
||||
</disk>
|
||||
<interface type='bridge'>
|
||||
<source bridge='xenbr0'/>
|
||||
<target dev='vif3.0'/>
|
||||
<mac address='00:16:3e:1b:b1:47'/>
|
||||
<script path='vif-bridge'/>
|
||||
</interface>
|
||||
<disk type='file' device='cdrom'>
|
||||
<driver name='file'/>
|
||||
<source file='/root/boot.iso'/>
|
||||
<target dev='hdc'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='es1370'/>
|
||||
</devices>
|
||||
</domain>
|
1
tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
Normal file
1
tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
Normal file
@ -0,0 +1 @@
|
||||
(domain (domid 3)(name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(device_model '/usr/lib64/xen/bin/qemu-dm')(boot c)(cdrom '/root/boot.iso')(acpi 1)(vnc 1)(keymap ja)(soundhw 'sb16,es1370,idontexist,es1370more')))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
42
tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
Normal file
42
tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
Normal file
@ -0,0 +1,42 @@
|
||||
<domain type='xen' id='3'>
|
||||
<name>fvtest</name>
|
||||
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<memory>409600</memory>
|
||||
<vcpu>1</vcpu>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<features>
|
||||
<acpi/>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
<devices>
|
||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||
<disk type='file' device='disk'>
|
||||
<driver name='file'/>
|
||||
<source file='/root/foo.img'/>
|
||||
<target dev='hda'/>
|
||||
</disk>
|
||||
<interface type='bridge'>
|
||||
<source bridge='xenbr0'/>
|
||||
<target dev='vif3.0'/>
|
||||
<mac address='00:16:3e:1b:b1:47'/>
|
||||
<script path='vif-bridge'/>
|
||||
</interface>
|
||||
<disk type='file' device='cdrom'>
|
||||
<driver name='file'/>
|
||||
<source file='/root/boot.iso'/>
|
||||
<target dev='hdc'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<graphics type='vnc' port='5903' keymap='ja'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='es1370'/>
|
||||
</devices>
|
||||
</domain>
|
26
tests/xmconfigdata/test-fullvirt-sound.cfg
Normal file
26
tests/xmconfigdata/test-fullvirt-sound.cfg
Normal file
@ -0,0 +1,26 @@
|
||||
name = "XenGuest2"
|
||||
uuid = "c7a5fdb2-cdaf-9455-926a-d65c16db1809"
|
||||
maxmem = 579
|
||||
memory = 394
|
||||
vcpus = 1
|
||||
builder = "hvm"
|
||||
kernel = "/usr/lib/xen/boot/hvmloader"
|
||||
boot = "d"
|
||||
pae = 1
|
||||
acpi = 1
|
||||
apic = 1
|
||||
localtime = 0
|
||||
on_poweroff = "destroy"
|
||||
on_reboot = "restart"
|
||||
on_crash = "restart"
|
||||
device_model = "/usr/lib/xen/bin/qemu-dm"
|
||||
sdl = 0
|
||||
vnc = 1
|
||||
vncunused = 1
|
||||
vnclisten = "127.0.0.1"
|
||||
vncpasswd = "123poi"
|
||||
disk = [ "phy:/dev/HostVG/XenGuest2,hda,w", "file:/root/boot.iso,hdc:cdrom,r" ]
|
||||
vif = [ "mac=00:16:3E:66:92:9C,bridge=xenbr1,type=ioemu" ]
|
||||
parallel = "none"
|
||||
serial = "none"
|
||||
soundhw = "sb16,es1370"
|
43
tests/xmconfigdata/test-fullvirt-sound.xml
Normal file
43
tests/xmconfigdata/test-fullvirt-sound.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<domain type='xen'>
|
||||
<name>XenGuest2</name>
|
||||
<uuid>c7a5fdb2-cdaf-9455-926a-d65c16db1809</uuid>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||
<boot dev='cdrom'/>
|
||||
</os>
|
||||
<currentMemory>403456</currentMemory>
|
||||
<memory>592896</memory>
|
||||
<vcpu>1</vcpu>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<features>
|
||||
<pae/>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
<devices>
|
||||
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
||||
<disk type='block' device='disk'>
|
||||
<driver name='phy'/>
|
||||
<source dev='/dev/HostVG/XenGuest2'/>
|
||||
<target dev='hda'/>
|
||||
</disk>
|
||||
<disk type='file' device='cdrom'>
|
||||
<driver name='file'/>
|
||||
<source file='/root/boot.iso'/>
|
||||
<target dev='hdc'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<interface type='bridge'>
|
||||
<mac address='00:16:3E:66:92:9C'/>
|
||||
<source bridge='xenbr1'/>
|
||||
</interface>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<graphics type='vnc' port='-1' listen='127.0.0.1' passwd='123poi'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='es1370'/>
|
||||
</devices>
|
||||
</domain>
|
1
tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
Normal file
1
tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
Normal file
@ -0,0 +1 @@
|
||||
(vm (name 'fvtest')(memory 400)(maxmem 400)(vcpus 1)(uuid 'b5d70dd275cdaca517769660b059d8bc')(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')(image (hvm (kernel '/usr/lib/xen/boot/hvmloader')(vcpus 1)(boot c)(cdrom '/root/boot.iso')(acpi 1)(usb 1)(parallel none)(serial none)(soundhw 'sb16,es1370')(device_model '/usr/lib64/xen/bin/qemu-dm')(vnc 1)))(device (vbd (dev 'ioemu:hda')(uname 'file:/root/foo.img')(mode 'w')))(device (vif (mac '00:16:3e:1b:b1:47')(bridge 'xenbr0')(script 'vif-bridge')(type ioemu))))
|
41
tests/xml2sexprdata/xml2sexpr-fv-sound.xml
Normal file
41
tests/xml2sexprdata/xml2sexpr-fv-sound.xml
Normal file
@ -0,0 +1,41 @@
|
||||
<domain type='xen'>
|
||||
<name>fvtest</name>
|
||||
<uuid>b5d70dd275cdaca517769660b059d8bc</uuid>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<memory>409600</memory>
|
||||
<vcpu>1</vcpu>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<features>
|
||||
<acpi/>
|
||||
</features>
|
||||
<devices>
|
||||
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
||||
<interface type='bridge'>
|
||||
<source bridge='xenbr0'/>
|
||||
<mac address='00:16:3e:1b:b1:47'/>
|
||||
<script path='vif-bridge'/>
|
||||
</interface>
|
||||
<disk type='file' device='cdrom'>
|
||||
<source file='/root/boot.iso'/>
|
||||
<target dev='hdc'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<disk type='file'>
|
||||
<source file='/root/foo.img'/>
|
||||
<target dev='ioemu:hda'/>
|
||||
</disk>
|
||||
<graphics type='vnc' port='5917' keymap='ja'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='es1370'/>
|
||||
<sound model='sb16'/>
|
||||
<sound model='es1370'/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
Loading…
x
Reference in New Issue
Block a user