[Qemu-devel] [PATCH] Fix off-by-one error in sizing pSeries hcall table

2011-05-09 Thread David Gibson
The pSeries machine uses two tables to look up guest hcalls for emulation. One of these is exactly one entry too small to hold all the hcalls it needs to, leading to memory corruption. This patch fixes the bug, and while we're at it, make both tables 'static' since they're never used from other mo

Re: [Qemu-devel] [PATCH] Fix off-by-one error in sizing pSeries hcall table

2011-05-09 Thread Alexander Graf
On 10.05.2011, at 08:06, David Gibson wrote: > The pSeries machine uses two tables to look up guest hcalls for emulation. > One of these is exactly one entry too small to hold all the hcalls it needs > to, leading to memory corruption. > > This patch fixes the bug, and while we're at it, make bo