All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]x86: document tsc_native configuration option in xmexample.hvm.
@ 2009-10-16  1:50 Zhang, Xiantao
  0 siblings, 0 replies; only message in thread
From: Zhang, Xiantao @ 2009-10-16  1:50 UTC (permalink / raw)
  To: Xen-Devel (E-mail), Keir Fraser

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

x86: document tsc_native configuration option in xmexample.hvm.
 
Set the default value to 1
 
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
 
diff -r 18758847bf31 tools/examples/xmexample.hvm
--- a/tools/examples/xmexample.hvm Wed Oct 14 09:09:23 2009 +0100
+++ b/tools/examples/xmexample.hvm Fri Oct 16 09:42:14 2009 +0800
@@ -177,6 +177,12 @@ stdvga=0
 #   then xm console or minicom can connect
 serial='pty'
 
+#----------------------------------------------------------------------------
+#   tsc_native : TSC mode (0=emulate TSC, 1=native TSC)
+#   emulate TSC provides synced TSC for all vcpus, but lose perfomrance.
+#   native TSC leverages hardware's TSC(no perf loss), but vcpu's TSC may lose
+#   sync due to hardware's unreliable/unsynced TSC between CPUs.
+tsc_native=1
 
 #-----------------------------------------------------------------------------
 #   Qemu Monitor, default is disable


[-- Attachment #2: doc-tsc-native.patch --]
[-- Type: application/octet-stream, Size: 911 bytes --]

x86: document tsc_native configuration option in xmexample.hvm.

Set the default value to 1

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>

diff -r 18758847bf31 tools/examples/xmexample.hvm
--- a/tools/examples/xmexample.hvm	Wed Oct 14 09:09:23 2009 +0100
+++ b/tools/examples/xmexample.hvm	Fri Oct 16 09:42:14 2009 +0800
@@ -177,6 +177,12 @@ stdvga=0
 #   then xm console or minicom can connect
 serial='pty'
 
+#----------------------------------------------------------------------------
+#   tsc_native : TSC mode (0=emulate TSC, 1=native TSC)
+#   emulate TSC provides synced TSC for all vcpus, but lose perfomrance.
+#   native TSC leverages hardware's TSC(no perf loss), but vcpu's TSC may lose
+#   sync due to hardware's unreliable/unsynced TSC between CPUs.
+tsc_native=1
 
 #-----------------------------------------------------------------------------
 #   Qemu Monitor, default is disable

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-16  1:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-16  1:50 [PATCH]x86: document tsc_native configuration option in xmexample.hvm Zhang, Xiantao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.