Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
QNAP libvirt domain xml with VT-x support
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm" id="7">
<name>esxi</name>
<uuid>1e3dc21c-31ab-4d97-ad96-43696346654d</uuid>
<metadata>
<record creation="2016-10-06 10:17:54.584993" forceshutdown="8" start="5"/>
</metadata>
<memory unit="KiB">8388608</memory>
<currentMemory unit="KiB">8388608</currentMemory>
<vcpu placement="static">2</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch="x86_64" machine="pc-q35-2.3">hvm</type>
<boot dev="hd"/>
<boot dev="cdrom"/>
<bootmenu enable="no"/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
<kvm>
<hidden state="on"/>
</kvm>
<vmport state="off"/>
</features>
<cpu mode="host-passthrough">
<feature policy="require" name="vmx"/>
</cpu>
<clock offset="localtime"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<pm>
<suspend-to-mem enabled="no"/>
<suspend-to-disk enabled="no"/>
</pm>
<devices>
<emulator>/KVM/opt/bin/qemu-system-x86_64</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="writethrough"/>
<source file="/share/CACHEDEV1_DATA/Public/esxi.img" startupPolicy="optional"/>
<backingStore/>
<target dev="sda" bus="sata"/>
<alias name="sata0-0-0"/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<source file="/share/CACHEDEV2_DATA/Media/Downloads/VMware vSphere 6/VMware ESXi 6/VMware-VMvisor-Installer-6.0.0.update02-3620759.x86_64.iso" startupPolicy="optional"/>
<backingStore/>
<target dev="sdc" bus="scsi"/>
<readonly/>
<alias name="scsi0-0-2"/>
<address type="drive" controller="0" bus="0" target="0" unit="2"/>
</disk>
<controller type="usb" index="0" model="ich9-ehci1">
<alias name="usb"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x7"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci1">
<alias name="usb"/>
<master startport="0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0" multifunction="on"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci2">
<alias name="usb"/>
<master startport="2"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x1"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci3">
<alias name="usb"/>
<master startport="4"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x2"/>
</controller>
<controller type="scsi" index="0">
<alias name="scsi0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
</controller>
<controller type="pci" index="0" model="pcie-root">
<alias name="pcie.0"/>
</controller>
<controller type="pci" index="1" model="dmi-to-pci-bridge">
<model name="i82801b11-bridge"/>
<alias name="pci.1"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x1e" function="0x0"/>
</controller>
<controller type="pci" index="2" model="pci-bridge">
<model name="pci-bridge"/>
<target chassisNr="2"/>
<alias name="pci.2"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x01" function="0x0"/>
</controller>
<controller type="sata" index="0">
<alias name="ide"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
</controller>
<interface type="bridge">
<mac address="52:54:00:81:b1:9b"/>
<source bridge="br2"/>
<target dev="veth0"/>
<model type="e1000"/>
<alias name="net0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
<input type="tablet" bus="usb">
<alias name="input0"/>
</input>
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
<graphics type="vnc" port="5900" autoport="yes" listen="0.0.0.0" keymap="en-us">
<listen type="address" address="0.0.0.0"/>
</graphics>
<video>
<model type="vmvga" vram="16384" heads="1"/>
<alias name="video0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
</video>
<memballoon model="virtio">
<alias name="balloon0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
</memballoon>
</devices>
<qemu:commandline>
<qemu:arg value="-k"/>
<qemu:arg value="en-us"/>
<qemu:arg value="-cpu"/>
<qemu:arg value="host"/>
</qemu:commandline>
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.