summaryrefslogtreecommitdiff
path: root/files/vm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'files/vm.xml')
-rw-r--r--files/vm.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/files/vm.xml b/files/vm.xml
new file mode 100644
index 0000000..8c832ba
--- /dev/null
+++ b/files/vm.xml
@@ -0,0 +1,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>