source: lab.git/TipAndDoc/kvm/test.xml @ 8c3e911

trunk
Last change on this file since 8c3e911 was 92369e8, checked in by mitty <mitty@…>, 13 years ago

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@138 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<!--
2WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
3OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
4  virsh edit test
5or other application using the libvirt API.
6-->
7
8<domain type='kvm'>
9  <name>test</name>
10  <uuid>a1d54dc0-77f3-317c-edbe-1086629ee111</uuid>
11  <memory>524288</memory>
12  <currentMemory>524288</currentMemory>
13  <vcpu>1</vcpu>
14  <os>
15    <type arch='x86_64' machine='pc-0.14'>hvm</type>
16    <boot dev='hd'/>
17  </os>
18  <features>
19    <acpi/>
20    <apic/>
21    <pae/>
22  </features>
23  <cpu match='exact'>
24    <model>Nehalem</model>
25    <vendor>Intel</vendor>
26    <feature policy='require' name='rdtscp'/>
27    <feature policy='require' name='ss'/>
28    <feature policy='require' name='hypervisor'/>
29    <feature policy='require' name='vme'/>
30    <feature policy='require' name='ds'/>
31    <feature policy='require' name='vmx'/>
32    <feature policy='require' name='acpi'/>
33  </cpu>
34  <clock offset='utc'/>
35  <on_poweroff>destroy</on_poweroff>
36  <on_reboot>restart</on_reboot>
37  <on_crash>restart</on_crash>
38  <devices>
39    <emulator>/usr/bin/qemu-kvm</emulator>
40    <disk type='file' device='disk'>
41      <driver name='qemu' type='raw'/>
42      <source file='/var/lib/libvirt/images/test.img'/>
43      <target dev='hda' bus='ide'/>
44      <address type='drive' controller='0' bus='0' unit='0'/>
45    </disk>
46    <disk type='block' device='cdrom'>
47      <driver name='qemu' type='raw'/>
48      <target dev='hdc' bus='ide'/>
49      <readonly/>
50      <address type='drive' controller='0' bus='1' unit='0'/>
51    </disk>
52    <controller type='ide' index='0'>
53      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
54    </controller>
55    <interface type='network'>
56      <mac address='52:54:00:02:8d:82'/>
57      <source network='default'/>
58      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
59    </interface>
60    <serial type='pty'>
61      <target port='0'/>
62    </serial>
63    <console type='pty'>
64      <target type='serial' port='0'/>
65    </console>
66    <input type='mouse' bus='ps2'/>
67    <graphics type='vnc' port='-1' autoport='yes'/>
68    <video>
69      <model type='cirrus' vram='9216' heads='1'/>
70      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
71    </video>
72    <memballoon model='virtio'>
73      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
74    </memballoon>
75  </devices>
76</domain>
Note: See TracBrowser for help on using the repository browser.