mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
5edaf95599
The keys of entries in a VMX file are case insensitive. Both scsi0:1.fileName and scsi0:1.filename are valid. Therefore, make the conf parser compare names case insensitive in VMX mode to accept every capitalization variation. Also add test cases for this.
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
config.version = "8"
|
|
virtualhw.version = "4"
|
|
floppy0.present = "false"
|
|
nvram = "fedora11.nvram"
|
|
deploymentplatform = "windows"
|
|
virtualhw.productcompatibility = "hosted"
|
|
tools.upgrade.policy = "useglobal"
|
|
powertype.poweroff = "default"
|
|
powertype.poweron = "default"
|
|
powertype.suspend = "default"
|
|
powertype.reset = "default"
|
|
|
|
displayname = "fedora11"
|
|
extendedconfigfile = "fedora11.vmxf"
|
|
|
|
scsi0.present = "true"
|
|
scsi0.sharedbus = "none"
|
|
scsi0.virtualdev = "lsilogic"
|
|
memsize = "1024"
|
|
scsi0:0.present = "true"
|
|
scsi0:0.filename = "fedora11.vmdk"
|
|
scsi0:0.devicetype = "scsi-harddisk"
|
|
ide0:0.present = "true"
|
|
ide0:0.clientdevice = "true"
|
|
ide0:0.devicetype = "cdrom-raw"
|
|
ide0:0.startconnected = "false"
|
|
ethernet0.present = "true"
|
|
ethernet0.networkname = "vm network"
|
|
ethernet0.addresstype = "vpx"
|
|
ethernet0.generatedaddress = "00:50:56:91:48:c7"
|
|
chipset.onlinestandby = "false"
|
|
guestosaltname = "red hat enterprise linux 5 (32-bit)"
|
|
guestos = "rhel5"
|
|
uuid.bios = "50 11 5e 16 9b dc 49 d7-f1 71 53 c4 d7 f9 17 10"
|
|
snapshot.action = "keep"
|
|
sched.cpu.min = "0"
|
|
sched.cpu.units = "mhz"
|
|
sched.cpu.shares = "normal"
|
|
sched.mem.minsize = "0"
|
|
sched.mem.shares = "normal"
|
|
toolscripts.afterpoweron = "true"
|
|
toolscripts.afterresume = "true"
|
|
toolscripts.beforesuspend = "true"
|
|
toolscripts.beforepoweroff = "true"
|
|
|
|
scsi0:0.redo = ""
|
|
tools.synctime = "false"
|
|
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"
|