[PATCH 19/21] tests: vmx: Add <name> element for all domain XMLs

Peter Krempa pkrempa at redhat.com
Thu Oct 8 07:55:33 UTC 2020


<name> is mandatory for a domain XML. Add 'displayName' for all the test
cases which were missing them so that <name> is parsed correctly.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/vmx2xmldata/vmx2xml-annotation.vmx                 | 1 +
 tests/vmx2xmldata/vmx2xml-annotation.xml                 | 1 +
 tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx         | 1 +
 tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx         | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-device.vmx           | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-device.xml           | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.vmx          | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.xml          | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.vmx            | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.xml            | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-file.vmx             | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-file.xml             | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.vmx  | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.xml  | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.vmx       | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.xml       | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.vmx          | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.xml          | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.vmx           | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.xml           | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.vmx            | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.xml            | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.vmx        | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.xml        | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.vmx | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.xml | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.vmx      | 1 +
 tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.xml      | 1 +
 tests/vmx2xmldata/vmx2xml-datacenterpath.vmx             | 1 +
 tests/vmx2xmldata/vmx2xml-datacenterpath.xml             | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-bridged.vmx           | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-bridged.xml           | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-custom.vmx            | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-custom.xml            | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-e1000.vmx             | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-e1000.xml             | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-generated.vmx         | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-generated.xml         | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-nat.vmx               | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-nat.xml               | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-other.vmx             | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-other.xml             | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-static.vmx            | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-static.xml            | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.vmx           | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.xml           | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-vpx.vmx               | 1 +
 tests/vmx2xmldata/vmx2xml-ethernet-vpx.xml               | 1 +
 tests/vmx2xmldata/vmx2xml-firmware-efi.vmx               | 1 +
 tests/vmx2xmldata/vmx2xml-firmware-efi.xml               | 1 +
 tests/vmx2xmldata/vmx2xml-floppy-device.vmx              | 1 +
 tests/vmx2xmldata/vmx2xml-floppy-device.xml              | 1 +
 tests/vmx2xmldata/vmx2xml-floppy-file.vmx                | 1 +
 tests/vmx2xmldata/vmx2xml-floppy-file.xml                | 1 +
 tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx               | 1 +
 tests/vmx2xmldata/vmx2xml-graphics-vnc.xml               | 1 +
 tests/vmx2xmldata/vmx2xml-harddisk-ide-file.vmx          | 1 +
 tests/vmx2xmldata/vmx2xml-harddisk-ide-file.xml          | 1 +
 tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.vmx         | 1 +
 tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.xml         | 1 +
 tests/vmx2xmldata/vmx2xml-harddisk-transient.vmx         | 1 +
 tests/vmx2xmldata/vmx2xml-harddisk-transient.xml         | 1 +
 tests/vmx2xmldata/vmx2xml-minimal-64bit.vmx              | 1 +
 tests/vmx2xmldata/vmx2xml-minimal-64bit.xml              | 1 +
 tests/vmx2xmldata/vmx2xml-minimal.vmx                    | 1 +
 tests/vmx2xmldata/vmx2xml-minimal.xml                    | 1 +
 tests/vmx2xmldata/vmx2xml-parallel-device.vmx            | 1 +
 tests/vmx2xmldata/vmx2xml-parallel-device.xml            | 1 +
 tests/vmx2xmldata/vmx2xml-parallel-file.vmx              | 1 +
 tests/vmx2xmldata/vmx2xml-parallel-file.xml              | 1 +
 tests/vmx2xmldata/vmx2xml-scsi-driver.vmx                | 1 +
 tests/vmx2xmldata/vmx2xml-scsi-driver.xml                | 1 +
 tests/vmx2xmldata/vmx2xml-scsi-writethrough.vmx          | 1 +
 tests/vmx2xmldata/vmx2xml-scsi-writethrough.xml          | 1 +
 tests/vmx2xmldata/vmx2xml-serial-device.vmx              | 1 +
 tests/vmx2xmldata/vmx2xml-serial-device.xml              | 1 +
 tests/vmx2xmldata/vmx2xml-serial-file.vmx                | 1 +
 tests/vmx2xmldata/vmx2xml-serial-file.xml                | 1 +
 tests/vmx2xmldata/vmx2xml-serial-network-client.vmx      | 1 +
 tests/vmx2xmldata/vmx2xml-serial-network-client.xml      | 1 +
 tests/vmx2xmldata/vmx2xml-serial-network-server.vmx      | 1 +
 tests/vmx2xmldata/vmx2xml-serial-network-server.xml      | 1 +
 tests/vmx2xmldata/vmx2xml-serial-pipe-client-app.vmx     | 1 +
 tests/vmx2xmldata/vmx2xml-serial-pipe-client-vm.vmx      | 1 +
 tests/vmx2xmldata/vmx2xml-serial-pipe-server-app.vmx     | 1 +
 tests/vmx2xmldata/vmx2xml-serial-pipe-server-vm.vmx      | 1 +
 tests/vmx2xmldata/vmx2xml-serial-pipe.xml                | 1 +
 tests/vmx2xmldata/vmx2xml-sharedfolder.vmx               | 1 +
 tests/vmx2xmldata/vmx2xml-sharedfolder.xml               | 1 +
 tests/vmx2xmldata/vmx2xml-smbios.vmx                     | 1 +
 tests/vmx2xmldata/vmx2xml-smbios.xml                     | 1 +
 tests/vmx2xmldata/vmx2xml-svga.vmx                       | 1 +
 tests/vmx2xmldata/vmx2xml-svga.xml                       | 1 +
 93 files changed, 93 insertions(+)

