summaryrefslogtreecommitdiff
path: root/files/vm.xml
blob: 8c832bab6e5fb4a1dfcf674574b1d5150955f727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<domain type='kvm' id='1'>
    <name>linuxbox</name>
    <memory unit='MiB'>512</memory>
    <vcpu>1</vcpu>
    <os>
        <type>hvm</type>
        <boot dev='hd'/>
        <boot dev='cdrom'/>
        <bootmenu enable='yes' timeout='2000'/>
        <bios useserial='yes' rebootTimeout='0'/>
    </os>
    <features>
        <acpi/>
        <apic/>
    </features>
    <devices>
        <disk type='file' device='disk'>
            <source file='/home/nathan/Downloads/qemu/vm.qcow2'/>
            <target dev='vda'/>
        </disk>
        <serial type='pty'>
            <target port='0'/>
        </serial>
        <console type='pty'>
            <target type='serial' port='0'/>
        </console>
        <console type='pty'>
            <target type='virtio'/>
        </console>
        <rng model="virtio">
            <backend model="random">/dev/urandom</backend>
        </rng>
    </devices>
</domain>