Understanding VMware vmx configuration files-virtual machine configuration file

Source: Internet
Author: User

. Encoding = "GBK"
Config. Version = "8"
Virtualhw. Version = "9"
Scsi0.present = "true"
Scsi0.virtualdev = "lsilogic"
Disk. Locking = "false"
Memsize = "512"
Scsi0: 0. Present = "true"
Scsi0: 0. filename = "rac1.vmdk"
Ide1: 0. Present = "true"
Ide1: 0. autodetect = "true"
Ide1: 0. devicetype = "CDROM-raw"
Ethernet0.present = "true"
Ethernet0.wakeonpcktrcv = "false"
Ethernet0.addresstype = "generated"
USB. Present = "true"
EHCI. Present = "true"
EHCI. pcislotnumber = "35"
Sound. Present = "true"
Sound. filename = "-1"
Sound. autodetect = "true"
Serial0.present = "true"
Serial0.filetype = "thinprint"
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"
Hpet0.present = "true"
USB. vbluetooth. startconnected = "true"
Displayname = "Rac1"
Guestos = "RHEL4"
NVRAM = "rac1.nvram"
Virtualhw. productcompatibility = "hosted"
Powertype. poweroff = "hard"
Powertype. poweron = "hard"
Powertype. Suspend = "hard"
Powertype. Reset = "hard"
Extendedconfigfile = "rac1.vmxf"
Ide1: 0. filename = "Auto Detect"
Scsi0.pcislotnumber = "16"
Ethernet0.generatedaddress = "00: 0C: 29: 86: 7A: 36"
Ethernet0.pcislotnumber = "33"
USB. pcislotnumber = "32"
Sound. pcislotnumber = "34"
Virtual Private cloud (vmci0.id = "1837529654"
Vmci0.pcislotnumber = "36"
UUID. Location = "56 4D 48 15 C2 2E 74 a2-23 36 DC 53 6D 86 7A 36"
UUID. BIOS = "56 4D 48 15 C2 2E 74 a2-23 36 DC 53 6D 86 7A 36"
Cleanshutdown = "true"
Replay. supported = "false"
Replay. filename = ""
Scsi0: 0. Redo = ""
Pcibridge0.pcislotnumber = "17"
Pcibridge4.pcislotnumber = "21"
Pcibridge5.pcislotnumber = "22"
Pcibridge6.pcislotnumber = "23"
Pcibridge7.pcislotnumber = "24"
USB: 0. Present = "true"
USB: 1. Present = "true"
Ethernet0.generatedaddressoffset = "0"
Tools. remindinstall = "true"
Vmotion. checkpointfbsize = "33554432"
Softpoweroff = "true"
USB: 0. devicetype = "hid"
USB: 0. Port = "0"
USB: 0. Parent = "-1"
USB: 1. speed = "2"
USB: 1. devicetype = "Hub"
USB: 1. Port = "1"
USB: 1. Parent = "-1"
Scsi1.present = "true"
Scsi1.virtualdev = "lsilogic"
Ethernet1.present = "true"
Ethernet1.wakeonpcktrcv = "false"
Ethernet1.addresstype = "generated"
Scsi1: 1. Present = "true"
Scsi1: 1. filename = "H: \ sharedisk. vmdk"
Scsi1: 1. mode = "independent-persistent"
Scsi1: 0. Present = "false"

Floppy0.present = "false"

The displayname is
What is used on the VMware tab to identify the virtual machine. this can be whatever you want to make it but I suggest something short that still uniquely identifies the virtual machine. in this case, our virtual machine is called "Rac1 ".

The memory of the virtual machine is determined by the memsize line.
In our case, our memory is 512 because of memsize = 512. While you can set the memory
To whatever size you want, it must be a multiple of 4.

The guestos is
One of these possible values: guestos

The virtualhw. version is
A required parameter. It tells VMware what vmware version this vmx is meant for. All VMware vmx files that run on workstation, player, or server are version 4. Thus, you need virtualhw. Version
= "4"

As
VMware disk drives can either be ide or SCSI, you will see both represented in the vmx file. the vmx doesn't tell you the size of the virtual hard drives, nor the full path. it does tell you the name of the vmdk, VMWare virtual disk file. in our case, this
Looks like:

Ide0: 0. filename
= "Windows XP Professional. vmdk"

  • The only 3 parameters required to make a vmx file are:
  1. Virtualhw. Version = "4"
  2. Config. Version = "4"
  3. Guestos = "winxppro"

If you have a line like scsi0.present = "true" or ide0.present = "true", the VMware product looks for further config for these devices. If this is set to false, then any further
Config is ignored.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.