qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] Remove NULL checks for bdrv_new return value


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2] Remove NULL checks for bdrv_new return value
Date: Thu, 16 Dec 2010 17:48:31 +0000

On Thu, Dec 16, 2010 at 2:44 PM, Kevin Wolf <address@hidden> wrote:
> It's an indirect call to qemu_malloc, which never returns an error.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>
> v2:
> - Fixed bdrv_open failure case in xen_disk
>
>  hw/xen_disk.c |   17 ++++++-----------
>  qemu-img.c    |    5 +----
>  qemu-io.c     |    2 --
>  qemu-nbd.c    |    2 --
>  4 files changed, 7 insertions(+), 19 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

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