WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 4/5] vtdt: Add a new hvm param HVM_PARAM_TDT_ENABLED

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 4/5] vtdt: Add a new hvm param HVM_PARAM_TDT_ENABLED
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Tue, 14 Dec 2010 11:27:35 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx>
Delivery-date: Mon, 13 Dec 2010 19:32:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcubPtmJipmm+ZMBSJyFzdRHYKs9MQ==
Thread-topic: [PATCH 4/5] vtdt: Add a new hvm param HVM_PARAM_TDT_ENABLED
vtdt: Add a new hvm param HVM_PARAM_TDT_ENABLED

Set it as TRUE by default.

Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>

diff -r d444c0414d9c xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Thu Dec 09 22:33:10 2010 +0800
+++ b/xen/arch/x86/hvm/hvm.c    Thu Dec 09 22:33:13 2010 +0800
@@ -435,6 +435,7 @@ int hvm_domain_initialise(struct domain 
     hvm_init_guest_time(d);
 
     d->arch.hvm_domain.params[HVM_PARAM_HPET_ENABLED] = 1;
+    d->arch.hvm_domain.params[HVM_PARAM_TDT_ENABLED] = 1;
 
     hvm_init_cacheattr_region_list(d);
 
diff -r d444c0414d9c xen/include/public/hvm/params.h
--- a/xen/include/public/hvm/params.h   Thu Dec 09 22:33:10 2010 +0800
+++ b/xen/include/public/hvm/params.h   Thu Dec 09 22:33:13 2010 +0800
@@ -124,6 +124,9 @@
  */
 #define HVM_PARAM_ACPI_IOPORTS_LOCATION 19
 
-#define HVM_NR_PARAMS          20
+/* Boolean: enabled TSC-deadline timer feature */
+#define HVM_PARAM_TDT_ENABLED  20
+
+#define HVM_NR_PARAMS          21
 
 #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */

Attachment: 5-new-hvm-param.patch
Description: 5-new-hvm-param.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 4/5] vtdt: Add a new hvm param HVM_PARAM_TDT_ENABLED, Wei, Gang <=