[libvirt] [PATCH] XML file used to test libvirt proxy FS support

M. Mohan Kumar mohan at in.ibm.com
Tue Jan 17 05:29:39 UTC 2012


From: "M. Mohan Kumar" <mohan at in.ibm.com>


Signed-off-by: M. Mohan Kumar <mohan at in.ibm.com>
---

diff --git a/test.xml b/test.xml
new file mode 100644
index 0000000..46fc6fc
--- /dev/null
+++ b/patch/test.xml
@@ -0,0 +1,39 @@
+<domain type='kvm'>
+  <name>test_vm</name>
+  <uuid>7e359ba6-3833-dfe0-6c31-c09fcfad169b</uuid>
+  <memory>524288</memory>
+  <currentMemory>524288</currentMemory>
+  <vcpu>1</vcpu>
+  <os>
+    <type arch='x86_64' machine='pc'>hvm</type>
+    <kernel>/vm/bzImage</kernel>
+    <cmdline>root=/dev/vda console=ttyS0 noapic</cmdline>
+  </os>
+  <features>
+    <acpi/>
+  </features>
+  <clock offset='utc'/>
+  <on_poweroff>destroy</on_poweroff>
+  <on_reboot>restart</on_reboot>
+  <on_crash>destroy</on_crash>
+  <devices>
+    <emulator>/test/bin/qemu-system-x86_64</emulator>
+    <virtfs-proxy-helper>/test/bin/virtfs-proxy-helper</virtfs-proxy-helper>
+
+    <disk type='file' device='disk'>
+      <source file='/vm/guest_64'/>
+      <target dev='vda' bus='virtio'/>
+    </disk>
+<graphics type="vnc" port="5910" listen="127.0.0.1" keymap="en-us"/>
+    <interface type='user'>
+      <mac address='52:54:00:38:c4:ea'/>
+      <model type='virtio'/>
+    </interface>
+    <filesystem type='mount'>
+    <driver type ='proxy'/>
+    <source dir='/share'/>
+    <target dir='v_pass'/>
+    </filesystem>
+  </devices>
+</domain>
+
-- 
1.7.6




More information about the libvir-list mailing list