qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC v3 7/8] memory: extend memory_region_add_subregion


From: Igor Mammedov
Subject: Re: [Qemu-devel] [RFC v3 7/8] memory: extend memory_region_add_subregion() to support error reporting
Date: Wed, 8 Jul 2015 16:58:37 +0200

On Wed, 8 Jul 2015 12:09:10 +0100
Peter Maydell <address@hidden> wrote:

> On 8 July 2015 at 10:46, Igor Mammedov <address@hidden> wrote:
> > extends memory_region_add_subregion() by adding Error**
> > argument to allow t fail and return a error from it.
> >
> > Signed-off-by: Igor Mammedov <address@hidden>
> >  156 files changed, 619 insertions(+), 420 deletions(-)
> 
> This is a seriously invasive API change and I don't
> really like it -- reconfiguring the memory region
> hierarchy should not be an operation which can fail
> (especially not just adding a subregion!)
> 
> -- PMM
> 

I'll drop this patch in favor of dedicated
memory_region_add_subregion_to_hva() API that can fail and return error.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]