diff --git a/tests/vmx2xmldata/vmx2xml-annotation.vmx b/tests/vmx2xmldata/vmx2xml-annotation.vmx
index 405b73cbfa..35dbc1335e 100644
--- a/tests/vmx2xmldata/vmx2xml-annotation.vmx
+++ b/tests/vmx2xmldata/vmx2xml-annotation.vmx
@@ -1,3 +1,4 @@
 config.version = "8"
 virtualHW.version = "4"
 annotation = "Some |7Ctext|7C to test the |22escaping|22: |7C|7C|22|22|7C|7C|22|7C |45|73|63|61|70|65|64|21"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-annotation.xml b/tests/vmx2xmldata/vmx2xml-annotation.xml
index 9d99fd288b..3e7a0e129a 100644
--- a/tests/vmx2xmldata/vmx2xml-annotation.xml
+++ b/tests/vmx2xmldata/vmx2xml-annotation.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <description>Some |text| to test the "escaping": ||""||"| Escaped!</description>
   <memory unit='KiB'>32768</memory>
diff --git a/tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx b/tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx
index 8641c5c01b..dd069b378d 100644
--- a/tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx
+++ b/tests/vmx2xmldata/vmx2xml-case-insensitive-1.vmx
@@ -49,3 +49,4 @@ UUID.LOCATION = "56 4D B5 06 A2 BD FB EB-AE 86 F7 D8 49 27 D0 C4"
 SCHED.CPU.MAX = "UNLIMITED"
 SCHED.SWAP.DERIVEDNAME = "/VMFS/VOLUMES/498076B2-02796C1A-EF5B-000AE484A6A3/FEDORA11/FEDORA11-7DE040D8.VSWP"
 TOOLS.REMINDINSTALL = "TRUE"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx b/tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx
index a485d03cd9..e37e0b9369 100644
--- a/tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx
+++ b/tests/vmx2xmldata/vmx2xml-case-insensitive-2.vmx
@@ -49,3 +49,4 @@ uuid.location = "56 4d b5 06 a2 bd fb eb-ae 86 f7 d8 49 27 d0 c4"
 sched.cpu.max = "unlimited"
 sched.swap.derivedname = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/fedora11/fedora11-7de040d8.vswp"
 tools.remindinstall = "true"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.vmx
index dc789d257e..3b60bd18f5 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.vmx
@@ -4,3 +4,4 @@ guestOS = "other"
 ide0:0.present = "true"
 ide0:0.deviceType = "atapi-cdrom"
 ide0:0.fileName = "/dev/scd0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.xml b/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.xml
