[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vl.c: Exit QEMU early if no machine is found
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] vl.c: Exit QEMU early if no machine is found |
Date: |
Thu, 9 Aug 2012 09:19:12 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jul 24, 2012 at 12:42:20AM +0800, address@hidden wrote:
> From: Dunrong Huang <address@hidden>
>
> We check whether the variable machine is NULL or not before accessing
> it. If machine is NULL, exit QEMU with an error, this can avoids a
> segfault error.
>
> Signed-off-by: Dunrong Huang <address@hidden>
> ---
> vl.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan