vmx2xml-esx-in-the-wild-4.xml 1.5 KB
Newer Older
1 2 3
<domain type='vmware'>
  <name>virtMonServ1</name>
  <uuid>564d9bef-acd9-b4e0-c8f0-aea8b9103515</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7 8 9
  <cputune>
    <shares>1000</shares>
  </cputune>
10 11 12 13 14 15 16 17 18
  <os>
    <type arch='i686'>hvm</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
M
Matthias Bolte 已提交
19
      <source file='[datastore] directory/virtMonServ1.vmdk'/>
20
      <target dev='sda' bus='scsi'/>
21
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
22
    </disk>
23
    <controller type='scsi' index='0' model='lsilogic'/>
24 25 26 27 28 29 30 31 32
    <interface type='bridge'>
      <mac address='00:50:56:91:66:d4'/>
      <source bridge='VM Network'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:50:56:91:0c:51'/>
      <source bridge='VM Switch 2'/>
    </interface>
    <serial type='file'>
M
Matthias Bolte 已提交
33
      <source path='[498076b2-02796c1a-ef5b-000ae484a6a3] virtMonServ1/serial1.file'/>
34 35 36
      <target port='0'/>
    </serial>
    <parallel type='file'>
M
Matthias Bolte 已提交
37
      <source path='[498076b2-02796c1a-ef5b-000ae484a6a3] virtMonServ1/parallel1.file'/>
38 39 40
      <target port='0'/>
    </parallel>
    <console type='file'>
M
Matthias Bolte 已提交
41
      <source path='[498076b2-02796c1a-ef5b-000ae484a6a3] virtMonServ1/serial1.file'/>
42
      <target type='serial' port='0'/>
43
    </console>
44
    <video>
45
      <model type='vmvga' vram='4096' primary='yes'/>
46
    </video>
47 48
  </devices>
</domain>