[xen master] libxc: fix stale PVH comment

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] libxc: fix stale PVH comment

patchbot
commit 7329c08cb4927970cde7944f0ead1b85db28b03f
Author:     Roger Pau Monne <[hidden email]>
AuthorDate: Thu Jun 28 12:12:06 2018 +0200
Commit:     Andrew Cooper <[hidden email]>
CommitDate: Thu Jun 28 11:32:42 2018 +0100

    libxc: fix stale PVH comment
   
    PVHv2 uses the HVM path, not the PV one.
   
    Signed-off-by: Roger Pau Monné <[hidden email]>
    Reviewed-by: Andrew Cooper <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
---
 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 )
         {
--
generated by git-patchbot for /home/xen/git/xen.git#master


_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog