From: Gleb Natapov <gleb@redhat.com>
To: "Ren, Yongjie" <yongjie.ren@intel.com>
Cc: "avi@redhat.com" <avi@redhat.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: [PATCH] KVM: fix a syntax error in pmu.c
Date: Thu, 29 Dec 2011 11:46:08 +0200 [thread overview]
Message-ID: <20111229094608.GH2072@redhat.com> (raw)
In-Reply-To: <1B4B44D9196EFF41AE41FDA404FC0A10E806@SHSMSX101.ccr.corp.intel.com>
On Thu, Dec 29, 2011 at 09:40:37AM +0000, Ren, Yongjie wrote:
> Fix a syntax error in arch/x86/kvm/pmu.c
>
That is fixed already in kvm.git next branch.
> Signed-off-by: Yongjie Ren <yongjie.ren@intel.com>
> ---
> diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c
> index 061a03f..8f142bf 100644
> --- a/arch/x86/kvm/pmu.c
> +++ b/arch/x86/kvm/pmu.c
> @@ -170,9 +170,9 @@ static void reprogram_counter(struct kvm_pmc *pmc, u32 type,
> .exclude_host = 1,
> .exclude_user = exclude_user,
> .exclude_kernel = exclude_kernel,
> - .sample_period = (-pmc->counter) & pmc_bitmask(pmc),
> .config = config,
> };
> + attr.sample_period = (-pmc->counter) & pmc_bitmask(pmc),
>
> event = perf_event_create_kernel_counter(&attr, -1, current,
> intr ? kvm_perf_overflow_intr :
>
>
> Best Regards,
> Yongjie Ren (Jay)
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Gleb.
next prev parent reply other threads:[~2011-12-29 9:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-29 9:40 [PATCH] KVM: fix a syntax error in pmu.c Ren, Yongjie
2011-12-29 9:46 ` Gleb Natapov [this message]
2011-12-29 9:50 ` Ren, Yongjie
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=20111229094608.GH2072@redhat.com \
--to=gleb@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=yongjie.ren@intel.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