kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: kvm@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>,
	Jinsong Liu <jinsong.liu@intel.com>
Subject: Re: [PATCH] KVM: Fix tsc deadline timer without irqchip_in_kernel()
Date: Sun, 02 Oct 2011 18:30:50 +0200	[thread overview]
Message-ID: <4E8891BA.2060801@redhat.com> (raw)
In-Reply-To: <4E88911E.4060702@web.de>

On 10/02/2011 06:28 PM, Jan Kiszka wrote:
> >  @@ -615,9 +617,12 @@ static void update_cpuid(struct kvm_vcpu *vcpu)
> >   	if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL&&
> >   		best->function == 0x1) {
> >   		best->ecx |= bit(X86_FEATURE_TSC_DEADLINE_TIMER);
> >  -		vcpu->arch.apic->lapic_timer.timer_mode_mask = (3<<  17);
> >  +		timer_mode_mask = 3<<  17;
> >   	} else
> >  -		vcpu->arch.apic->lapic_timer.timer_mode_mask = (1<<  17);
> >  +		timer_mode_mask = 1<<  17;
> >  +
> >  +	if (apic)
> >  +		apic->lapic_timer.timer_mode_mask = timer_mode_mask;
>
> Coding style... While at it, you could also fix braces for that else.
>

Too late... committed and pushed, and Marcelo holds the baton now.

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


  reply	other threads:[~2011-10-02 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02  9:51 [PATCH] KVM: Fix tsc deadline timer without irqchip_in_kernel() Avi Kivity
2011-10-02 16:28 ` Jan Kiszka
2011-10-02 16:30   ` Avi Kivity [this message]
2011-10-02 16:33     ` Jan Kiszka
2011-10-02 17:01       ` Avi Kivity

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=4E8891BA.2060801@redhat.com \
    --to=avi@redhat.com \
    --cc=jan.kiszka@web.de \
    --cc=jinsong.liu@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).