summaryrefslogtreecommitdiff
path: root/resources/xml/qcow.xml
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 10:34:04 -0500
committerJeff Carr <[email protected]>2024-10-26 10:34:04 -0500
commit783a06b050048e22aac9fcc1520ca43c40226f14 (patch)
tree64189bd86ea7f8cc68e327099e0c34543c15a27c /resources/xml/qcow.xml
parentca0d7ddde751a2d582a03f0ad70cec4c8c767145 (diff)
can write out working virsh xml
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'resources/xml/qcow.xml')
-rw-r--r--resources/xml/qcow.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/xml/qcow.xml b/resources/xml/qcow.xml
new file mode 100644
index 0000000..a131c7f
--- /dev/null
+++ b/resources/xml/qcow.xml
@@ -0,0 +1,11 @@
+<domain type='kvm'>
+ <devices>
+ <disk type='file' device='disk'>
+ <driver name='qemu' type='qcow2' />
+ <source file='/home/nfs/blank.qcow2'/>
+ <backingStore/>
+ <target dev='sda' bus='sata'/>
+ <address type='drive' controller='0' bus='0' target='0' unit='0'/>
+ </disk>
+ </devices>
+</domain>