From: Roger Pau Monne Date: Thu, 28 Jun 2018 10:12:06 +0000 (+0200) Subject: libxc: fix stale PVH comment X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3723 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7329c08cb4927970cde7944f0ead1b85db28b03f;p=xen.git libxc: fix stale PVH comment PVHv2 uses the HVM path, not the PV one. Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Acked-by: Wei Liu --- 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 ) {