index d8bba13385..e5a242d1f4 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.vmx
index 36286cb20f..7ea8fb96de 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.vmx
@@ -2,3 +2,4 @@ config.version = "8"
 virtualHW.version = "4"
 ide0:0.present = "true"
 ide0:0.deviceType = "atapi-cdrom"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.xml b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.xml
index af4a5ff9f6..6af0ee0704 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty-2.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.vmx
index 62fdb3d18d..c61b0eeb10 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 ide0:0.present = "true"
 ide0:0.deviceType = "cdrom-image"
 ide0:0.fileName = "emptyBackingString"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.xml b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.xml
index b11fe272b6..93670e7eb4 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-empty.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.vmx
index edd3999d0e..adc57f4374 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 ide0:0.present = "true"
 ide0:0.deviceType = "cdrom-image"
 ide0:0.fileName = "cdrom.iso"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.xml b/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.xml
index a85cb42dce..7479f7ccf6 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.vmx
index b2c4caf20f..0e24927960 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 ide0:0.present = "true"
 ide0:0.deviceType = "cdrom-raw"
 ide0:0.fileName = "auto detect"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.xml b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.xml
index 68ad26dc6f..392d580ffa 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-auto-detect.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.vmx
index 164811140f..5ec66522c8 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 ide0:0.present = "true"
 ide0:0.deviceType = "cdrom-raw"
 ide0:0.fileName = "/dev/scd0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.xml b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.xml
index 679cdb154b..c7cba73aa8 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-ide-raw-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.vmx
index 721068aded..5991b71b16 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "atapi-cdrom"
 scsi0:0.fileName = "/dev/scd0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.xml b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.xml
index cf1275c829..9e5a985788 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.vmx
index 3c6036ab2b..c08f4cc8ff 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "cdrom-image"
 scsi0:0.fileName = "emptyBackingString"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.xml b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.xml
index 20452522d8..3678ef38b0 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-empty.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.vmx
index 3422e0b6d9..91acf931aa 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "cdrom-image"
 scsi0:0.fileName = "cdrom.iso"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.xml b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.xml
index 29111fb7b6..d10f6ed43d 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.vmx
index fb7ea724ab..7898304fef 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "scsi-passthru"
 scsi0:0.fileName = "/vmfs/devices/cdrom/mpx.vmhba32:C0:T0:L0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.xml b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.xml
index 46e27bce71..b851e73b3b 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-passthru.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.vmx
index 0209b291e6..d92af1fd1d 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "cdrom-raw"
 scsi0:0.fileName = "auto detect"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.xml b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.xml
index 9d706b5d04..497066972d 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-auto-detect.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.vmx b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.vmx
index 773b7432ea..42817946fc 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "cdrom-raw"
 scsi0:0.fileName = "/dev/scd0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.xml b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.xml
index 9052327dcd..d7d881e4a6 100644
--- a/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-cdrom-scsi-raw-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-datacenterpath.vmx b/tests/vmx2xmldata/vmx2xml-datacenterpath.vmx
index a8e5db3746..bc17daa772 100644
--- a/tests/vmx2xmldata/vmx2xml-datacenterpath.vmx
+++ b/tests/vmx2xmldata/vmx2xml-datacenterpath.vmx
@@ -1,2 +1,3 @@
 config.version = "8"
 virtualHW.version = "4"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-datacenterpath.xml b/tests/vmx2xmldata/vmx2xml-datacenterpath.xml
index 7d458c5c8e..19920f81f7 100644
--- a/tests/vmx2xmldata/vmx2xml-datacenterpath.xml
+++ b/tests/vmx2xmldata/vmx2xml-datacenterpath.xml
@@ -1,4 +1,5 @@
 <domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-bridged.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-bridged.vmx
index 8b7a5b3bf3..2c80db33b0 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-bridged.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-bridged.vmx
@@ -5,3 +5,4 @@ ethernet0.networkName = "VM Network"
 ethernet0.connectionType = "bridged"
 ethernet0.addressType = "static"
 ethernet0.address = "00:50:56:11:22:33"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-bridged.xml b/tests/vmx2xmldata/vmx2xml-ethernet-bridged.xml
