mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
94e8a5b650
When connecting to a VMware server (eg using vpx://) we download and try to parse the VMware metadata '*.vmx' file of a guest. In this case a VMX file was found which contained this key: pciPassthru*.present = "False" The '*' character was not previously allowed in keys so this failed to parse with the error: VIR_ERR_CONF_SYNTAX: VIR_FROM_CONF: configuration file syntax error: memory conf:74: expecting an assignment Resolves: https://issues.redhat.com/browse/RHEL-58446 Thanks: Daniel Berrange Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
36 lines
1.2 KiB
XML
36 lines
1.2 KiB
XML
<domain type='vmware'>
|
|
<name>wild14</name>
|
|
<uuid>421b223a-f2c1-c7c9-a399-34d2d9fde26d</uuid>
|
|
<description>execution env sandbox automation platform</description>
|
|
<memory unit='KiB'>33554432</memory>
|
|
<currentMemory unit='KiB'>33554432</currentMemory>
|
|
<vcpu placement='static'>12</vcpu>
|
|
<os>
|
|
<type arch='x86_64'>hvm</type>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<source file='[datastore] directory/wild1.vmdk'/>
|
|
<target dev='sda' bus='scsi'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<disk type='file' device='disk'>
|
|
<source file='[datastore] directory/wild2.vmdk'/>
|
|
<target dev='sdb' bus='scsi'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
|
|
</disk>
|
|
<controller type='scsi' index='0' model='vmpvscsi'/>
|
|
<interface type='null'>
|
|
<mac address='00:00:00:00:00:00' type='static'/>
|
|
<model type='vmxnet3'/>
|
|
</interface>
|
|
<video>
|
|
<model type='vmvga' vram='8192' primary='yes'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|