summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2023-03-28 15:52:46 +0200
committerPeter Krempa <pkrempa@redhat.com>2023-04-11 10:08:32 +0200
commit4d0d31a6fd5a951af117979405bcfc1349bce627 (patch)
tree62cf67b4028d7f1c053fcab2de6acf312c1e0b30 /tests
parent74d4876d203b8322658428f1c42c03f82a9106c6 (diff)
downloadlibvirt-4d0d31a6fd5a951af117979405bcfc1349bce627.tar.gz
qemuxml2xmloutdata: Don't symlink output data for 'mach-virt*' cases
Replace them with full files so that potential fallout from conversion to real capabilities is more obvious and the test is simpler to add. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--[l---------]tests/qemuxml2xmloutdata/mach-virt-console-native.xml33
-rw-r--r--[l---------]tests/qemuxml2xmloutdata/mach-virt-serial+console-native.xml33
-rw-r--r--[l---------]tests/qemuxml2xmloutdata/mach-virt-serial-native.xml33
3 files changed, 96 insertions, 3 deletions
diff --git a/tests/qemuxml2xmloutdata/mach-virt-console-native.xml b/tests/qemuxml2xmloutdata/mach-virt-console-native.xml
index 8b64e06c7f..f66fe2916a 120000..100644
--- a/tests/qemuxml2xmloutdata/mach-virt-console-native.xml
+++ b/tests/qemuxml2xmloutdata/mach-virt-console-native.xml
@@ -1 +1,32 @@
-mach-virt-serial-compat.xml \ No newline at end of file
+<domain type='qemu'>
+ <name>guest</name>
+ <uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
+ <memory unit='KiB'>524288</memory>
+ <currentMemory unit='KiB'>524288</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='aarch64' machine='virt'>hvm</type>
+ <boot dev='hd'/>
+ </os>
+ <features>
+ <gic version='2'/>
+ </features>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-aarch64</emulator>
+ <controller type='usb' index='0' model='none'/>
+ <serial type='pty'>
+ <target type='system-serial' port='0'>
+ <model name='pl011'/>
+ </target>
+ </serial>
+ <console type='pty'>
+ <target type='serial' port='0'/>
+ </console>
+ <audio id='1' type='none'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/mach-virt-serial+console-native.xml b/tests/qemuxml2xmloutdata/mach-virt-serial+console-native.xml
index 8b64e06c7f..f66fe2916a 120000..100644
--- a/tests/qemuxml2xmloutdata/mach-virt-serial+console-native.xml
+++ b/tests/qemuxml2xmloutdata/mach-virt-serial+console-native.xml
@@ -1 +1,32 @@
-mach-virt-serial-compat.xml \ No newline at end of file
+<domain type='qemu'>
+ <name>guest</name>
+ <uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
+ <memory unit='KiB'>524288</memory>
+ <currentMemory unit='KiB'>524288</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='aarch64' machine='virt'>hvm</type>
+ <boot dev='hd'/>
+ </os>
+ <features>
+ <gic version='2'/>
+ </features>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-aarch64</emulator>
+ <controller type='usb' index='0' model='none'/>
+ <serial type='pty'>
+ <target type='system-serial' port='0'>
+ <model name='pl011'/>
+ </target>
+ </serial>
+ <console type='pty'>
+ <target type='serial' port='0'/>
+ </console>
+ <audio id='1' type='none'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>
diff --git a/tests/qemuxml2xmloutdata/mach-virt-serial-native.xml b/tests/qemuxml2xmloutdata/mach-virt-serial-native.xml
index 8b64e06c7f..f66fe2916a 120000..100644
--- a/tests/qemuxml2xmloutdata/mach-virt-serial-native.xml
+++ b/tests/qemuxml2xmloutdata/mach-virt-serial-native.xml
@@ -1 +1,32 @@
-mach-virt-serial-compat.xml \ No newline at end of file
+<domain type='qemu'>
+ <name>guest</name>
+ <uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
+ <memory unit='KiB'>524288</memory>
+ <currentMemory unit='KiB'>524288</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='aarch64' machine='virt'>hvm</type>
+ <boot dev='hd'/>
+ </os>
+ <features>
+ <gic version='2'/>
+ </features>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>restart</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-aarch64</emulator>
+ <controller type='usb' index='0' model='none'/>
+ <serial type='pty'>
+ <target type='system-serial' port='0'>
+ <model name='pl011'/>
+ </target>
+ </serial>
+ <console type='pty'>
+ <target type='serial' port='0'/>
+ </console>
+ <audio id='1' type='none'/>
+ <memballoon model='none'/>
+ </devices>
+</domain>