mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-09-30 18:36:24 +00:00
78 lines
2.5 KiB
XML
78 lines
2.5 KiB
XML
<domain type='kvm' id='19'>
|
|
<name>generic3</name>
|
|
<memory unit='KiB'>1048576</memory>
|
|
<currentMemory unit='KiB'>1048576</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<resource>
|
|
<partition>/machine</partition>
|
|
</resource>
|
|
<os>
|
|
<type arch='x86_64' machine='pc-i440fx-2.12'>hvm</type>
|
|
<boot dev='cdrom'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
<vmport state='off'/>
|
|
</features>
|
|
<cpu mode='custom' match='exact' check='full'>
|
|
<model fallback='forbid'>Skylake-Client-IBRS</model>
|
|
<feature policy='require' name='hypervisor'/>
|
|
</cpu>
|
|
<clock offset='utc'>
|
|
<timer name='rtc' tickpolicy='catchup'/>
|
|
<timer name='pit' tickpolicy='delay'/>
|
|
<timer name='hpet' present='no'/>
|
|
</clock>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<pm>
|
|
<suspend-to-mem enabled='no'/>
|
|
<suspend-to-disk enabled='no'/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source file='/nix/store/818c4dbnvvfwb2928bycfds7l29zvnbl-nixos-18.09pre144732.2171fc4d55b-x86_64-linux.iso/iso/nixos-18.09pre144732.2171fc4d55b-x86_64-linux.iso'/>
|
|
<backingStore/>
|
|
<target dev='hda' bus='ide'/>
|
|
<readonly/>
|
|
<alias name='ide0-0-0'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<filesystem type='mount' accessmode='passthrough'>
|
|
<source dir='/home/user/appvm/chromium'/>
|
|
<target dir='app-home'/>
|
|
<alias name='fs0'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
</filesystem>
|
|
<input type='mouse' bus='ps2'>
|
|
<alias name='input0'/>
|
|
</input>
|
|
<input type='keyboard' bus='ps2'>
|
|
<alias name='input1'/>
|
|
</input>
|
|
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
|
|
<listen type='address' address='127.0.0.1'/>
|
|
<image compression='off'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='qxl' ram='524288' vram='1048576' vgamem='262144' heads='1' primary='yes'/>
|
|
<alias name='video0'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
</video>
|
|
<memballoon model='virtio'>
|
|
<stats period='5'/>
|
|
<alias name='balloon0'/>
|
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
</memballoon>
|
|
</devices>
|
|
<seclabel type='dynamic' model='dac' relabel='yes'>
|
|
<label>+77:+77</label>
|
|
<imagelabel>+77:+77</imagelabel>
|
|
</seclabel>
|
|
</domain>
|
|
|