qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] kvm/i386: Set proper nested state format for SVM


From: Paolo Bonzini
Subject: Re: [PATCH] kvm/i386: Set proper nested state format for SVM
Date: Mon, 16 Nov 2020 19:09:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 16/11/20 18:02, Tom Lendacky wrote:
From: Tom Lendacky<thomas.lendacky@amd.com>

Currently, the nested state format is hardcoded to VMX. This will result
in kvm_put_nested_state() returning an error because the KVM SVM support
checks for the nested state to be KVM_STATE_NESTED_FORMAT_SVM. As a
result, kvm_arch_put_registers() errors out early.

Update the setting of the format based on the virtualization feature:
   VMX - KVM_STATE_NESTED_FORMAT_VMX
   SVM - KVM_STATE_NESTED_FORMAT_SVM

Looks good, but what are the symptoms of this in practice?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]