qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/4] target/i386: kvm: Init nested-state for VMX


From: Maran Wilson
Subject: Re: [Qemu-devel] [PATCH 1/4] target/i386: kvm: Init nested-state for VMX when vCPU expose VMX
Date: Tue, 9 Jul 2019 10:21:15 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 7/5/2019 2:06 PM, Liran Alon wrote:
Reviewed-by: Joao Martins <address@hidden>
Signed-off-by: Liran Alon <address@hidden>
---
  target/i386/kvm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/i386/kvm.c b/target/i386/kvm.c
index e4b4f5756a34..b57f873ec9e8 100644
--- a/target/i386/kvm.c
+++ b/target/i386/kvm.c
@@ -1714,7 +1714,7 @@ int kvm_arch_init_vcpu(CPUState *cs)
env->nested_state->size = max_nested_state_len; - if (IS_INTEL_CPU(env)) {
+        if (cpu_has_vmx(env)) {
              struct kvm_vmx_nested_state_hdr *vmx_hdr =
                  &env->nested_state->hdr.vmx;

Reviewed-by: Maran Wilson <address@hidden>

Thanks,
-Maran



reply via email to

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