bab64051de
Updates for running with vhost-blk. Removed checking & cloning Qemu sources - should be already installed in working directory. Some other minor fixes for typos. Change-Id: Ifd790a301c8ca1e19434f03ba32f5eb916dbe0a6 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.gerrithub.io/373897 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
69 lines
2.2 KiB
XML
69 lines
2.2 KiB
XML
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
|
<name></name>
|
|
<memory unit='GiB'>4</memory>
|
|
<currentMemory unit='GiB'>4</currentMemory>
|
|
<vcpu placement='static'>8</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></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=''/>
|
|
<source network=''/>
|
|
<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=4096M,mem-path=/dev/hugepages,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.0'/>
|
|
<qemu:arg value='-device'/>
|
|
<qemu:arg value='vhost_dev_args,chardev=char0'/>
|
|
</qemu:commandline>
|
|
</domain>
|