mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-04 20:31:13 +00:00
8357d91b65
Before commit 145d6cb05c
(in August 2010) absolute file names
in VMX and domain XML configs were handled correctly. But this got
lost during the refactoring. The test cases didn't highlight this
problem because they have their own set of file name handling
functions. The actual ones require a real connection to an ESX
server. Also the test case functions always worked correctly.
Fix the regression and add a new in-the-wild VMX file that contains
such a problematic absolute path. Even though this test case won't
protect against new regressions.
Reported by lofic (IRC nick)
81 lines
2.7 KiB
Plaintext
81 lines
2.7 KiB
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "7"
|
|
pciBridge0.present = "TRUE"
|
|
pciBridge4.present = "TRUE"
|
|
pciBridge4.virtualDev = "pcieRootPort"
|
|
pciBridge4.functions = "8"
|
|
pciBridge5.present = "TRUE"
|
|
pciBridge5.virtualDev = "pcieRootPort"
|
|
pciBridge5.functions = "8"
|
|
pciBridge6.present = "TRUE"
|
|
pciBridge6.virtualDev = "pcieRootPort"
|
|
pciBridge6.functions = "8"
|
|
pciBridge7.present = "TRUE"
|
|
pciBridge7.virtualDev = "pcieRootPort"
|
|
pciBridge7.functions = "8"
|
|
vmci0.present = "TRUE"
|
|
nvram = "el6-test.nvram"
|
|
virtualHW.productCompatibility = "hosted"
|
|
powerType.powerOff = "soft"
|
|
powerType.powerOn = "hard"
|
|
powerType.suspend = "hard"
|
|
powerType.reset = "soft"
|
|
displayName = "el6-test"
|
|
extendedConfigFile = "el6-test.vmxf"
|
|
floppy0.present = "TRUE"
|
|
scsi0.present = "TRUE"
|
|
scsi0.sharedBus = "none"
|
|
scsi0.virtualDev = "pvscsi"
|
|
memsize = "1024"
|
|
scsi0:0.present = "TRUE"
|
|
scsi0:0.fileName = "el6-test-000001.vmdk"
|
|
scsi0:0.deviceType = "scsi-hardDisk"
|
|
ide1:0.present = "TRUE"
|
|
ide1:0.clientDevice = "FALSE"
|
|
ide1:0.deviceType = "cdrom-image"
|
|
ide1:0.startConnected = "FALSE"
|
|
floppy0.startConnected = "FALSE"
|
|
floppy0.fileName = ""
|
|
floppy0.clientDevice = "TRUE"
|
|
ethernet0.present = "TRUE"
|
|
ethernet0.virtualDev = "vmxnet3"
|
|
ethernet0.networkName = "VM Network"
|
|
ethernet0.addressType = "generated"
|
|
guestOS = "rhel6-64"
|
|
uuid.location = "56 4d 15 d4 d0 62 fe 9a-80 f5 eb 8e 1a 2c 3a fc"
|
|
uuid.bios = "56 4d 15 d4 d0 62 fe 9a-80 f5 eb 8e 1a 2c 3a fc"
|
|
vc.uuid = "52 00 b6 9b 8d 88 7b df-a1 4a 02 70 5d 65 37 72"
|
|
ethernet0.generatedAddress = "00:0c:29:2c:3a:fc"
|
|
svga.vramSize = "8388608"
|
|
vmci0.id = "439106300"
|
|
cleanShutdown = "TRUE"
|
|
replay.supported = "TRUE"
|
|
sched.swap.derivedName = "/vmfs/volumes/4dd68884-f4586c0e-8223-00215aaab842/el6-test/el6-test-4475e3f0.vswp"
|
|
replay.filename = ""
|
|
scsi0:0.redo = ""
|
|
pciBridge0.pciSlotNumber = "17"
|
|
pciBridge4.pciSlotNumber = "21"
|
|
pciBridge5.pciSlotNumber = "22"
|
|
pciBridge6.pciSlotNumber = "23"
|
|
pciBridge7.pciSlotNumber = "24"
|
|
scsi0.pciSlotNumber = "160"
|
|
ethernet0.pciSlotNumber = "192"
|
|
vmci0.pciSlotNumber = "32"
|
|
scsi0.sasWWID = "50 05 05 64 d0 62 fe 90"
|
|
vmotion.checkpointFBSize = "8388608"
|
|
ethernet0.generatedAddressOffset = "0"
|
|
tools.remindInstall = "FALSE"
|
|
hostCPUID.0 = "0000000a756e65476c65746e49656e69"
|
|
hostCPUID.1 = "0001067600040800000ce33dbfebfbff"
|
|
hostCPUID.80000001 = "00000000000000000000000120100800"
|
|
guestCPUID.0 = "0000000a756e65476c65746e49656e69"
|
|
guestCPUID.1 = "0001067600010800800822010febfbff"
|
|
guestCPUID.80000001 = "00000000000000000000000120100800"
|
|
userCPUID.0 = "0000000a756e65476c65746e49656e69"
|
|
userCPUID.1 = "0001067600040800000822010febfbff"
|
|
userCPUID.80000001 = "00000000000000000000000120100800"
|
|
evcCompatibilityMode = "FALSE"
|
|
ide1:0.fileName = "/usr/lib/vmware/isoimages/linux.iso"
|
|
tools.syncTime = "FALSE"
|