Re: [PATCH v2 1/5] x86: Add helper variables and functions to hold VMCSINFO

2012-06-14 Thread Avi Kivity
On 05/16/2012 10:52 AM, zhangyanfei wrote: This patch provides a set of variables to hold the VMCSINFO and also some helper functions to help fill the VMCSINFO. Need to document the format. +void vmcsinfo_append_id(u32 id) +{ + size_t r; + + r = sizeof(id); + if (r +

[PATCH v2 1/5] x86: Add helper variables and functions to hold VMCSINFO

2012-05-16 Thread zhangyanfei
This patch provides a set of variables to hold the VMCSINFO and also some helper functions to help fill the VMCSINFO. Signed-off-by: zhangyanfei zhangyan...@cn.fujitsu.com --- arch/x86/include/asm/vmcsinfo.h | 34 + arch/x86/kernel/Makefile|2 +