libvirt: adjust domain xml template for upstream PVH format
The final PVH support upstream use different machine type name.
This commit is contained in:
parent
322306ec65
commit
adcc9d7e77
@ -882,7 +882,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<feature name='smap' policy='disable'/>
|
<feature name='smap' policy='disable'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch="x86_64" machine="xenfv">pvh</type>
|
<type arch="x86_64" machine="xenpvh">xenpvh</type>
|
||||||
<kernel>/tmp/kernel/vmlinuz</kernel>
|
<kernel>/tmp/kernel/vmlinuz</kernel>
|
||||||
<initrd>/tmp/kernel/initramfs</initrd>
|
<initrd>/tmp/kernel/initramfs</initrd>
|
||||||
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat</cmdline>
|
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat</cmdline>
|
||||||
@ -952,7 +952,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<feature name='smap' policy='disable'/>
|
<feature name='smap' policy='disable'/>
|
||||||
</cpu>
|
</cpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch="x86_64" machine="xenfv">pvh</type>
|
<type arch="x86_64" machine="xenpvh">xenpvh</type>
|
||||||
<kernel>/tmp/kernel/vmlinuz</kernel>
|
<kernel>/tmp/kernel/vmlinuz</kernel>
|
||||||
<initrd>/tmp/kernel/initramfs</initrd>
|
<initrd>/tmp/kernel/initramfs</initrd>
|
||||||
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat</cmdline>
|
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat</cmdline>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
<boot dev="hd" />
|
<boot dev="hd" />
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if vm.virt_mode == 'pvh' %}
|
{% if vm.virt_mode == 'pvh' %}
|
||||||
<type arch="x86_64" machine="xenfv">pvh</type>
|
<type arch="x86_64" machine="xenpvh">xenpvh</type>
|
||||||
{% else %}
|
{% else %}
|
||||||
<type arch="x86_64" machine="xenpv">linux</type>
|
<type arch="x86_64" machine="xenpv">linux</type>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user