All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] check for active_console before using it
Date: Tue, 01 Jun 2010 13:28:31 -0500	[thread overview]
Message-ID: <4C05514F.1010305@codemonkey.ws> (raw)
In-Reply-To: <1274361786-4898-1-git-send-email-kraxel@redhat.com>

On 05/20/2010 08:23 AM, Gerd Hoffmann wrote:
> Other vga_hw_* functions do the same.
> Fixes a segmentation fault.  Trigger: boot with -nodefaults,
> then connect via vnc.
>
> Signed-off-by: Gerd Hoffmann<kraxel@redhat.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> ---
>   console.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/console.c b/console.c
> index 7070b1b..4c42b28 100644
> --- a/console.c
> +++ b/console.c
> @@ -167,7 +167,7 @@ void vga_hw_update(void)
>
>   void vga_hw_invalidate(void)
>   {
> -    if (active_console->hw_invalidate)
> +    if (active_console&&  active_console->hw_invalidate)
>           active_console->hw_invalidate(active_console->hw);
>   }
>
>    

  reply	other threads:[~2010-06-01 18:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 13:23 [Qemu-devel] [PATCH] check for active_console before using it Gerd Hoffmann
2010-06-01 18:28 ` Anthony Liguori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-05-18 19:45 Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C05514F.1010305@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.