diff options
| author | Tom Dohrmann <erbse.13@gmx.de> | 2024-09-03 06:29:53 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-17 19:41:30 +0200 |
| commit | 64e0e63ea16aa0122dc0c41a0679da0ae4616208 (patch) | |
| tree | 4cb03ffd33a776a3a5a6acd613ae3bb58575c4ee /tests/functional/test_i386_tuxrun.py | |
| parent | e136648c5c95ee4ea233cccf999c07e065bef26d (diff) | |
| download | focaccia-qemu-64e0e63ea16aa0122dc0c41a0679da0ae4616208.tar.gz focaccia-qemu-64e0e63ea16aa0122dc0c41a0679da0ae4616208.zip | |
accel/kvm: check for KVM_CAP_READONLY_MEM on VM
KVM_CAP_READONLY_MEM used to be a global capability, but with the introduction of AMD SEV-SNP confidential VMs, this extension is not always available on all VM types [1,2]. Query the extension on the VM level instead of on the KVM level. [1] https://patchwork.kernel.org/project/kvm/patch/20240809190319.1710470-2-seanjc@google.com/ [2] https://patchwork.kernel.org/project/kvm/patch/20240902144219.3716974-1-erbse.13@gmx.de/ Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Tom Dohrmann <erbse.13@gmx.de> Link: https://lore.kernel.org/r/20240903062953.3926498-1-erbse.13@gmx.de Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/functional/test_i386_tuxrun.py')
0 files changed, 0 insertions, 0 deletions