index fac5cd7bd5..84dc0d2ba2 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-bridged.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-bridged.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-custom.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-custom.vmx
index bab8aa1784..9dca6bbf7f 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-custom.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-custom.vmx
@@ -6,3 +6,4 @@ ethernet0.connectionType = "custom"
 ethernet0.vnet = "vmnet7"
 ethernet0.addressType = "static"
 ethernet0.address = "00:50:56:11:22:33"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-custom.xml b/tests/vmx2xmldata/vmx2xml-ethernet-custom.xml
index ce63c24127..a3c6f03f31 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-custom.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-custom.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-e1000.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-e1000.vmx
index eb7c4844db..e31dc2c674 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-e1000.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-e1000.vmx
@@ -6,3 +6,4 @@ ethernet0.networkName = "VM Network"
 ethernet0.connectionType = "bridged"
 ethernet0.addressType = "static"
 ethernet0.address = "00:50:56:11:22:33"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-e1000.xml b/tests/vmx2xmldata/vmx2xml-ethernet-e1000.xml
index 534d35e352..6ab739a0ba 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-e1000.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-e1000.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-generated.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-generated.vmx
index f27e0a008f..15c374b001 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-generated.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-generated.vmx
@@ -6,3 +6,4 @@ ethernet0.connectionType = "bridged"
 ethernet0.addressType = "generated"
 ethernet0.generatedAddress = "00:0C:29:11:22:33"
 ethernet0.generatedAddressOffset = "0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-generated.xml b/tests/vmx2xmldata/vmx2xml-ethernet-generated.xml
index 3fbc013f21..2d7cf93b54 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-generated.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-generated.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-nat.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-nat.vmx
index 701c3851fb..33aaf2b882 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-nat.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-nat.vmx
@@ -4,3 +4,4 @@ ethernet0.present = "true"
 ethernet0.connectionType = "nat"
 ethernet0.addressType = "static"
 ethernet0.address = "00:50:56:11:22:33"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-nat.xml b/tests/vmx2xmldata/vmx2xml-ethernet-nat.xml
index af721e3059..f9939223be 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-nat.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-nat.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-other.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-other.vmx
index da46a70d46..4d1bf8fe41 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-other.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-other.vmx
@@ -6,3 +6,4 @@ ethernet0.connectionType = "bridged"
 ethernet0.checkMACAddress = "false"
 ethernet0.addressType = "static"
 ethernet0.address = "00:12:34:56:78:90"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-other.xml b/tests/vmx2xmldata/vmx2xml-ethernet-other.xml
index ef324405d7..9cecc262fb 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-other.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-other.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-static.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-static.vmx
index 8b7a5b3bf3..2c80db33b0 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-static.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-static.vmx
@@ -5,3 +5,4 @@ ethernet0.networkName = "VM Network"
 ethernet0.connectionType = "bridged"
 ethernet0.addressType = "static"
 ethernet0.address = "00:50:56:11:22:33"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-static.xml b/tests/vmx2xmldata/vmx2xml-ethernet-static.xml
index fac5cd7bd5..84dc0d2ba2 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-static.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-static.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.vmx
index 1c3f063365..3306925c07 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.vmx
@@ -7,3 +7,4 @@ ethernet0.networkName = "VM Network"
 ethernet0.connectionType = "bridged"
 ethernet0.addressType = "static"
 ethernet0.address = "00:50:56:11:22:33"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.xml b/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.xml
index 54c9283989..8ba8f3d465 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-vmxnet2.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-vpx.vmx b/tests/vmx2xmldata/vmx2xml-ethernet-vpx.vmx
index b4d9172764..6ffefe2f76 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-vpx.vmx
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-vpx.vmx
@@ -5,3 +5,4 @@ ethernet0.networkName = "VM Network"
 ethernet0.connectionType = "bridged"
 ethernet0.addressType = "vpx"
 ethernet0.generatedAddress = "00:50:56:87:65:43"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-ethernet-vpx.xml b/tests/vmx2xmldata/vmx2xml-ethernet-vpx.xml
