2023-02-10 11:40:04 +00:00
|
|
|
<domain type='kvm'>
|
|
|
|
<name>cloudhypervisor</name>
|
|
|
|
<uuid>4dea22b3-1d52-d8f3-2516-782e98ab3fa0</uuid>
|
|
|
|
<memory unit='KiB'>2097152</memory>
|
|
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
|
|
<vcpu placement='static'>2</vcpu>
|
|
|
|
<os>
|
|
|
|
<type arch='x86_64'>hvm</type>
|
2023-08-24 12:44:39 +00:00
|
|
|
<kernel>/path/to/hypervisor-fw</kernel>
|
2023-02-10 11:40:04 +00:00
|
|
|
<boot dev='hd'/>
|
|
|
|
</os>
|
|
|
|
<clock offset='utc'/>
|
|
|
|
<on_poweroff>destroy</on_poweroff>
|
|
|
|
<on_reboot>restart</on_reboot>
|
|
|
|
<on_crash>destroy</on_crash>
|
|
|
|
<devices>
|
|
|
|
<emulator>/usr/local/bin/cloud-hypervisor</emulator>
|
|
|
|
<disk type='file' device='disk'>
|
2023-08-24 12:44:39 +00:00
|
|
|
<source file='/path/to/disk.raw'/>
|
2023-02-10 11:40:04 +00:00
|
|
|
<target dev='vda' bus='virtio'/>
|
|
|
|
</disk>
|
|
|
|
<interface type='ethernet'>
|
|
|
|
<mac address='52:54:00:5c:e4:84'/>
|
|
|
|
<model type='virtio'/>
|
|
|
|
</interface>
|
|
|
|
<console type='pty'>
|
|
|
|
<target type='serial' port='0'/>
|
|
|
|
</console>
|
|
|
|
</devices>
|
|
|
|
</domain>
|