[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] hvm svm: Log into 'xm dmesg' that SVM NPT is enabled.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1182263948 -3600 # Node ID f1ca92bf7e0f0fc8441f9681395a09afe4617af9 # Parent 07688f8f53943cb51c965fa91923b1c4a3e87d0f hvm svm: Log into 'xm dmesg' that SVM NPT is enabled. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/arch/x86/hvm/svm/svm.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) diff -r 07688f8f5394 -r f1ca92bf7e0f xen/arch/x86/hvm/svm/svm.c --- a/xen/arch/x86/hvm/svm/svm.c Tue Jun 19 15:09:59 2007 +0100 +++ b/xen/arch/x86/hvm/svm/svm.c Tue Jun 19 15:39:08 2007 +0100 @@ -957,7 +957,7 @@ static struct hvm_function_table svm_fun .event_injection_faulted = svm_event_injection_faulted }; -void svm_npt_detect(void) +static void svm_npt_detect(void) { u32 eax, ebx, ecx, edx; @@ -1017,6 +1017,9 @@ int start_svm(struct cpuinfo_x86 *c) hvm_enable(&svm_function_table); + if ( opt_hap_enabled ) + printk("SVM: Nested paging enabled.\n"); + return 1; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |