I used virt-manager:
<domain type='kvm' id='5'> <name>storage</name> <uuid>0175b337-5faf-42ba-d6a7-bb60ec8da4ad</uuid> <memory>1572864</memory> <currentMemory>1572864</currentMemory> <vcpu>1</vcpu> <os> <type arch='x86_64' machine='pc-0.12'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='file' device='disk'> <driver name='qemu'/> <source file='/var/vm/storage.img'/> <target dev='vda' bus='virtio'/> </disk> <disk type='block' device='cdrom'> <driver name='qemu'/> <target dev='hdc' bus='ide'/> <readonly/> </disk> <interface type='network'> <mac address='52:54:00:4a:80:1e'/> <source network='server'/> <target dev='vnet4'/> <model type='virtio'/> </interface> <console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target port='0'/> </console> <console type='pty' tty='/dev/pts/2'> <source path='/dev/pts/2'/> <target port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='5901' autoport='yes' keymap='it'/> <video> <model type='cirrus' vram='9216' heads='1'/> </video> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x03f0'/> <product id='0x0317'/> </source> </hostdev> </devices> <seclabel type='dynamic' model='apparmor'> <label>libvirt-0175b337-5faf-42ba-d6a7-bb60ec8da4ad</label> <imagelabel>libvirt-0175b337-5faf-42ba-d6a7-bb60ec8da4ad</imagelabel> </seclabel> </domain>
I used virt-manager:
<domain type='kvm' id='5'> storage< /name> 0175b337- 5faf-42ba- d6a7-bb60ec8da4 ad</uuid> 1572864< /memory> y>1572864< /currentMemory> 'pc-0.12' >hvm</type> destroy< /on_poweroff> restart< /on_reboot> restart< /on_crash> /usr/bin/ kvm</emulator> var/vm/ storage. img'/> '52:54: 00:4a:80: 1e'/> libvirt- 0175b337- 5faf-42ba- d6a7-bb60ec8da4 ad</label> >libvirt- 0175b337- 5faf-42ba- d6a7-bb60ec8da4 ad</imagelabel>
<name>
<uuid>
<memory>
<currentMemor
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine=
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<driver name='qemu'/>
<source file='/
<target dev='vda' bus='virtio'/>
</disk>
<disk type='block' device='cdrom'>
<driver name='qemu'/>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='network'>
<mac address=
<source network='server'/>
<target dev='vnet4'/>
<model type='virtio'/>
</interface>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5901' autoport='yes' keymap='it'/>
<video>
<model type='cirrus' vram='9216' heads='1'/>
</video>
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x03f0'/>
<product id='0x0317'/>
</source>
</hostdev>
</devices>
<seclabel type='dynamic' model='apparmor'>
<label>
<imagelabel
</seclabel>
</domain>