index c75d52f5b2..3f10934359 100644
--- a/tests/vmx2xmldata/vmx2xml-ethernet-vpx.xml
+++ b/tests/vmx2xmldata/vmx2xml-ethernet-vpx.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-firmware-efi.vmx b/tests/vmx2xmldata/vmx2xml-firmware-efi.vmx
index dbb215a5db..93453b56f5 100644
--- a/tests/vmx2xmldata/vmx2xml-firmware-efi.vmx
+++ b/tests/vmx2xmldata/vmx2xml-firmware-efi.vmx
@@ -1,3 +1,4 @@
 config.version = "8"
 virtualHW.version = "13"
 firmware = "efi"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-firmware-efi.xml b/tests/vmx2xmldata/vmx2xml-firmware-efi.xml
index e21158cebf..fee707fe71 100644
--- a/tests/vmx2xmldata/vmx2xml-firmware-efi.xml
+++ b/tests/vmx2xmldata/vmx2xml-firmware-efi.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-floppy-device.vmx b/tests/vmx2xmldata/vmx2xml-floppy-device.vmx
index 6c6358d468..323a399b4e 100644
--- a/tests/vmx2xmldata/vmx2xml-floppy-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-floppy-device.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 floppy0.present = "true"
 floppy0.fileType = "device"
 floppy0.fileName = "/dev/fd0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-floppy-device.xml b/tests/vmx2xmldata/vmx2xml-floppy-device.xml
index 3b1317249d..a1264f98a8 100644
--- a/tests/vmx2xmldata/vmx2xml-floppy-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-floppy-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-floppy-file.vmx b/tests/vmx2xmldata/vmx2xml-floppy-file.vmx
index ff50117d16..71b63a1b5d 100644
--- a/tests/vmx2xmldata/vmx2xml-floppy-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-floppy-file.vmx
@@ -6,3 +6,4 @@ floppy0.fileName = "floppy.flp"
 floppy1.present = "true"
 floppy1.fileType = "file"
 floppy1.fileName = "floppy"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-floppy-file.xml b/tests/vmx2xmldata/vmx2xml-floppy-file.xml
index aaf1f85881..79620211d0 100644
--- a/tests/vmx2xmldata/vmx2xml-floppy-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-floppy-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx b/tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx
index bd3e55f7ab..9cba21f4f1 100644
--- a/tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx
+++ b/tests/vmx2xmldata/vmx2xml-graphics-vnc.vmx
@@ -4,3 +4,4 @@ RemoteDisplay.vnc.enabled = "true"
 RemoteDisplay.vnc.port = "5903"
 RemoteDisplay.vnc.keymap = "de"
 RemoteDisplay.vnc.password = "password"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-graphics-vnc.xml b/tests/vmx2xmldata/vmx2xml-graphics-vnc.xml
index 3c575798f4..15a9766403 100644
--- a/tests/vmx2xmldata/vmx2xml-graphics-vnc.xml
+++ b/tests/vmx2xmldata/vmx2xml-graphics-vnc.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.vmx b/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.vmx
index a8c71f189b..480b5cd354 100644
--- a/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 ide0:0.present = "true"
 ide0:0.deviceType = "ata-hardDisk"
 ide0:0.fileName = "harddisk.vmdk"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.xml b/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.xml
index 56bcaca512..d253aff149 100644
--- a/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-harddisk-ide-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.vmx b/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.vmx
index 933707c984..b3f5a8c803 100644
--- a/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.vmx
@@ -4,3 +4,4 @@ scsi0.present = "true"
 scsi0:0.present = "true"
 scsi0:0.deviceType = "scsi-hardDisk"
 scsi0:0.fileName = "harddisk.vmdk"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.xml b/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.xml
index d08e233757..6ed690c348 100644
--- a/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-harddisk-scsi-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-harddisk-transient.vmx b/tests/vmx2xmldata/vmx2xml-harddisk-transient.vmx
index 68ef3827f7..434a580f41 100644
--- a/tests/vmx2xmldata/vmx2xml-harddisk-transient.vmx
+++ b/tests/vmx2xmldata/vmx2xml-harddisk-transient.vmx
@@ -4,3 +4,4 @@ ide0:0.present = "true"
 ide0:0.deviceType = "ata-hardDisk"
 ide0:0.fileName = "harddisk.vmdk"
 ide0:0.mode = "independent-nonpersistent"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-harddisk-transient.xml b/tests/vmx2xmldata/vmx2xml-harddisk-transient.xml
