mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
tests: add AMD SEV bits into qemu-6.0.0 replies
Currently we only have AMD SEV bits in qemu-2.12.0 replies which is way too old to test new features that require AMD SEV as well. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
241969d465
commit
0b0a633d1a
@ -207,6 +207,9 @@
|
||||
<genid supported='yes'/>
|
||||
<backingStoreInput supported='yes'/>
|
||||
<backup supported='no'/>
|
||||
<sev supported='no'/>
|
||||
<sev supported='yes'>
|
||||
<cbitpos>47</cbitpos>
|
||||
<reducedPhysBits>1</reducedPhysBits>
|
||||
</sev>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
@ -213,6 +213,9 @@
|
||||
<genid supported='yes'/>
|
||||
<backingStoreInput supported='yes'/>
|
||||
<backup supported='no'/>
|
||||
<sev supported='no'/>
|
||||
<sev supported='yes'>
|
||||
<cbitpos>47</cbitpos>
|
||||
<reducedPhysBits>1</reducedPhysBits>
|
||||
</sev>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
@ -207,6 +207,9 @@
|
||||
<genid supported='yes'/>
|
||||
<backingStoreInput supported='yes'/>
|
||||
<backup supported='no'/>
|
||||
<sev supported='no'/>
|
||||
<sev supported='yes'>
|
||||
<cbitpos>47</cbitpos>
|
||||
<reducedPhysBits>1</reducedPhysBits>
|
||||
</sev>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
@ -28685,11 +28685,13 @@
|
||||
}
|
||||
|
||||
{
|
||||
"id": "libvirt-49",
|
||||
"error": {
|
||||
"class": "GenericError",
|
||||
"desc": "SEV is not enabled in KVM"
|
||||
}
|
||||
"return": {
|
||||
"reduced-phys-bits": 1,
|
||||
"cbitpos": 47,
|
||||
"cert-chain": "AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA",
|
||||
"pdh": "AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA"
|
||||
},
|
||||
"id": "libvirt-49"
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -181,6 +181,7 @@
|
||||
<flag name='tpm-emulator'/>
|
||||
<flag name='mch'/>
|
||||
<flag name='mch.extended-tseg-mbytes'/>
|
||||
<flag name='sev-guest'/>
|
||||
<flag name='usb-storage.werror'/>
|
||||
<flag name='vfio-pci.display'/>
|
||||
<flag name='blockdev'/>
|
||||
@ -3335,4 +3336,10 @@
|
||||
<machine type='tcg' name='pc-q35-2.5' hotplugCpus='yes' maxCpus='255' defaultCPU='qemu64-x86_64-cpu' numaMemSupported='yes' defaultRAMid='pc.ram'/>
|
||||
<machine type='tcg' name='pc-i440fx-3.0' hotplugCpus='yes' maxCpus='255' defaultCPU='qemu64-x86_64-cpu' numaMemSupported='yes' defaultRAMid='pc.ram'/>
|
||||
<machine type='tcg' name='pc-q35-2.11' hotplugCpus='yes' maxCpus='288' defaultCPU='qemu64-x86_64-cpu' numaMemSupported='yes' defaultRAMid='pc.ram'/>
|
||||
<sev>
|
||||
<cbitpos>47</cbitpos>
|
||||
<reducedPhysBits>1</reducedPhysBits>
|
||||
<pdh>AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA</pdh>
|
||||
<certChain>AQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAAAQAAAAAOAAA</certChain>
|
||||
</sev>
|
||||
</qemuCaps>
|
||||
|
Loading…
x
Reference in New Issue
Block a user