Project

General

Profile

Demande #1643 ยป pavot.xml

pavot.xml libvirt definition - Vincent-Xavier JUMEL, 02/08/2015 04:03 PM

 
1
<domain type='kvm' id='19'>
2
  <name>pavot</name>
3
  <uuid>5ba6c2cf-41cd-b8d8-936b-e58e90cbf19d</uuid>
4
  <memory unit='KiB'>12582912</memory>
5
  <currentMemory unit='KiB'>12582912</currentMemory>
6
  <vcpu placement='static'>6</vcpu>
7
  <os>
8
    <type arch='x86_64' machine='pc-1.1'>hvm</type>
9
    <kernel>/var/lib/libvirt/boot/pavot/vmlinuz-2.6.32-bpo.3-vserver-amd64</kernel>
10
    <initrd>/var/lib/libvirt/boot/pavot/initrd.img-2.6.32-bpo.3-vserver-amd64</initrd>
11
    <cmdline>root=/dev/sda2 ro verbose</cmdline>
12
    <boot dev='hd'/>
13
  </os>
14
  <features>
15
    <acpi/>
16
    <apic/>
17
    <pae/>
18
  </features>
19
  <clock offset='utc'/>
20
  <on_poweroff>destroy</on_poweroff>
21
  <on_reboot>restart</on_reboot>
22
  <on_crash>restart</on_crash>
23
  <devices>
24
    <emulator>/usr/bin/kvm</emulator>
25
    <disk type='block' device='disk'>
26
      <driver name='qemu' type='raw'/>
27
      <source dev='/dev/vm/pavot'/>
28
      <target dev='sda' bus='sata'/>
29
      <alias name='sata0-0-0'/>
30
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
31
    </disk>
32
    <controller type='sata' index='0'>
33
      <alias name='sata0'/>
34
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
35
    </controller>
36
    <controller type='usb' index='0'>
37
      <alias name='usb0'/>
38
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
39
    </controller>
40
    <controller type='virtio-serial' index='0'>
41
      <alias name='virtio-serial0'/>
42
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
43
    </controller>
44
    <interface type='network'>
45
      <mac address='52:54:00:1e:52:89'/>
46
      <source network='default'/>
47
      <target dev='vnet0'/>
48
      <alias name='net0'/>
49
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
50
    </interface>
51
    <serial type='pty'>
52
      <source path='/dev/pts/2'/>
53
      <target port='0'/>
54
      <alias name='serial0'/>
55
    </serial>
56
    <console type='pty' tty='/dev/pts/2'>
57
      <source path='/dev/pts/2'/>
58
      <target type='serial' port='0'/>
59
      <alias name='serial0'/>
60
    </console>
61
    <console type='pty'>
62
      <source path='/dev/pts/3'/>
63
      <target type='virtio' port='1'/>
64
      <alias name='console1'/>
65
    </console>
66
    <input type='mouse' bus='ps2'/>
67
    <graphics type='vnc' port='5900' autoport='yes' keymap='fr'/>
68
    <video>
69
      <model type='cirrus' vram='9216' heads='1'/>
70
      <alias name='video0'/>
71
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
72
    </video>
73
    <memballoon model='virtio'>
74
      <alias name='balloon0'/>
75
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
76
    </memballoon>
77
  </devices>
78
  <seclabel type='none'/>
79
</domain>
    (1-1/1)