[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |