virt-install-w2k3-cdrom.xml 2.26 KB
Newer Older
1
<domain type="test">
2 3 4 5 6 7
  <name>foobar</name>
  <uuid>00000000-1111-2222-3333-444444444444</uuid>
  <memory>65536</memory>
  <currentMemory>65536</currentMemory>
  <vcpu>4</vcpu>
  <os>
8 9 10
    <type arch="i686">hvm</type>
    <boot dev="cdrom"/>
    <boot dev="hd"/>
11 12
  </os>
  <features>
13
    <pae/>
14 15 16 17 18
    <hyperv>
      <relaxed state="on"/>
      <vapic state="on"/>
      <spinlocks state="on" retries="8191"/>
    </hyperv>
19
  </features>
20 21
  <cpu>
    <topology sockets="1" cores="4" threads="1"/>
22 23 24
  </cpu>
  <clock offset="localtime"/>
  <on_reboot>destroy</on_reboot>
25 26 27 28
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
29 30
  <devices>
    <emulator>/usr/bin/test-hv</emulator>
31
    <disk type="file" device="disk">
32
      <source file="/dev/default-pool/testvol1.img"/>
33
      <target dev="hda" bus="ide"/>
34
    </disk>
35
    <disk type="file" device="cdrom">
36
      <source file="/dev/default-pool/testvol2.img"/>
37
      <target dev="hdb" bus="ide"/>
38 39
      <readonly/>
    </disk>
40 41 42
    <controller type="usb" index="0" model="none"/>
    <interface type="user">
      <mac address="00:11:22:33:44:55"/>
43
    </interface>
44
    <console type="pty"/>
45 46
  </devices>
</domain>
47
<domain type="test">
48 49 50 51 52 53
  <name>foobar</name>
  <uuid>00000000-1111-2222-3333-444444444444</uuid>
  <memory>65536</memory>
  <currentMemory>65536</currentMemory>
  <vcpu>4</vcpu>
  <os>
54 55
    <type arch="i686">hvm</type>
    <boot dev="hd"/>
56 57
  </os>
  <features>
58
    <pae/>
59 60 61 62 63
    <hyperv>
      <relaxed state="on"/>
      <vapic state="on"/>
      <spinlocks state="on" retries="8191"/>
    </hyperv>
64
  </features>
65 66
  <cpu>
    <topology sockets="1" cores="4" threads="1"/>
67 68
  </cpu>
  <clock offset="localtime"/>
69 70 71 72
  <pm>
    <suspend-to-mem enabled="no"/>
    <suspend-to-disk enabled="no"/>
  </pm>
73 74
  <devices>
    <emulator>/usr/bin/test-hv</emulator>
75
    <disk type="file" device="disk">
76
      <source file="/dev/default-pool/testvol1.img"/>
77
      <target dev="hda" bus="ide"/>
78
    </disk>
79
    <disk type="file" device="cdrom">
80
      <source file="/dev/default-pool/testvol2.img"/>
81
      <target dev="hdb" bus="ide"/>
82 83
      <readonly/>
    </disk>
84 85 86
    <controller type="usb" index="0" model="none"/>
    <interface type="user">
      <mac address="00:11:22:33:44:55"/>
87
    </interface>
88
    <console type="pty"/>
89 90
  </devices>
</domain>