mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: Add support for emulatorsched
Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
40
tests/genericxml2xmloutdata/cputune.xml
Normal file
40
tests/genericxml2xmloutdata/cputune.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<domain type='qemu'>
|
||||
<name>QEMUGuest1</name>
|
||||
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
||||
<memory unit='KiB'>219100</memory>
|
||||
<currentMemory unit='KiB'>219100</currentMemory>
|
||||
<vcpu placement='static'>4</vcpu>
|
||||
<iothreads>4</iothreads>
|
||||
<cputune>
|
||||
<shares>2048</shares>
|
||||
<period>1000000</period>
|
||||
<quota>-1</quota>
|
||||
<vcpupin vcpu='0' cpuset='0'/>
|
||||
<vcpupin vcpu='1' cpuset='1'/>
|
||||
<emulatorpin cpuset='1'/>
|
||||
<emulatorsched scheduler='fifo' priority='2'/>
|
||||
<vcpusched vcpus='0' scheduler='fifo' priority='1'/>
|
||||
<vcpusched vcpus='1' scheduler='fifo' priority='1'/>
|
||||
<vcpusched vcpus='2' scheduler='idle'/>
|
||||
<vcpusched vcpus='3' scheduler='idle'/>
|
||||
<iothreadsched iothreads='1' scheduler='batch'/>
|
||||
<iothreadsched iothreads='2' scheduler='rr' priority='99'/>
|
||||
<iothreadsched iothreads='3' scheduler='batch'/>
|
||||
</cputune>
|
||||
<os>
|
||||
<type arch='x86_64' machine='q35'>hvm</type>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<features>
|
||||
<smm state='on'>
|
||||
<tseg unit='MiB'>48</tseg>
|
||||
</smm>
|
||||
</features>
|
||||
<clock offset='utc'/>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>destroy</on_crash>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
</devices>
|
||||
</domain>
|
||||
Reference in New Issue
Block a user