[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v1 1/7] memory: fix address space initialization/d
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [RFC v1 1/7] memory: fix address space initialization/destruction |
Date: |
Thu, 11 Oct 2012 15:33:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
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 there are at least two alternatives: 1) using
> memset 2) using a compound initializer.
3) std::vector<>, which also covers address_space_destroy().
--
error compiling committee.c: too many arguments to function
- [Qemu-devel] [RFC v1 0/7] IOMMU support, Avi Kivity, 2012/10/11
- [Qemu-devel] [RFC v1 3/7] memory: iommu support, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Paolo Bonzini, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Paolo Bonzini, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Benjamin Herrenschmidt, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Avi Kivity, 2012/10/15
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Benjamin Herrenschmidt, 2012/10/11
- Re: [Qemu-devel] [RFC v1 3/7] memory: iommu support, Blue Swirl, 2012/10/13