Displaying 2 results from an estimated 2 matches for "opt_hap_1gb".
2013 Jan 25
1
[PATCH] HAP: Add global enable/disable command line option
...e sizes: 4kB");
- if ( hvm_funcs.hap_capabilities & HVM_HAP_SUPERPAGE_2MB )
- printk(", 2MB%s", opt_hap_2mb ? "" : " [disabled]");
- if ( hvm_funcs.hap_capabilities & HVM_HAP_SUPERPAGE_1GB )
- printk(", 1GB%s", opt_hap_1gb ? "" : " [disabled]");
- printk("\n");
+ hvm_funcs.hap_supported = hvm_funcs.hap_supported && opt_hap_enabled;
+
+ if ( hvm_funcs.hap_supported )
+ {
+ printk("HVM: Hardware Assisted Paging (HAP) detected\n");
+...
2013 Apr 19
0
[PATCH] x86/HVM: move per-vendor function tables into .init.data
...VM_HAP_SUPERPAGE_2MB )
printk(", 2MB%s", opt_hap_2mb ? "" : " [disabled]");
- if ( hvm_funcs.hap_capabilities & HVM_HAP_SUPERPAGE_1GB )
+ if ( fns->hap_capabilities & HVM_HAP_SUPERPAGE_1GB )
printk(", 1GB%s", opt_hap_1gb ? "" : " [disabled]");
printk("\n");
}
--- a/xen/arch/x86/hvm/svm/svm.c
+++ b/xen/arch/x86/hvm/svm/svm.c
@@ -1236,7 +1236,7 @@ static int svm_cpu_up(void)
return 0;
}
-struct hvm_function_table * __init start_svm(void)
+const struct hvm_function_t...