Re: [PULL] Urgent memory fix for kvm with unaligned memory slots

2012-03-01 Thread Avi Kivity
On 03/01/2012 06:51 PM, Bobby Powers wrote: > > /* kvm works in page size chunks, but the function may be called > >with sub-page size and unaligned start address. */ > > -size = TARGET_PAGE_ALIGN(size); > > -start_addr = TARGET_PAGE_ALIGN(start_addr); > > +delta = TARGET_PA

Re: [PULL] Urgent memory fix for kvm with unaligned memory slots

2012-03-01 Thread Bobby Powers
On Thu, Mar 1, 2012 at 8:40 AM, Avi Kivity wrote: > The memory core may generate RAM memory regions that are not page > aligned, but the kvm code is not prepared to handle them well and will > abort under certain conditions.  This patch fixes the problem. > > Please pull from: > >  git://git.kerne