All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] Update cr8 intercept when APIC/CR8 is changed by userspace.
Date: Sun, 09 Aug 2009 16:46:10 +0300	[thread overview]
Message-ID: <4A7ED322.60605@redhat.com> (raw)
In-Reply-To: <20090809121740.GP4764@redhat.com>

On 08/09/2009 03:17 PM, Gleb Natapov wrote:
> Since on vcpu entry we do it only if apic is enabled we should do
> it when TPR is changed while apic is disabled. This happens when windows
> resets HW without setting TPR to zero.
>
>    

Applied, thanks.

> @@ -4412,6 +4414,7 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
>   	vcpu->arch.cr3 = sregs->cr3;
>
>   	kvm_set_cr8(vcpu, sregs->cr8);
> +	update_cr8_intercept(vcpu);
>
>   	mmu_reset_needed |= vcpu->arch.shadow_efer != sregs->efer;
>   	kvm_x86_ops->set_efer(vcpu, sregs->efer);
>    

Already had this bit, so dropped it.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2009-08-09 13:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-09 12:17 [PATCH] Update cr8 intercept when APIC/CR8 is changed by userspace Gleb Natapov
2009-08-09 13:46 ` Avi Kivity [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=4A7ED322.60605@redhat.com \
    --to=avi@redhat.com \
    --cc=gleb@redhat.com \
    --cc=kvm@vger.kernel.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.