search for: hvm_hap_superpage_1gb

Displaying 3 results from an estimated 3 matches for "hvm_hap_superpage_1gb".

2013 Jan 25
1
[PATCH] HAP: Add global enable/disable command line option
...aging (HAP) detected\n"); - printk("HVM: HAP page 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("HV...
2013 Apr 19
0
[PATCH] x86/HVM: move per-vendor function tables into .init.data
...zes: 4kB"); - if ( hvm_funcs.hap_capabilities & HVM_HAP_SUPERPAGE_2MB ) + if ( fns->hap_capabilities & HVM_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 @@ stat...
2012 May 30
12
[PATCH v2 0/4] XEN: fix vmx exception mistake
Changes from v1: - Define new struct hvm_trap to represent information of trap, include instruction length. - Renames hvm_inject_exception to hvm_inject_trap. Then define a couple of wrappers around that function for existing callers, so that their parameter lists actually *shrink*. This series of patches fix the mistake for debug exception(#DB), overflow exception(#OF) and INT3(#BP),