From 7329c08cb4927970cde7944f0ead1b85db28b03f Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 28 Jun 2018 12:12:06 +0200 Subject: [PATCH] libxc: fix stale PVH comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PVHv2 uses the HVM path, not the PV one. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Acked-by: Wei Liu --- tools/libxc/xc_cpuid_x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c index 21537f06f1..364f802c0f 100644 --- a/tools/libxc/xc_cpuid_x86.c +++ b/tools/libxc/xc_cpuid_x86.c @@ -666,7 +666,7 @@ static void sanitise_featureset(struct cpuid_domain_info *info) if ( info->hvm ) { - /* HVM Guest */ + /* HVM or PVH Guest */ if ( !info->pae ) clear_bit(X86_FEATURE_PAE, info->featureset); @@ -679,7 +679,7 @@ static void sanitise_featureset(struct cpuid_domain_info *info) } else { - /* PV or PVH Guest */ + /* PV Guest */ if ( !info->pv64 ) { -- 2.30.2