of _XEN_P2M_H for
xen/include/asm-x86/p2m.h.
Signed-off-by: Paul Lai
---
xen/arch/x86/mm/altp2m.c | 55
xen/arch/x86/mm/hap/hap.c| 14 +--
xen/include/asm-x86/altp2m.h | 4 +++-
3 files changed, 59 insertions(+), 14 deletions(-)
diff
In hap_enable(), clean up memory leaks upon failure of altp2m_domain_init().
Comment the memory error handling to help match allocs with cleanups.
Consolidate the memory error handing into single code path.
---
xen/arch/x86/mm/hap/hap.c | 42 ++
1 file chang
The was requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Renamed p2m_init_altp2m_helper() to p2m_init_altp2m_ept().
Signed-off-by: Paul Lai
Reviewed-by: Konrad Rzeszutek Wilk
---
xen/arch/x86/mm/p2m-ept.c | 39
.
Lots of moving ept functions to the ept file.
Fixing memory leaks in the hap_enable() memory allocation failures.
Paul Lai (3):
Move altp2m specific functions to altp2m files.
Altp2m cleanup: cleaning up partial memory allocations in
hap_enable().
Moving ept code to ept specific files
that use it
for better readability.
Got rid of stray blanks after open paren after function names.
Defining _XEN_ASM_X86_P2M_H instead of _XEN_P2M_H for
xen/include/asm-x86/p2m.h.
Signed-off-by: Paul Lai
---
v11
Per request
Removed the check for d == 0 at the head of altp2m_domain_init() per
.
Lots of moving ept functions to the ept file.
Paul Lai (2):
Move altp2m specific functions to altp2m files.
Moving ept code to ept specific files.
xen/arch/x86/mm/altp2m.c | 55 +++
xen/arch/x86/mm/hap/hap.c | 40
The was requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Renamed p2m_init_altp2m_helper() to p2m_init_altp2m_ept().
Signed-off-by: Paul Lai
Reviewed-by: Konrad Rzeszutek Wilk
---
v11
Fixing length of title that was reqested in v9, but missed in v10
This makes the code a little easier to read.
Moving hvm_altp2m_supported() check into functions that use it
for better readability.
Got rid of stray blanks after open paren after function names.
Defining _XEN_ASM_X86_P2M_H instead of _XEN_P2M_H for
xen/include/asm-x86/p2m.h.
Signed-off-by: Paul
Signed-off-by: Paul Lai
Reviewed-by: Konrad Rzeszutek Wilk
---
v10
Added Reviewed-by stamp
---
xen/arch/x86/mm/p2m-ept.c | 39 +++
xen/arch/x86/mm/p2m.c | 43 ++-
2 files changed, 41 insertions(+), 41 deletions
.
Lots of moving ept functions to the ept file.
Paul Lai (2):
Move altp2m specific functions to altp2m files.
Moving ept code to ept specific files as requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Renamed p2m_init_altp2m_helper() to
.
Lots of moving ept functions to the ept file.
Paul Lai (2):
Move altp2m specific functions to altp2m files.
Moving ept code to ept specific files as requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Renamed p2m_init_altp2m_helper() to
Signed-off-by: Paul Lai
---
v9
Per request:
o seperate patch for moving functions around
o function name to p2m_init_altp2m_ept() from p2m_init_altp2m_helper()
---
xen/arch/x86/mm/p2m-ept.c | 39 +++
xen/arch/x86/mm/p2m.c | 43
This makes the code a little easier to read.
Moving hvm_altp2m_supported() check into functions that use it
for better readability.
Got rid of stray blanks after open paren after function names.
Defining _XEN_ASM_X86_P2M_H instead of _XEN_P2M_H for
xen/include/asm-x86/p2m.h.
Signed-off-by: Paul
() to p2m_init_altp2m_ept().
Got rid of stray blanks after open paren after function names.
Defining _XEN_ASM_X86_P2M_H instead of _XEN_P2M_H for
xen/include/asm-x86/p2m.h.
Signed-off-by: Paul Lai
---
v8 of this patch.
No change since v4 since we've just focused on patch #1 in this series.
---
to the altp2m file.
Lots of moving ept functions to the ept file.
Lots of function return type corrections (and checking).
Just using 'return' after a if() clause instead of using a goto
if the block is can be a one liner.
Paul Lai (1):
Move altp2m specific functions to altp2m files.
corrections (and checking).
Better sanity checking of values before processing in do_altp2m_op().
Using 'bool' instead of 'bool_t' for stronger checking.
Paul Lai (1):
altp2m cleanup work.
xen/arch/x86/hvm/hvm.c| 47 ---
xen/inclu
above should
have triggered the return of -EOPNOTSUPP.
Make hvm_funcs.altp2m_supported "bool" instead of "bool_t".
Make hvm_altp2m_supported() and altp2m_vcpu_emulate_ve() return
bool (rather than return void()).
Signed-off-by: Paul Lai
---
v7 of patch
Changes since last r
ate_ve() return
bool (rather than return void()).
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c| 47 ---
xen/include/asm-x86/hvm/hvm.h | 26 +++-
2 files changed, 43 insertions(+), 30 deletions(-)
diff --git a/xen/arch/x86/hvm/
corrections (and checking).
Better sanity checking of values before processing in do_altp2m_op().
Using 'bool' instead of 'bool_t' for stronger checking.
Paul Lai (1):
altp2m cleanup work.
xen/arch/x86/hvm/hvm.c| 47 ---
xen/inclu
ified against the
staging branch that this series of patches functions as expected.
Paul Lai (3):
altp2m cleanup work.
Move altp2m specific functions to altp2m files.
Making altp2m domain dynamically allocated.
xen/arch/x86/hvm/hvm.c| 54 +--
xen/arch/x86/hvm/vmx/v
Ravi Sahita's dynamically allocated altp2m domain.
Introduce set_altp2m_active() and altp2m_active() api()s.
Signed-off-by: Ravi Sahita
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c| 8 +++---
xen/arch/x86/hvm/vmx/vmx.c| 2 +-
xen/arch/x86/mm/altp2m.c
above should
have triggered the return of -ENOSYS.
Make altp2m_vcpu_emulate_ve() return actual bool_t (rather than return
void()).
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c| 46 ---
xen/include/asm-x86/hvm/hvm.h | 22 ++---
2
() to p2m_init_altp2m_ept().
Got rid of stray blanks after open paren after function names.
Defining _XEN_ASM_X86_P2M_H instead of _XEN_P2M_H for
xen/include/asm-x86/p2m.h.
Signed-off-by: Paul Lai
---
xen/arch/x86/mm/altp2m.c | 57 +++
xen/arch/x86/mm/hap
Ravi Sahita's dynamically allocated altp2m structs
Signed-off-by: Paul Lai
Reviewed-by: Ravi Sahita
---
xen/arch/x86/hvm/hvm.c| 8 +++---
xen/arch/x86/hvm/vmx/vmx.c| 2 +-
xen/arch/x86/mm/altp2m.c | 16 +--
xen/arch/x86/mm/mem_sharing.c | 2 +-
xen/arch/x86/
Indent goto labels by one space
Inline (header) altp2m functions
Define default behavior in switch
Define max and min for range of altp2m macroed values
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c| 46 ---
xen/include/asm-x86/hvm/hvm.h | 19
Move altp2m specific functions to altp2m files. This makes the code
a little easier to read.
Also moving ept code to ept specific files as requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Signed-off-by: Paul Lai
---
xen/arch/x86/mm/altp2m.c
From: Jan Beulich
Consistently consult hvm_cpuid(). With that, BNDCFGS gets better
handled outside of VMX specific code, just like XSS. Don't needlessly
check for MTRR support when the MSR being accessed clearly is not an
MTRR one.
Signed-off-by: Jan Beulich
Reviewed-by: Andrew Cooper
---
xen
://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04530.html
Jan Beulich (1):
x86/HVM: adjust feature checking in MSR intercept handling
Paul Lai (3):
altp2m cleanup work
Move altp2m specific functions to altp2m files.
Making altp2m struct dynamically allocated.
xen/arch/x86/hvm
Move altp2m specific functions to altp2m files. This makes the code
a little easier to read.
Also moving ept code to ept specific files as requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Signed-off-by: Paul Lai
---
xen/arch/x86/mm/altp2m.c
Indent goto labels by one space
Inline (header) altp2m functions
Define default behavior in switch
Define max and min for range of altp2m macroed values
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c| 46 ---
xen/include/asm-x86/hvm/hvm.h | 19
Ravi Sahita's dynamically allocated altp2m structs
Signed-off-by: Paul Lai
Reviewed-by: Ravi Sahita
---
xen/arch/x86/hvm/hvm.c | 8 +++---
xen/arch/x86/hvm/vmx/vmx.c | 2 +-
xen/arch/x86/mm/altp2m.c | 18 ++---
xen/arch/x86/mm/mm-locks.h | 4 +--
xen/arch/x86/m
Paul Lai (3):
altp2m cleanup work
Move altp2m specific functions to altp2m files.
Making altp2m struct dynamically allocated.
xen/arch/x86/hvm/hvm.c| 54 +---
xen/arch/x86/hvm/vmx/vmx.c| 2 +-
xen/arch/x86/mm/altp2m.c | 45
Ravi Sahita's dynamically allocated altp2m structs
Signed-off-by: Paul Lai
Reviewed-by: Ravi Sahita
---
xen/arch/x86/hvm/hvm.c | 8 +++---
xen/arch/x86/hvm/vmx/vmx.c | 2 +-
xen/arch/x86/mm/altp2m.c | 18 ++---
xen/arch/x86/mm/mm-locks.h | 4 +--
xen/arch/x86/m
Indent goto labels by one space
Inline (header) altp2m functions
Define default behavior in switch
Define max and min for range of altp2m macroed values
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c| 46 ---
xen/include/asm-x86/hvm/hvm.h | 19
Move altp2m specific functions to altp2m files. This makes the code
a little easier to read.
Also moving ept code to ept specific files as requested in:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
Signed-off-by: Paul Lai
---
xen/arch/x86/mm/altp2m.c
comments, reason for the code clean effort, are the following URLs:
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04323.html
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04454.html
https://lists.xenproject.org/archives/html/xen-devel/2015-07/msg04530.html
Paul
Cleaning up altp2m code per request of xen-devel mailing list.
Paul Lai (3):
altp2m cleanup work
Move altp2m specific functions to altp2m files.
Making altp2m struct dynamically allocated.
xen/arch/x86/hvm/hvm.c| 41 ++--
xen/arch/x86/hvm/vmx/vmx.c| 2
Move altp2m specific functions to altp2m files. This makes the code
a little easier to read.
Signed-off-by: Paul Lai
---
xen/arch/x86/mm/altp2m.c | 43 +++
xen/arch/x86/mm/hap/hap.c | 35 +--
xen/arch/x86/mm/p2m
Ravi Sahita's dynamically allocated altp2m structs
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c | 8 +++---
xen/arch/x86/hvm/vmx/vmx.c | 2 +-
xen/arch/x86/mm/altp2m.c | 18 +++---
xen/arch/x86/mm/mm-locks.h | 4 +--
xen/arch/x86/mm/p2m-ept.c| 8 +++---
Indent goto labels by one space
Inline (header) altp2m functions
Define default behavior in switch
Define max and min for range of altp2m macroed values
Signed-off-by: Paul Lai
---
xen/arch/x86/hvm/hvm.c | 33 +
xen/include/asm-x86/hvm/hvm.h | 19
During the make world, git mini-os.git didn't honor the 'configure
--enable-githttp' option. The 'enable-githttp' was only honored in
the tools subdirectory.
Signed-off-by: Paul Lai
---
config/Toplevel.mk.in | 1 +
configure | 27
commit 747f48e6dd7bcc2fbe14d37c62018c5c9e0e44c8
Author: Paul Lai
Date: Mon Apr 11 10:43:57 2016 -0700
Honor '--enable-githttp' in toplevel Makefile generation
During the make world, git mini-os.git didn't honor the 'configure
--enable-githttp' option.
42 matches
Mail list logo