[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.
smime.p7s
Description: S/MIME cryptographic signature
- Re: [RFC PATCH v2 02/22] xen: add CONFIG_XENFV_MACHINE and CONFIG_XEN_EMU options for Xen emulation, (continued)
[RFC PATCH v2 04/22] i386/kvm: handle Xen HVM cpuid leaves, David Woodhouse, 2022/12/09
[RFC PATCH v2 15/22] i386/xen: implement HYPERVISOR_vcpu_op, David Woodhouse, 2022/12/09
[RFC PATCH v2 21/22] i386/xen: implement HYPERVISOR_event_channel_op, David Woodhouse, 2022/12/09
[RFC PATCH v2 12/22] hw/xen: Add xen_overlay device for emulating shared xenheap pages, David Woodhouse, 2022/12/09
[RFC PATCH v2 03/22] i386/xen: Add xen-version machine property and init KVM Xen support, David Woodhouse, 2022/12/09