index 7066b2309a..66cd525655 100644
--- a/tests/vmx2xmldata/vmx2xml-harddisk-transient.xml
+++ b/tests/vmx2xmldata/vmx2xml-harddisk-transient.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-minimal-64bit.vmx b/tests/vmx2xmldata/vmx2xml-minimal-64bit.vmx
index 73d3972591..d83f2e2644 100644
--- a/tests/vmx2xmldata/vmx2xml-minimal-64bit.vmx
+++ b/tests/vmx2xmldata/vmx2xml-minimal-64bit.vmx
@@ -1,3 +1,4 @@
 config.version = "8"
 virtualHW.version = "4"
 guestOS = "other-64"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-minimal-64bit.xml b/tests/vmx2xmldata/vmx2xml-minimal-64bit.xml
index 42245d4ba0..d883116f27 100644
--- a/tests/vmx2xmldata/vmx2xml-minimal-64bit.xml
+++ b/tests/vmx2xmldata/vmx2xml-minimal-64bit.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-minimal.vmx b/tests/vmx2xmldata/vmx2xml-minimal.vmx
index a8e5db3746..bc17daa772 100644
--- a/tests/vmx2xmldata/vmx2xml-minimal.vmx
+++ b/tests/vmx2xmldata/vmx2xml-minimal.vmx
@@ -1,2 +1,3 @@
 config.version = "8"
 virtualHW.version = "4"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-minimal.xml b/tests/vmx2xmldata/vmx2xml-minimal.xml
index 122d59cd77..3d47fa972e 100644
--- a/tests/vmx2xmldata/vmx2xml-minimal.xml
+++ b/tests/vmx2xmldata/vmx2xml-minimal.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-parallel-device.vmx b/tests/vmx2xmldata/vmx2xml-parallel-device.vmx
index ee2eb749b6..4b499abaf0 100644
--- a/tests/vmx2xmldata/vmx2xml-parallel-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-parallel-device.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 parallel0.present = "true"
 parallel0.fileType = "device"
 parallel0.fileName = "/dev/parallel0"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-parallel-device.xml b/tests/vmx2xmldata/vmx2xml-parallel-device.xml
index 3c69198b93..bdf9cfd9d0 100644
--- a/tests/vmx2xmldata/vmx2xml-parallel-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-parallel-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-parallel-file.vmx b/tests/vmx2xmldata/vmx2xml-parallel-file.vmx
index e91906a9d7..6c34c6b454 100644
--- a/tests/vmx2xmldata/vmx2xml-parallel-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-parallel-file.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 parallel0.present = "true"
 parallel0.fileType = "file"
 parallel0.fileName = "parallel0.file"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-parallel-file.xml b/tests/vmx2xmldata/vmx2xml-parallel-file.xml
index 037e6aebf1..9787e51bb5 100644
--- a/tests/vmx2xmldata/vmx2xml-parallel-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-parallel-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-scsi-driver.vmx b/tests/vmx2xmldata/vmx2xml-scsi-driver.vmx
index 64d7c99d3a..91a76d2dd1 100644
--- a/tests/vmx2xmldata/vmx2xml-scsi-driver.vmx
+++ b/tests/vmx2xmldata/vmx2xml-scsi-driver.vmx
@@ -20,3 +20,4 @@ scsi2:0.fileName = "harddisk3.vmdk"
 scsi3:0.present = "true"
 scsi3:0.deviceType = "scsi-hardDisk"
 scsi3:0.fileName = "harddisk4.vmdk"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-scsi-driver.xml b/tests/vmx2xmldata/vmx2xml-scsi-driver.xml
index fa1cd5d84d..cdf785da1f 100644
--- a/tests/vmx2xmldata/vmx2xml-scsi-driver.xml
+++ b/tests/vmx2xmldata/vmx2xml-scsi-driver.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-scsi-writethrough.vmx b/tests/vmx2xmldata/vmx2xml-scsi-writethrough.vmx
index 54ac49c914..a4a61b5fde 100644
--- a/tests/vmx2xmldata/vmx2xml-scsi-writethrough.vmx
+++ b/tests/vmx2xmldata/vmx2xml-scsi-writethrough.vmx
@@ -6,3 +6,4 @@ scsi0:0.present = "true"
 scsi0:0.deviceType = "scsi-hardDisk"
 scsi0:0.fileName = "harddisk.vmdk"
 scsi0:0.writeThrough = "true"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-scsi-writethrough.xml b/tests/vmx2xmldata/vmx2xml-scsi-writethrough.xml
index 188748e8e2..747f9b0f6c 100644
--- a/tests/vmx2xmldata/vmx2xml-scsi-writethrough.xml
+++ b/tests/vmx2xmldata/vmx2xml-scsi-writethrough.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-serial-device.vmx b/tests/vmx2xmldata/vmx2xml-serial-device.vmx
index 927f408fbb..131c0de498 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-device.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-device.vmx
@@ -5,3 +5,4 @@ serial0.fileType = "device"
 serial0.fileName = "/dev/ttyS0"
 serial1.present = "true"
 serial1.fileName = "/dev/ttyS1"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-device.xml b/tests/vmx2xmldata/vmx2xml-serial-device.xml
index df25d66b98..165db89c8e 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-device.xml
+++ b/tests/vmx2xmldata/vmx2xml-serial-device.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-serial-file.vmx b/tests/vmx2xmldata/vmx2xml-serial-file.vmx
index 2c3bc39628..e1ed2dd4db 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-file.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-file.vmx
@@ -3,3 +3,4 @@ virtualHW.version = "4"
 serial0.present = "true"
 serial0.fileType = "file"
 serial0.fileName = "serial0.file"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-file.xml b/tests/vmx2xmldata/vmx2xml-serial-file.xml
index 5e08e7ffe6..158b4940b4 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-file.xml
+++ b/tests/vmx2xmldata/vmx2xml-serial-file.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-serial-network-client.vmx b/tests/vmx2xmldata/vmx2xml-serial-network-client.vmx
index 18cfc57c61..fefc27a586 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-network-client.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-network-client.vmx
@@ -4,3 +4,4 @@ serial0.present = "true"
 serial0.fileType = "network"
 serial0.fileName = "tcp://192.168.0.17:42001"
 serial0.network.endPoint = "client"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-network-client.xml b/tests/vmx2xmldata/vmx2xml-serial-network-client.xml
index 2e096434f5..19ec90a023 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-network-client.xml
+++ b/tests/vmx2xmldata/vmx2xml-serial-network-client.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-serial-network-server.vmx b/tests/vmx2xmldata/vmx2xml-serial-network-server.vmx
index d4a9c41310..d7dd20f7f6 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-network-server.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-network-server.vmx
@@ -4,3 +4,4 @@ serial0.present = "true"
 serial0.fileType = "network"
 serial0.fileName = "telnets://0.0.0.0:42001"
 serial0.network.endPoint = "server"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-network-server.xml b/tests/vmx2xmldata/vmx2xml-serial-network-server.xml
index 65950e8cea..229ca10fb2 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-network-server.xml
+++ b/tests/vmx2xmldata/vmx2xml-serial-network-server.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-serial-pipe-client-app.vmx b/tests/vmx2xmldata/vmx2xml-serial-pipe-client-app.vmx
index f104aab099..164502f08b 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-pipe-client-app.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-pipe-client-app.vmx
@@ -5,3 +5,4 @@ serial0.fileType = "pipe"
 serial0.fileName = "serial0.pipe"
 serial0.pipe.endPoint = "client"
 serial0.tryNoRxLoss = "true"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-pipe-client-vm.vmx b/tests/vmx2xmldata/vmx2xml-serial-pipe-client-vm.vmx
index 3b487ee5e3..1aeb9152d5 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-pipe-client-vm.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-pipe-client-vm.vmx
@@ -4,3 +4,4 @@ serial0.present = "true"
 serial0.fileType = "pipe"
 serial0.fileName = "serial0.pipe"
 serial0.pipe.endPoint = "client"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-pipe-server-app.vmx b/tests/vmx2xmldata/vmx2xml-serial-pipe-server-app.vmx
