Symlinks are hard to maintain and especially un-cool when attempting to
test against real capapbilities.
Replace symlinks by real files first so that we can switch to real caps
and see the difference.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/qemuxml2xmloutdata/audio-alsa-best.xml | 44 ++++++++++++-
tests/qemuxml2xmloutdata/audio-alsa-full.xml | 44 ++++++++++++-
.../qemuxml2xmloutdata/audio-alsa-minimal.xml | 37 ++++++++++-
.../audio-coreaudio-best.xml | 44 ++++++++++++-
.../audio-coreaudio-full.xml | 44 ++++++++++++-
.../audio-coreaudio-minimal.xml | 37 ++++++++++-
tests/qemuxml2xmloutdata/audio-file-best.xml | 44 ++++++++++++-
tests/qemuxml2xmloutdata/audio-file-full.xml | 44 ++++++++++++-
.../qemuxml2xmloutdata/audio-file-minimal.xml | 37 ++++++++++-
tests/qemuxml2xmloutdata/audio-jack-full.xml | 44 ++++++++++++-
.../audio-many-backends.x86_64-latest.xml | 61 ++++++++++++++++++-
tests/qemuxml2xmloutdata/audio-none-best.xml | 44 ++++++++++++-
tests/qemuxml2xmloutdata/audio-none-full.xml | 44 ++++++++++++-
.../qemuxml2xmloutdata/audio-none-minimal.xml | 37 ++++++++++-
tests/qemuxml2xmloutdata/audio-oss-best.xml | 44 ++++++++++++-
tests/qemuxml2xmloutdata/audio-oss-full.xml | 44 ++++++++++++-
.../qemuxml2xmloutdata/audio-oss-minimal.xml | 37 ++++++++++-
.../audio-pulseaudio-best.xml | 44 ++++++++++++-
.../audio-pulseaudio-full.xml | 44 ++++++++++++-
.../audio-pulseaudio-minimal.xml | 37 ++++++++++-
tests/qemuxml2xmloutdata/audio-sdl-best.xml | 44 ++++++++++++-
tests/qemuxml2xmloutdata/audio-sdl-full.xml | 44 ++++++++++++-
.../qemuxml2xmloutdata/audio-sdl-minimal.xml | 37 ++++++++++-
tests/qemuxml2xmloutdata/audio-spice-best.xml | 51 +++++++++++++++-
tests/qemuxml2xmloutdata/audio-spice-full.xml | 51 +++++++++++++++-
.../audio-spice-minimal.xml | 44 ++++++++++++-
26 files changed, 1100 insertions(+), 26 deletions(-)
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-alsa-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-alsa-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-file-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-file-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-file-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-jack-full.xml
mode change 120000 => 100644
tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-none-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-none-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-none-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-oss-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-oss-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-oss-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-sdl-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-sdl-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-spice-best.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-spice-full.xml
mode change 120000 => 100644 tests/qemuxml2xmloutdata/audio-spice-minimal.xml
diff --git a/tests/qemuxml2xmloutdata/audio-alsa-best.xml
b/tests/qemuxml2xmloutdata/audio-alsa-best.xml
deleted file mode 120000
index 2d0865c8ee..0000000000
--- a/tests/qemuxml2xmloutdata/audio-alsa-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-alsa-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-alsa-best.xml
b/tests/qemuxml2xmloutdata/audio-alsa-best.xml
new file mode 100644
index 0000000000..29283ab7d2
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-alsa-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='alsa' timerPeriod='50'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
dev='/dev/dsp0'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' dev='/dev/dsp1'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-alsa-full.xml
b/tests/qemuxml2xmloutdata/audio-alsa-full.xml
deleted file mode 120000
index 61de7e7b33..0000000000
--- a/tests/qemuxml2xmloutdata/audio-alsa-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-alsa-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-alsa-full.xml
b/tests/qemuxml2xmloutdata/audio-alsa-full.xml
new file mode 100644
index 0000000000..4205ecde89
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-alsa-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='alsa'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100' dev='/dev/dsp0'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' dev='/dev/dsp1'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
b/tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
deleted file mode 120000
index c4f64da11f..0000000000
--- a/tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-alsa-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
b/tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
new file mode 100644
index 0000000000..57ff9d2bf0
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-alsa-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='alsa'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
b/tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
deleted file mode 120000
index 13e96938d9..0000000000
--- a/tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-coreaudio-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
b/tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
new file mode 100644
index 0000000000..d171cc752f
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-coreaudio-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='coreaudio' timerPeriod='50'>
+ <input mixingEngine='yes' fixedSettings='yes'
voices='1'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' bufferCount='42'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
b/tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
deleted file mode 120000
index b00cc14e29..0000000000
--- a/tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-coreaudio-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
b/tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
new file mode 100644
index 0000000000..b6427a6e9f
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-coreaudio-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='coreaudio'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100' bufferCount='50'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' bufferCount='42'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
b/tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
deleted file mode 120000
index 3d3078850f..0000000000
--- a/tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-coreaudio-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
b/tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
new file mode 100644
index 0000000000..dac55ecbce
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-coreaudio-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='coreaudio'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-file-best.xml
b/tests/qemuxml2xmloutdata/audio-file-best.xml
deleted file mode 120000
index bb836545a0..0000000000
--- a/tests/qemuxml2xmloutdata/audio-file-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-file-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-file-best.xml
b/tests/qemuxml2xmloutdata/audio-file-best.xml
new file mode 100644
index 0000000000..9946ad9e3d
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-file-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='file' timerPeriod='50'
path='audio.wav'>
+ <input mixingEngine='yes' fixedSettings='yes'
voices='1'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-file-full.xml
b/tests/qemuxml2xmloutdata/audio-file-full.xml
deleted file mode 120000
index 6e4b032b40..0000000000
--- a/tests/qemuxml2xmloutdata/audio-file-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-file-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-file-full.xml
b/tests/qemuxml2xmloutdata/audio-file-full.xml
new file mode 100644
index 0000000000..1e4c50f44a
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-file-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='file' path='audio.wav'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-file-minimal.xml
b/tests/qemuxml2xmloutdata/audio-file-minimal.xml
deleted file mode 120000
index 0b187008a6..0000000000
--- a/tests/qemuxml2xmloutdata/audio-file-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-file-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-file-minimal.xml
b/tests/qemuxml2xmloutdata/audio-file-minimal.xml
new file mode 100644
index 0000000000..65f2c56a90
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-file-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='file'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-jack-full.xml
b/tests/qemuxml2xmloutdata/audio-jack-full.xml
deleted file mode 120000
index 813ccded71..0000000000
--- a/tests/qemuxml2xmloutdata/audio-jack-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-jack-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-jack-full.xml
b/tests/qemuxml2xmloutdata/audio-jack-full.xml
new file mode 100644
index 0000000000..0583a305b1
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-jack-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='jack'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100' serverName='fish' clientName='food'
connectPorts='yum'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' serverName='fish'
clientName='food' connectPorts='yum'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
b/tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
deleted file mode 120000
index 5f949f13e3..0000000000
--- a/tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-many-backends.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
b/tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
new file mode 100644
index 0000000000..c681784526
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-many-backends.x86_64-latest.xml
@@ -0,0 +1,60 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <cpu mode='custom' match='exact' check='none'>
+ <model fallback='forbid'>qemu64</model>
+ </cpu>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0' model='piix3-uhci'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <graphics type='vnc' port='-1' autoport='yes'>
+ <listen type='address'/>
+ <audio id='2'/>
+ </graphics>
+ <sound model='ac97'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x03' function='0x0'/>
+ </sound>
+ <sound model='ich6'>
+ <audio id='2'/>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x04' function='0x0'/>
+ </sound>
+ <sound model='es1370'>
+ <audio id='3'/>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x05' function='0x0'/>
+ </sound>
+ <audio id='1' type='none'/>
+ <audio id='2' type='alsa'/>
+ <audio id='3' type='pulseaudio'/>
+ <video>
+ <model type='cirrus' vram='16384' heads='1'
primary='yes'/>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/>
+ </video>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-none-best.xml
b/tests/qemuxml2xmloutdata/audio-none-best.xml
deleted file mode 120000
index 7606228da6..0000000000
--- a/tests/qemuxml2xmloutdata/audio-none-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-none-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-none-best.xml
b/tests/qemuxml2xmloutdata/audio-none-best.xml
new file mode 100644
index 0000000000..98c3b17a84
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-none-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='none' timerPeriod='50'>
+ <input mixingEngine='yes' fixedSettings='yes'
voices='1'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-none-full.xml
b/tests/qemuxml2xmloutdata/audio-none-full.xml
deleted file mode 120000
index a5a7ec6932..0000000000
--- a/tests/qemuxml2xmloutdata/audio-none-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-none-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-none-full.xml
b/tests/qemuxml2xmloutdata/audio-none-full.xml
new file mode 100644
index 0000000000..85437c67f2
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-none-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='none'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-none-minimal.xml
b/tests/qemuxml2xmloutdata/audio-none-minimal.xml
deleted file mode 120000
index ce0a93c3e4..0000000000
--- a/tests/qemuxml2xmloutdata/audio-none-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-none-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-none-minimal.xml
b/tests/qemuxml2xmloutdata/audio-none-minimal.xml
new file mode 100644
index 0000000000..4666777e56
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-none-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='none'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-oss-best.xml
b/tests/qemuxml2xmloutdata/audio-oss-best.xml
deleted file mode 120000
index e716f61f72..0000000000
--- a/tests/qemuxml2xmloutdata/audio-oss-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-oss-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-oss-best.xml
b/tests/qemuxml2xmloutdata/audio-oss-best.xml
new file mode 100644
index 0000000000..cf0eac2fdf
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-oss-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='oss' timerPeriod='50'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
dev='/dev/dsp0' bufferCount='30' tryPoll='yes'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' dev='/dev/dsp1' bufferCount='30'
tryPoll='no'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-oss-full.xml
b/tests/qemuxml2xmloutdata/audio-oss-full.xml
deleted file mode 120000
index 6073f438a0..0000000000
--- a/tests/qemuxml2xmloutdata/audio-oss-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-oss-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-oss-full.xml
b/tests/qemuxml2xmloutdata/audio-oss-full.xml
new file mode 100644
index 0000000000..b9acccff36
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-oss-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='oss' tryMMap='yes'
exclusive='yes' dspPolicy='3'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100' dev='/dev/dsp0' bufferCount='50'
tryPoll='yes'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' dev='/dev/dsp1'
bufferCount='30' tryPoll='no'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-oss-minimal.xml
b/tests/qemuxml2xmloutdata/audio-oss-minimal.xml
deleted file mode 120000
index d30a208e69..0000000000
--- a/tests/qemuxml2xmloutdata/audio-oss-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-oss-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-oss-minimal.xml
b/tests/qemuxml2xmloutdata/audio-oss-minimal.xml
new file mode 100644
index 0000000000..47da331bab
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-oss-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='oss'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
b/tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
deleted file mode 120000
index d77efcd7bf..0000000000
--- a/tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-pulseaudio-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
b/tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
new file mode 100644
index 0000000000..1a4609e9ed
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-pulseaudio-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='pulseaudio' timerPeriod='50'
serverName='acme.example.org'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='200' name='fish'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' name='fish'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
b/tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
deleted file mode 120000
index c12f36702d..0000000000
--- a/tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-pulseaudio-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
b/tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
new file mode 100644
index 0000000000..e15098e1e8
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-pulseaudio-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='pulseaudio'
serverName='acme.example.org'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100' name='fish' streamName='food'
latency='100'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' name='fish'
streamName='food' latency='200'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
b/tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
deleted file mode 120000
index 9cba6b5f00..0000000000
--- a/tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-pulseaudio-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
b/tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
new file mode 100644
index 0000000000..6a947c0239
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-pulseaudio-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='pulseaudio'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-sdl-best.xml
b/tests/qemuxml2xmloutdata/audio-sdl-best.xml
deleted file mode 120000
index 0c90810974..0000000000
--- a/tests/qemuxml2xmloutdata/audio-sdl-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-sdl-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-sdl-best.xml
b/tests/qemuxml2xmloutdata/audio-sdl-best.xml
new file mode 100644
index 0000000000..84f810c61a
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-sdl-best.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='sdl' timerPeriod='50'
driver='pulseaudio'>
+ <input mixingEngine='yes' fixedSettings='yes'
voices='1'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-sdl-full.xml
b/tests/qemuxml2xmloutdata/audio-sdl-full.xml
deleted file mode 120000
index faeeb0ef35..0000000000
--- a/tests/qemuxml2xmloutdata/audio-sdl-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-sdl-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-sdl-full.xml
b/tests/qemuxml2xmloutdata/audio-sdl-full.xml
new file mode 100644
index 0000000000..c96182e9fb
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-sdl-full.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='sdl' driver='pulseaudio'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100' bufferCount='40'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200' bufferCount='50'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
b/tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
deleted file mode 120000
index 787b220f0a..0000000000
--- a/tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-sdl-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
b/tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
new file mode 100644
index 0000000000..23793b6155
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-sdl-minimal.xml
@@ -0,0 +1,36 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <audio id='1' type='sdl'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-spice-best.xml
b/tests/qemuxml2xmloutdata/audio-spice-best.xml
deleted file mode 120000
index 0e52fb5460..0000000000
--- a/tests/qemuxml2xmloutdata/audio-spice-best.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-spice-best.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-spice-best.xml
b/tests/qemuxml2xmloutdata/audio-spice-best.xml
new file mode 100644
index 0000000000..80594ebca6
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-spice-best.xml
@@ -0,0 +1,50 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <graphics type='spice'>
+ <listen type='none'/>
+ </graphics>
+ <audio id='1' type='spice' timerPeriod='50'>
+ <input mixingEngine='yes' fixedSettings='yes'
voices='1'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <video>
+ <model type='cirrus' vram='16384' heads='1'
primary='yes'/>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/>
+ </video>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-spice-full.xml
b/tests/qemuxml2xmloutdata/audio-spice-full.xml
deleted file mode 120000
index 088605f0bc..0000000000
--- a/tests/qemuxml2xmloutdata/audio-spice-full.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-spice-full.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-spice-full.xml
b/tests/qemuxml2xmloutdata/audio-spice-full.xml
new file mode 100644
index 0000000000..c9f00f8c8c
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-spice-full.xml
@@ -0,0 +1,50 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <graphics type='spice'>
+ <listen type='none'/>
+ </graphics>
+ <audio id='1' type='spice'>
+ <input mixingEngine='yes' fixedSettings='yes' voices='1'
bufferLength='100'>
+ <settings frequency='44100' channels='2'
format='s16'/>
+ </input>
+ <output mixingEngine='yes' fixedSettings='yes'
voices='2' bufferLength='200'>
+ <settings frequency='22050' channels='4'
format='f32'/>
+ </output>
+ </audio>
+ <video>
+ <model type='cirrus' vram='16384' heads='1'
primary='yes'/>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/>
+ </video>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/audio-spice-minimal.xml
b/tests/qemuxml2xmloutdata/audio-spice-minimal.xml
deleted file mode 120000
index 5f07fd844a..0000000000
--- a/tests/qemuxml2xmloutdata/audio-spice-minimal.xml
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/audio-spice-minimal.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/audio-spice-minimal.xml
b/tests/qemuxml2xmloutdata/audio-spice-minimal.xml
new file mode 100644
index 0000000000..d5fd97b9ac
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/audio-spice-minimal.xml
@@ -0,0 +1,43 @@
+<domain type='qemu'>
+ <name>QEMUGuest1</name>
+ <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
+ <memory unit='KiB'>219100</memory>
+ <currentMemory unit='KiB'>219100</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='x86_64' machine='pc'>hvm</type>
+ <boot dev='cdrom'/>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-x86_64</emulator>
+ <disk type='block' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source dev='/dev/cdrom'/>
+ <target dev='hdc' bus='ide'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='1'
target='0' unit='0'/>
+ </disk>
+ <controller type='usb' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x2'/>
+ </controller>
+ <controller type='ide' index='0'>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/>
+ </controller>
+ <controller type='pci' index='0' model='pci-root'/>
+ <input type='mouse' bus='ps2'/>
+ <input type='keyboard' bus='ps2'/>
+ <graphics type='spice'>
+ <listen type='none'/>
+ </graphics>
+ <audio id='1' type='spice'/>
+ <video>
+ <model type='cirrus' vram='16384' heads='1'
primary='yes'/>
+ <address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/>
+ </video>
+ <memballoon model='none'/>
+ </devices>
+</domain>
--
2.40.1