mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
vmx: Adapt to emptyBackingString for cdrom-image
https://bugzilla.redhat.com/show_bug.cgi?id=1266088 We are missing this value for cdrom-image device. It seems like there's no added value to extend this to other types of disk devices [1]. 1: https://www.redhat.com/archives/libvir-list/2016-January/msg01038.html Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
13
tests/xml2vmxdata/xml2vmx-cdrom-ide-empty.vmx
Normal file
13
tests/xml2vmxdata/xml2vmx-cdrom-ide-empty.vmx
Normal file
@@ -0,0 +1,13 @@
|
||||
.encoding = "UTF-8"
|
||||
config.version = "8"
|
||||
virtualHW.version = "4"
|
||||
guestOS = "other"
|
||||
uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "cdrom-ide-file"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "cdrom-image"
|
||||
ide0:0.fileName = "emptyBackingString"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
13
tests/xml2vmxdata/xml2vmx-cdrom-ide-empty.xml
Normal file
13
tests/xml2vmxdata/xml2vmx-cdrom-ide-empty.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<domain type='vmware'>
|
||||
<name>cdrom-ide-file</name>
|
||||
<uuid>564d9bef-acd9-b4e0-c8f0-aea8b9103515</uuid>
|
||||
<memory unit='KiB'>4096</memory>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
</os>
|
||||
<devices>
|
||||
<disk type='file' device='cdrom'>
|
||||
<target dev='hda' bus='ide'/>
|
||||
</disk>
|
||||
</devices>
|
||||
</domain>
|
||||
14
tests/xml2vmxdata/xml2vmx-cdrom-scsi-empty.vmx
Normal file
14
tests/xml2vmxdata/xml2vmx-cdrom-scsi-empty.vmx
Normal file
@@ -0,0 +1,14 @@
|
||||
.encoding = "UTF-8"
|
||||
config.version = "8"
|
||||
virtualHW.version = "4"
|
||||
guestOS = "other"
|
||||
uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "cdrom-scsi-empty"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
scsi0.present = "true"
|
||||
scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "cdrom-image"
|
||||
scsi0:0.fileName = "emptyBackingString"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
13
tests/xml2vmxdata/xml2vmx-cdrom-scsi-empty.xml
Normal file
13
tests/xml2vmxdata/xml2vmx-cdrom-scsi-empty.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<domain type='vmware'>
|
||||
<name>cdrom-scsi-empty</name>
|
||||
<uuid>564d9bef-acd9-b4e0-c8f0-aea8b9103515</uuid>
|
||||
<memory unit='KiB'>4096</memory>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
</os>
|
||||
<devices>
|
||||
<disk type='file' device='cdrom'>
|
||||
<target dev='sda' bus='scsi'/>
|
||||
</disk>
|
||||
</devices>
|
||||
</domain>
|
||||
Reference in New Issue
Block a user