index 27ee3bc216..4a1bfe22a5 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-pipe-server-app.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-pipe-server-app.vmx
@@ -5,3 +5,4 @@ serial0.fileType = "pipe"
 serial0.fileName = "serial0.pipe"
 serial0.pipe.endPoint = "server"
 serial0.tryNoRxLoss = "true"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-pipe-server-vm.vmx b/tests/vmx2xmldata/vmx2xml-serial-pipe-server-vm.vmx
index b99c627eb6..b8f57d7068 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-pipe-server-vm.vmx
+++ b/tests/vmx2xmldata/vmx2xml-serial-pipe-server-vm.vmx
@@ -4,3 +4,4 @@ serial0.present = "true"
 serial0.fileType = "pipe"
 serial0.fileName = "serial0.pipe"
 serial0.pipe.endPoint = "server"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-serial-pipe.xml b/tests/vmx2xmldata/vmx2xml-serial-pipe.xml
index bd425e603e..59a5b978c2 100644
--- a/tests/vmx2xmldata/vmx2xml-serial-pipe.xml
+++ b/tests/vmx2xmldata/vmx2xml-serial-pipe.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-sharedfolder.vmx b/tests/vmx2xmldata/vmx2xml-sharedfolder.vmx
index e60fcd493b..6053c9dd89 100644
--- a/tests/vmx2xmldata/vmx2xml-sharedfolder.vmx
+++ b/tests/vmx2xmldata/vmx2xml-sharedfolder.vmx
@@ -7,3 +7,4 @@ sharedFolder0.enabled = "true"
 sharedFolder0.hostPath = "/path/to/shared"
 sharedFolder0.guestName = "shared"
 sharedFolder0.writeAccess = "true"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-sharedfolder.xml b/tests/vmx2xmldata/vmx2xml-sharedfolder.xml
index 7fa3203161..f41ef71912 100644
--- a/tests/vmx2xmldata/vmx2xml-sharedfolder.xml
+++ b/tests/vmx2xmldata/vmx2xml-sharedfolder.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-smbios.vmx b/tests/vmx2xmldata/vmx2xml-smbios.vmx
index 16258b0bea..8fa9d3e08e 100644
--- a/tests/vmx2xmldata/vmx2xml-smbios.vmx
+++ b/tests/vmx2xmldata/vmx2xml-smbios.vmx
@@ -1,3 +1,4 @@
 config.version = "8"
 virtualHW.version = "4"
 smbios.reflecthost = "true"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-smbios.xml b/tests/vmx2xmldata/vmx2xml-smbios.xml
index 6773502633..53b5fd01b8 100644
--- a/tests/vmx2xmldata/vmx2xml-smbios.xml
+++ b/tests/vmx2xmldata/vmx2xml-smbios.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
diff --git a/tests/vmx2xmldata/vmx2xml-svga.vmx b/tests/vmx2xmldata/vmx2xml-svga.vmx
index 081d6cee0d..7ed953424c 100644
--- a/tests/vmx2xmldata/vmx2xml-svga.vmx
+++ b/tests/vmx2xmldata/vmx2xml-svga.vmx
@@ -1,3 +1,4 @@
 config.version = "8"
 virtualHW.version = "4"
 svga.vramSize = "8388608"
+displayName = "test"
diff --git a/tests/vmx2xmldata/vmx2xml-svga.xml b/tests/vmx2xmldata/vmx2xml-svga.xml
index da0f1a30e2..96dff16d37 100644
--- a/tests/vmx2xmldata/vmx2xml-svga.xml
+++ b/tests/vmx2xmldata/vmx2xml-svga.xml
@@ -1,4 +1,5 @@
 <domain type='vmware'>
+  <name>test</name>
   <uuid>00000000-0000-0000-0000-000000000000</uuid>
   <memory unit='KiB'>32768</memory>
   <currentMemory unit='KiB'>32768</currentMemory>
-- 
2.26.2




More information about the libvir-list mailing list