projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a86b2
)
libxc: fix stale PVH comment
author
Roger Pau Monne
<roger.pau@citrix.com>
Thu, 28 Jun 2018 10:12:06 +0000
(12:12 +0200)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Thu, 28 Jun 2018 10:32:42 +0000
(11:32 +0100)
PVHv2 uses the HVM path, not the PV one.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/xc_cpuid_x86.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_cpuid_x86.c
b/tools/libxc/xc_cpuid_x86.c
index 21537f06f163ccc98687a06c624c009c45d9caf8..364f802c0fe7e8a3a5b088040d95665f4e7aba4d 100644
(file)
--- 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 )
{