mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
esx: Explicitly disable unused floppy devices
floppy0.present defaults to true. Therefore, it needs to be explicitly set to false when the XML config doesn't specify the corresponding floppy device. Also update tests accordingly.
This commit is contained in:
@@ -8,3 +8,5 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "atapi-cdrom"
|
||||
ide0:0.fileName = "/dev/scd0"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -8,3 +8,5 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "cdrom-image"
|
||||
ide0:0.fileName = "/vmfs/volumes/testing/isos/cdrom.iso"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -9,3 +9,5 @@ scsi0.present = "true"
|
||||
scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "atapi-cdrom"
|
||||
scsi0:0.fileName = "/dev/scd0"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -9,3 +9,5 @@ scsi0.present = "true"
|
||||
scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "cdrom-image"
|
||||
scsi0:0.fileName = "/vmfs/volumes/testing/isos/cdrom.iso"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -10,6 +10,8 @@ scsi0.virtualDev = "lsilogic"
|
||||
scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "scsi-hardDisk"
|
||||
scsi0:0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/Fedora11/Fedora11.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -30,6 +30,7 @@ ide1:1.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtDebian1
|
||||
floppy0.present = "true"
|
||||
floppy0.fileType = "device"
|
||||
floppy0.fileName = "/dev/fd0"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.virtualDev = "vlance"
|
||||
ethernet0.networkName = "VM Network"
|
||||
|
||||
@@ -17,6 +17,7 @@ ide0:0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/Isos/debian
|
||||
floppy1.present = "true"
|
||||
floppy1.fileType = "file"
|
||||
floppy1.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/Debian2/dummy.flp"
|
||||
floppy0.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -10,6 +10,8 @@ scsi0.virtualDev = "lsilogic"
|
||||
scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "scsi-hardDisk"
|
||||
scsi0:0.fileName = "/vmfs/volumes/498076b2-02796c1a-ef5b-000ae484a6a3/virtMonServ1/virtMonServ1.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-bridged"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-custom"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "custom"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-e1000"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.virtualDev = "e1000"
|
||||
ethernet0.networkName = "VM Network"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-generated"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-static"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-static"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-vmxnet2"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.virtualDev = "vmxnet"
|
||||
ethernet0.features = "15"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "ethernet-vpx"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "VM Network"
|
||||
ethernet0.connectionType = "bridged"
|
||||
|
||||
@@ -8,3 +8,4 @@ numvcpus = "1"
|
||||
floppy0.present = "true"
|
||||
floppy0.fileType = "device"
|
||||
floppy0.fileName = "/dev/fd0"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -8,3 +8,4 @@ numvcpus = "1"
|
||||
floppy0.present = "true"
|
||||
floppy0.fileType = "file"
|
||||
floppy0.fileName = "/vmfs/volumes/testing/floppy.flp"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -9,3 +9,5 @@ RemoteDisplay.vnc.enabled = "true"
|
||||
RemoteDisplay.vnc.port = "5903"
|
||||
RemoteDisplay.vnc.keymap = "de"
|
||||
RemoteDisplay.vnc.password = "password"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -8,6 +8,8 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "ata-hardDisk"
|
||||
ide0:0.fileName = "/vmfs/volumes/storage/Server1/Debian-System1-0-cl2.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "net1"
|
||||
ethernet0.connectionType = "custom"
|
||||
|
||||
@@ -8,6 +8,8 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "ata-hardDisk"
|
||||
ide0:0.fileName = "/vmfs/volumes/storage/Server2/Debian-System1-0-cl3.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "net1"
|
||||
ethernet0.connectionType = "custom"
|
||||
|
||||
@@ -8,6 +8,8 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "ata-hardDisk"
|
||||
ide0:0.fileName = "/vmfs/volumes/storage/Router/Debian-System1-0-cl1.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "net1"
|
||||
ethernet0.connectionType = "custom"
|
||||
|
||||
@@ -8,6 +8,8 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "ata-hardDisk"
|
||||
ide0:0.fileName = "/vmfs/volumes/storage/Client/Debian-System1-0-cl2.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
ethernet0.present = "true"
|
||||
ethernet0.networkName = "net2"
|
||||
ethernet0.connectionType = "custom"
|
||||
|
||||
@@ -8,3 +8,5 @@ numvcpus = "1"
|
||||
ide0:0.present = "true"
|
||||
ide0:0.deviceType = "ata-hardDisk"
|
||||
ide0:0.fileName = "/vmfs/volumes/datastore/directory/harddisk.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -9,3 +9,5 @@ scsi0.present = "true"
|
||||
scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "scsi-hardDisk"
|
||||
scsi0:0.fileName = "/vmfs/volumes/datastore/directory/harddisk.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -5,3 +5,5 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "minimal-64bit"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -5,3 +5,5 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "minimal"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "parallel-device"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
parallel0.present = "true"
|
||||
parallel0.fileType = "device"
|
||||
parallel0.fileName = "/dev/parallel0"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "parallel-file"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
parallel0.present = "true"
|
||||
parallel0.fileType = "file"
|
||||
parallel0.fileName = "/vmfs/volumes/datastore/directory/parallel0.file"
|
||||
|
||||
@@ -25,3 +25,5 @@ scsi2:0.fileName = "/vmfs/volumes/datastore/directory/harddisk3.vmdk"
|
||||
scsi3:0.present = "true"
|
||||
scsi3:0.deviceType = "scsi-hardDisk"
|
||||
scsi3:0.fileName = "/vmfs/volumes/datastore/directory/harddisk4.vmdk"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -11,3 +11,5 @@ scsi0:0.present = "true"
|
||||
scsi0:0.deviceType = "scsi-hardDisk"
|
||||
scsi0:0.fileName = "/vmfs/volumes/datastore/directory/harddisk.vmdk"
|
||||
scsi0:0.writeThrough = "true"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "serial-device"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
serial0.present = "true"
|
||||
serial0.fileType = "device"
|
||||
serial0.fileName = "/dev/ttyS0"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "serial-file"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
serial0.present = "true"
|
||||
serial0.fileType = "file"
|
||||
serial0.fileName = "/vmfs/volumes/datastore/directory/serial0.file"
|
||||
|
||||
@@ -5,6 +5,8 @@ uuid.bios = "56 4d 9b ef ac d9 b4 e0-c8 f0 ae a8 b9 10 35 15"
|
||||
displayName = "serial-pipe"
|
||||
memsize = "4"
|
||||
numvcpus = "1"
|
||||
floppy0.present = "false"
|
||||
floppy1.present = "false"
|
||||
serial0.present = "true"
|
||||
serial0.fileType = "pipe"
|
||||
serial0.pipe.endPoint = "client"
|
||||
|
||||
Reference in New Issue
Block a user