qemu-devel
[Top][All Lists]
Advanced

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

Re: Windows 10 won't run on default x86_64 machine anymore


From: Reinoud Zandijk
Subject: Re: Windows 10 won't run on default x86_64 machine anymore
Date: Tue, 16 Mar 2021 17:41:04 +0100

On Mon, Mar 15, 2021 at 06:55:03PM -0700, Isaku Yamahata wrote:
> I think tcg case can be explained by x86_machine_is_smm_enabled()
> 
>   bool x86_machine_is_smm_enabled(const X86MachineState *x86ms)
>   ...
>       if (tcg_enabled() || qtest_enabled()) {
>           smm_available = true;
>       } else if (kvm_enabled()) {
>           smm_available = kvm_has_smm();
>       }
>   ...
> 
> Although I don't know about nvmm case, this function also needs to be updated
> if smi isn't supported.

I can create a local patch to enable SMM here when NVMM is enabled if KVM, HAX
and HWPX work fine.

Shouldn't this check be rewritten? What about HWPX and the others? They will
always report smm_available=false here.

Reinoud




reply via email to

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