[libvirt] [PATCH] qemu: Fix crash in migration of graphics-less guests.

Jiri Denemark jdenemar at redhat.com
Thu May 16 13:50:49 UTC 2013


On Thu, May 16, 2013 at 14:41:29 +0200, Viktor Mihajlovski wrote:
> Commit 7f15ebc7a2b599ab10dbc15bca6f823591213e67 introduced a bug
> happening when guests without a <graphics> element are migrated.
> The initialization of listenAddress happens unconditionally
> from the cookie even if the cookie->graphics pointer was NULL.
> Moved the initialization to where it is safe.
> 
> Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_migration.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK and pushed, thanks.

Jirka




More information about the libvir-list mailing list