[Top][All Lists]

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

Re: [Qemu-trivial] [PATCH] hw/qdev: Don't crash if qdev_create(NULL, ...

From: Stefan Hajnoczi
Subject: Re: [Qemu-trivial] [PATCH] hw/qdev: Don't crash if qdev_create(NULL, ...) fails
Date: Thu, 4 Aug 2011 10:15:09 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Aug 03, 2011 at 11:49:04PM +0100, Peter Maydell wrote:
> If an attempt to create a qdev device on the default sysbus (by passing
> NULL as the bus to qdev_create) fails, print a useful error message
> rather than crashing trying to dereference a NULL pointer.
> Signed-off-by: Peter Maydell <address@hidden>
> ---
>  hw/qdev.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches tree:


reply via email to

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