Messages in this thread |  | | | Date | Sun, 15 Aug 2010 14:08:04 +0300 | | From | Avi Kivity <> | | Subject | Re: [PATCH] kvm: fix poison overwritten caused by using wrong xstate size |
| |
On 08/13/2010 10:19 AM, Xiaotian Feng wrote: > fpu.state is allocated from task_xstate_cachep, the size of task_xstate_cachep > is xstate_size. xstate_size is set from cpuid instruction, which is often > smaller than sizeof(struct xsave_struct). kvm is using sizeof(struct xsave_struct) > to fill in/out fpu.state.xsave, as what we allocated for fpu.state is > xstate_size, kernel will write out of memory and caused poison/redzone/padding > overwritten warnings.
Thanks, applied.
-- error compiling committee.c: too many arguments to function
|  |