source: lab/trunk/TipAndDoc/kvm/test.xml @ 137

Last change on this file since 137 was 137, checked in by mitty, 12 years ago
  • new VM with virt-manager on Fedora 16 x86_64
File size: 2.0 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  <clock offset='utc'/>
24  <on_poweroff>destroy</on_poweroff>
25  <on_reboot>restart</on_reboot>
26  <on_crash>restart</on_crash>
27  <devices>
28    <emulator>/usr/bin/qemu-kvm</emulator>
29    <disk type='file' device='disk'>
30      <driver name='qemu' type='raw'/>
31      <source file='/var/lib/libvirt/images/test.img'/>
32      <target dev='hda' bus='ide'/>
33      <address type='drive' controller='0' bus='0' unit='0'/>
34    </disk>
35    <disk type='block' device='cdrom'>
36      <driver name='qemu' type='raw'/>
37      <target dev='hdc' bus='ide'/>
38      <readonly/>
39      <address type='drive' controller='0' bus='1' unit='0'/>
40    </disk>
41    <controller type='ide' index='0'>
42      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
43    </controller>
44    <interface type='network'>
45      <mac address='52:54:00:02:8d:82'/>
46      <source network='default'/>
47      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
48    </interface>
49    <serial type='pty'>
50      <target port='0'/>
51    </serial>
52    <console type='pty'>
53      <target type='serial' port='0'/>
54    </console>
55    <input type='mouse' bus='ps2'/>
56    <graphics type='vnc' port='-1' autoport='yes'/>
57    <video>
58      <model type='cirrus' vram='9216' heads='1'/>
59      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
60    </video>
61    <memballoon model='virtio'>
62      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
63    </memballoon>
64  </devices>
65</domain>
Note: See TracBrowser for help on using the repository browser.