]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuxml2xmloutdata: Don't symlink output data for 'mach-virt*' cases
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Mar 2023 13:52:46 +0000 (15:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 11 Apr 2023 08:08:32 +0000 (10:08 +0200)
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>
tests/qemuxml2xmloutdata/mach-virt-console-native.xml [changed from symlink to file mode: 0644]
tests/qemuxml2xmloutdata/mach-virt-serial+console-native.xml [changed from symlink to file mode: 0644]
tests/qemuxml2xmloutdata/mach-virt-serial-native.xml [changed from symlink to file mode: 0644]

deleted file mode 120000 (symlink)
index 8b64e06c7f91e3db8d0ff386220fb8c5506da3c7..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-mach-virt-serial-compat.xml
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..f66fe2916a96bbe919725c0bc00c95780c0f070a
--- /dev/null
@@ -0,0 +1,32 @@
+<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>
deleted file mode 120000 (symlink)
index 8b64e06c7f91e3db8d0ff386220fb8c5506da3c7..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-mach-virt-serial-compat.xml
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..f66fe2916a96bbe919725c0bc00c95780c0f070a
--- /dev/null
@@ -0,0 +1,32 @@
+<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>
deleted file mode 120000 (symlink)
index 8b64e06c7f91e3db8d0ff386220fb8c5506da3c7..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-mach-virt-serial-compat.xml
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..f66fe2916a96bbe919725c0bc00c95780c0f070a
--- /dev/null
@@ -0,0 +1,32 @@
+<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>