]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/test/vhost/ext4test/spdk_vm_base.xml
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / spdk / test / vhost / ext4test / spdk_vm_base.xml
diff --git a/ceph/src/spdk/test/vhost/ext4test/spdk_vm_base.xml b/ceph/src/spdk/test/vhost/ext4test/spdk_vm_base.xml
new file mode 100644 (file)
index 0000000..9fb9e22
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
+  <name/>
+  <memory unit="GiB">2</memory>
+  <currentMemory unit="GiB">2</currentMemory>
+  <vcpu placement="static">4</vcpu>
+  <os>
+    <type arch="x86_64" machine="pc-i440fx-1.6">hvm</type>
+    <boot dev="hd"/>
+  </os>
+  <features>
+    <acpi/>
+    <apic/>
+    <pae/>
+  </features>
+  <cpu mode="host-model">
+    <model fallback="allow"/>
+  </cpu>
+  <clock offset="utc"/>
+  <on_poweroff>destroy</on_poweroff>
+  <on_reboot>restart</on_reboot>
+  <on_crash>destroy</on_crash>
+  <devices>
+    <emulator/>
+    <disk type="file" device="disk">
+      <driver name="qemu" type="qcow2"/>
+      <source file=""/>
+      <backingStore/>
+      <target dev="hda" bus="ide"/>
+      <address type="drive" domain="0" bus="0" slot="0" function="0"/>
+    </disk>
+    <controller type="usb" index="0">
+      <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x2"/>
+    </controller>
+    <controller type="pci" index="0" model="pci-root"/>
+    <interface type="network">
+      <mac address="02:de:ad:de:ad:01"/>
+      <source network="test_net"/>
+      <model type="virtio"/>
+      <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
+    </interface>
+    <serial type="pty">
+      <target port="0"/>
+    </serial>
+    <console type="pty">
+      <target type="serial" port="0"/>
+    </console>
+    <input type="mouse" bus="ps2"/>
+    <input type="keyboard" bus="ps2"/>
+    <graphics type="vnc" port="-1" autoport="yes"/>
+    <video>
+      <model type="cirrus" vram="16384" heads="1"/>
+      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
+    </video>
+    <memballoon model="virtio">
+      <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
+    </memballoon>
+  </devices>
+  <qemu:commandline>
+    <qemu:arg value="-object"/>
+    <qemu:arg value="memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on"/>
+    <qemu:arg value="-numa"/>
+    <qemu:arg value="node,memdev=mem"/>
+    <qemu:arg value="-chardev"/>
+    <qemu:arg value="socket,id=char0,path=/tmp/naa.123"/>
+    <qemu:arg value="-device"/>
+    <qemu:arg value="vhost-user-scsi-pci,id=scsi0,chardev=char0"/>
+  </qemu:commandline>
+</domain>