ia64/xen-unstable

changeset 15386:f1ca92bf7e0f

hvm svm: Log into 'xm dmesg' that SVM NPT is enabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Jun 19 15:39:08 2007 +0100 (2007-06-19)
parents 07688f8f5394
children cb747a35e057
files xen/arch/x86/hvm/svm/svm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/svm/svm.c	Tue Jun 19 15:09:59 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/svm/svm.c	Tue Jun 19 15:39:08 2007 +0100
     1.3 @@ -957,7 +957,7 @@ static struct hvm_function_table svm_fun
     1.4      .event_injection_faulted = svm_event_injection_faulted
     1.5  };
     1.6  
     1.7 -void svm_npt_detect(void)
     1.8 +static void svm_npt_detect(void)
     1.9  {
    1.10      u32 eax, ebx, ecx, edx;
    1.11  
    1.12 @@ -1017,6 +1017,9 @@ int start_svm(struct cpuinfo_x86 *c)
    1.13  
    1.14      hvm_enable(&svm_function_table);
    1.15  
    1.16 +    if ( opt_hap_enabled )
    1.17 +        printk("SVM: Nested paging enabled.\n");
    1.18 +        
    1.19      return 1;
    1.20  }
    1.21