1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/xml2vmxdata
Doug Goldstein f8456e5a18 VMX: Add cdrom-raw dev type from VMWare Fusion
According to VMWare's documentation 'cdrom-raw' is an acceptable value
for deviceType for a CD-ROM drive. The documentation states that the VMX
configuration for a CD-ROM deviceType is as follows:

ide|scsi(n):(n).deviceType = "cdrom-raw|atapi-cdrom|cdrom-image"

From the documentation it appears the following is true:
- cdrom-image = Provides the ISO to the VM
- atapi-cdrom = Provides a NEC emulated ATAPI CD-ROM on top of the host
  CD-ROM
- cdrom-raw = Passthru for a host CD-ROM drive. Allows CD-R burning from
  within the guest.

A CD-ROM prior to this patch would always provide an 'atapi-cdrom' is
modeled as:
  <disk type='block' device='cdrom'>
    <source dev='/dev/scd0'/>
    <target dev='hda' bus='ide'/>
    <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  </disk>

This patch allows the 'device' attribute to be set to 'lun' for a raw
acccess CD-ROM such as:
  <disk type='block' device='lun'>
    <source dev='/dev/scd0'/>
    <target dev='hda' bus='ide'/>
    <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  </disk>
2013-09-02 17:41:30 -05:00
..
xml2vmx-annotation.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-annotation.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-cdrom-ide-device.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-cdrom-ide-device.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-cdrom-ide-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-cdrom-ide-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-cdrom-ide-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-cdrom-ide-raw-device.xml VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-cdrom-scsi-device.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-cdrom-scsi-device.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-cdrom-scsi-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-cdrom-scsi-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-cdrom-scsi-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-cdrom-scsi-raw-device.xml VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
xml2vmx-esx-in-the-wild-1.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-1.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-esx-in-the-wild-2.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-2.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-esx-in-the-wild-3.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-3.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-esx-in-the-wild-4.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-4.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-esx-in-the-wild-5.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-5.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-esx-in-the-wild-6.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-esx-in-the-wild-6.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-bridged.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-bridged.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-custom.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-custom.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-e1000.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-e1000.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-generated.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-ethernet-generated.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-nat.vmx vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00
xml2vmx-ethernet-nat.xml vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00
xml2vmx-ethernet-other.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-other.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-static.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-static.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-vmxnet2.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-vmxnet2.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ethernet-vpx.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-ethernet-vpx.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-floppy-device.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-floppy-device.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-floppy-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-floppy-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-graphics-vnc.vmx vmx: Add support for video device VRAM size 2011-01-06 18:18:35 +01:00
xml2vmx-graphics-vnc.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-gsx-in-the-wild-1.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-1.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-gsx-in-the-wild-2.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-2.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-gsx-in-the-wild-3.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-3.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-gsx-in-the-wild-4.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-gsx-in-the-wild-4.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-harddisk-ide-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-harddisk-ide-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-harddisk-scsi-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-harddisk-scsi-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-minimal-64bit.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-minimal-64bit.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-minimal.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-minimal.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-parallel-device.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-parallel-device.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-parallel-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-parallel-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-scsi-driver.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-scsi-driver.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-scsi-writethrough.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-scsi-writethrough.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-serial-device.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-serial-device.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-serial-file.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-serial-file.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-serial-network-client.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-serial-network-client.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-serial-network-server.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-serial-network-server.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-serial-pipe.vmx esx: Explictly declare VMX file content as UTF-8 2010-10-15 17:51:28 +02:00
xml2vmx-serial-pipe.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-sharedfolder.vmx vmx: handle shared folders formatting 2012-07-21 19:45:02 +02:00
xml2vmx-sharedfolder.xml vmx: handle shared folders formatting 2012-07-21 19:45:02 +02:00
xml2vmx-smbios.vmx esx: Support SMBIOS host mode 2010-11-11 19:18:19 +01:00
xml2vmx-smbios.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-svga.vmx vmx: Add support for video device VRAM size 2011-01-06 18:18:35 +01:00
xml2vmx-svga.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
xml2vmx-ws-in-the-wild-1.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-ws-in-the-wild-1.xml vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00
xml2vmx-ws-in-the-wild-2.vmx util: Change virMacAddrFormat to lowercase hex characters 2013-04-02 15:53:43 +02:00
xml2vmx-ws-in-the-wild-2.xml vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00