Re: [Qemu-devel] [RFC v1 1/7] memory: fix address space initialization/destruction

2012-10-13 Thread Blue Swirl
On Thu, Oct 11, 2012 at 1:33 PM, Avi Kivity wrote: > On 10/11/2012 03:31 PM, Paolo Bonzini wrote: >> Il 11/10/2012 15:26, Avi Kivity ha scritto: >>> A couple of fields were left uninitialized. This was not observed earlier >>> because all address spaces were statically allocated. Also free alloc

[Qemu-devel] [RFC v1 1/7] memory: fix address space initialization/destruction

2012-10-11 Thread Avi Kivity
A couple of fields were left uninitialized. This was not observed earlier because all address spaces were statically allocated. Also free allocation for those fields. Signed-off-by: Avi Kivity --- memory.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/memory.c b/memory.c index 2f68d67

Re: [Qemu-devel] [RFC v1 1/7] memory: fix address space initialization/destruction

2012-10-11 Thread Avi Kivity
On 10/11/2012 03:31 PM, Paolo Bonzini wrote: > Il 11/10/2012 15:26, Avi Kivity ha scritto: >> A couple of fields were left uninitialized. This was not observed earlier >> because all address spaces were statically allocated. Also free allocation >> for those fields. > > Patch is obvious, but the

Re: [Qemu-devel] [RFC v1 1/7] memory: fix address space initialization/destruction

2012-10-11 Thread Paolo Bonzini
Il 11/10/2012 15:26, Avi Kivity ha scritto: > A couple of fields were left uninitialized. This was not observed earlier > because all address spaces were statically allocated. Also free allocation > for those fields. Patch is obvious, but there are at least two alternatives: 1) using memset 2) u