All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Gleb Natapov <gleb@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] remove pending exception on vcpu reset.
Date: Mon, 11 Jan 2010 10:01:47 -0600	[thread overview]
Message-ID: <4B4B4B6B.2070203@codemonkey.ws> (raw)
In-Reply-To: <20100106143010.GP4905@redhat.com>

On 01/06/2010 08:30 AM, Gleb Natapov wrote:
> Without this qemu can even start on kvm modules with events support
> since default value of exception_injected in zero and this is #DE
> exception.
>
> Signed-off-by: Gleb Natapov<gleb@redhat.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> diff --git a/target-i386/kvm.c b/target-i386/kvm.c
> index de79eb7..4084503 100644
> --- a/target-i386/kvm.c
> +++ b/target-i386/kvm.c
> @@ -227,6 +227,7 @@ int kvm_arch_init_vcpu(CPUState *env)
>
>   void kvm_arch_reset_vcpu(CPUState *env)
>   {
> +    env->exception_injected = -1;
>       env->interrupt_injected = -1;
>       env->nmi_injected = 0;
>       env->nmi_pending = 0;
> --
> 			Gleb.
>
>
>
>    

      reply	other threads:[~2010-01-11 16:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 14:30 [Qemu-devel] [PATCH] remove pending exception on vcpu reset Gleb Natapov
2010-01-11 16:01 ` Anthony Liguori [this message]

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=4B4B4B6B.2070203@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=gleb@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.