projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee91031
)
x86/pvh: fix TSC mode setup for PVH Dom0
author
Roger Pau Monné
<roger.pau@citrix.com>
Wed, 31 Oct 2018 16:58:15 +0000
(17:58 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 31 Oct 2018 16:58:15 +0000
(17:58 +0100)
A PVH Dom0 might use TSC scaling or other HVM specific TSC
adjustments, so only short-circuit the TSC setup for a classic PV
Dom0.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/time.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/time.c
b/xen/arch/x86/time.c
index 553698d4aba30e84f9efb24d5244bc4bbf83090b..03f792e7e5d877f676c49c2c1aa1984aec620861 100644
(file)
--- a/
xen/arch/x86/time.c
+++ b/
xen/arch/x86/time.c
@@
-2125,7
+2125,7
@@
void tsc_set_info(struct domain *d,
{
ASSERT(!is_system_domain(d));
- if ( is_hardware_domain(d) )
+ if ( is_
pv_domain(d) && is_
hardware_domain(d) )
{
d->arch.vtsc = 0;
return;