test-paravirt-vcpu.xml 1.1 KB
Newer Older
1 2 3
<domain type='xen'>
  <name>XenGuest1</name>
  <uuid>c7a5fdb0-cdaf-9455-926a-d65c16db1809</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>592896</memory>
  <currentMemory unit='KiB'>403456</currentMemory>
6
  <vcpu placement='static' current='2'>4</vcpu>
7 8
  <bootloader>/usr/bin/pygrub</bootloader>
  <os>
9
    <type arch='x86_64' machine='xenpv'>linux</type>
10
    <cmdline>console=hvc0</cmdline>
11
  </os>
P
Philipp Hahn 已提交
12
  <clock offset='utc' adjustment='reset'/>
13 14 15 16 17
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='block' device='disk'>
18
      <driver name='phy' type='raw'/>
19 20 21
      <source dev='/dev/HostVG/XenGuest1'/>
      <target dev='xvda' bus='xen'/>
    </disk>
22
    <controller type='xenbus' index='0'/>
23 24 25 26 27 28 29 30
    <interface type='bridge'>
      <mac address='00:16:3e:66:94:9c'/>
      <source bridge='br0'/>
      <script path='vif-bridge'/>
    </interface>
    <console type='pty'>
      <target type='xen' port='0'/>
    </console>
P
Pavel Hrdina 已提交
31 32
    <input type='mouse' bus='xen'/>
    <input type='keyboard' bus='xen'/>
33
    <memballoon model='xen'/>
34 35
  </devices>
</domain>