qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v2 04/22] i386/kvm: handle Xen HVM cpuid leaves


From: David Woodhouse
Subject: Re: [RFC PATCH v2 04/22] i386/kvm: handle Xen HVM cpuid leaves
Date: Tue, 13 Dec 2022 09:47:16 +0000
User-agent: Evolution 3.36.5-0ubuntu1

On Mon, 2022-12-12 at 13:13 +0000, Paul Durrant wrote:
> Ok, this tells me that we are intending to handle Hyper-V enlightenments 
> being simultaneously enabled... in which case that MSR above needs to 
> move, along with the cpuid leaves. It should be 0x40000200 in this case.

Ah, yes. That gets entertaining because hyperv_enabled() doesn't work
at the time kvm_arch_init() runs, because kvm_hyperv_expand_features()
hasn't run yet.

But kvm_arch_init() is idempotent so for now I'll just call it *again*
from kvm_arch_init_vcpu() to move the MSR in the hyperv case.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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