mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
ab4bf20ead
The domain XML generator creates the mac addres strings with lowercase strings with a separate piece of code. This patch changes the formating helper to do the same stuff to allow using it to normalize a string provided by the user. After this change some of the tests that are outputing the mac address will need to be changed.
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
.encoding = "UTF-8"
|
|
config.version = "8"
|
|
virtualHW.version = "4"
|
|
guestOS = "other-64"
|
|
uuid.bios = "56 4d cd 37 36 85 88 89-35 ea 71 9f c9 3c 98 3e"
|
|
displayName = "virtDebian1"
|
|
memsize = "1000"
|
|
sched.mem.max = "118"
|
|
numvcpus = "4"
|
|
sched.cpu.affinity = "0,1,2,5,6,7"
|
|
scsi0.present = "true"
|
|
scsi0.virtualDev = "lsilogic"
|
|
scsi1.present = "true"
|
|
scsi1.virtualDev = "buslogic"
|
|
scsi0:0.present = "true"
|
|
scsi0:0.deviceType = "scsi-hardDisk"
|
|
scsi0:0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtDebian1/Debian1.vmdk"
|
|
scsi0:0.writeThrough = "true"
|
|
scsi1:0.present = "true"
|
|
scsi1:0.deviceType = "cdrom-image"
|
|
scsi1:0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtDebian1/Debian1-cdrom.iso"
|
|
ide0:0.present = "true"
|
|
ide0:0.deviceType = "cdrom-image"
|
|
ide0:0.fileName = "/vmimages/tools-isoimages/linux.iso"
|
|
ide0:1.present = "true"
|
|
ide0:1.deviceType = "atapi-cdrom"
|
|
ide0:1.fileName = "/dev/scd0"
|
|
ide1:1.present = "true"
|
|
ide1:1.deviceType = "ata-hardDisk"
|
|
ide1:1.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtDebian1/Debian1-IDE.vmdk"
|
|
floppy0.present = "true"
|
|
floppy0.fileType = "device"
|
|
floppy0.fileName = "/dev/fd0"
|
|
floppy1.present = "false"
|
|
ethernet0.present = "true"
|
|
ethernet0.virtualDev = "vlance"
|
|
ethernet0.networkName = "VM Network"
|
|
ethernet0.connectionType = "bridged"
|
|
ethernet0.addressType = "generated"
|
|
ethernet0.generatedAddress = "00:0c:29:3c:98:3e"
|
|
ethernet0.generatedAddressOffset = "0"
|