[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] x86/vmce: enclose HVM load / save code in CONFIG_HVM
commit d6abbaec7539e0d66177a1114e78cd3d62e6dd35 Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Fri Aug 17 16:12:35 2018 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Tue Aug 21 15:00:29 2018 +0100 x86/vmce: enclose HVM load / save code in CONFIG_HVM Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/x86/cpu/mcheck/vmce.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/cpu/mcheck/vmce.c b/xen/arch/x86/cpu/mcheck/vmce.c index e07cd2feef..467125b327 100644 --- a/xen/arch/x86/cpu/mcheck/vmce.c +++ b/xen/arch/x86/cpu/mcheck/vmce.c @@ -349,6 +349,7 @@ int vmce_wrmsr(uint32_t msr, uint64_t val) return ret; } +#if CONFIG_HVM static int vmce_save_vcpu_ctxt(struct domain *d, hvm_domain_context_t *h) { struct vcpu *v; @@ -392,6 +393,7 @@ static int vmce_load_vcpu_ctxt(struct domain *d, hvm_domain_context_t *h) HVM_REGISTER_SAVE_RESTORE(VMCE_VCPU, vmce_save_vcpu_ctxt, vmce_load_vcpu_ctxt, 1, HVMSR_PER_VCPU); +#endif /* * for Intel MCE, broadcast vMCE to all vcpus -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |