From: Paolo Bonzini <pbonzini@redhat.com>
To: Laurent Vivier <lvivier@redhat.com>, qemu-devel@nongnu.org
Cc: Janosch Frank <frankja@linux.vnet.ibm.com>, qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] scripts/kvm/kvm_stat: fix tracepoint provider
Date: Mon, 23 May 2016 15:51:36 +0200 [thread overview]
Message-ID: <6747dc66-ec28-9092-9160-afecc33ccc99@redhat.com> (raw)
In-Reply-To: <1463733756-2149-1-git-send-email-lvivier@redhat.com>
On 20/05/2016 10:42, Laurent Vivier wrote:
> tracepoint provider on ppc is broken since:
>
> fc116ef kvm_stat: Add RESET support for perf event ioctl
>
> because the value used with ioctl() to reset the event queue is
> not valid on ppc.
>
> This patch defines the good value for ppc.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
> scripts/kvm/kvm_stat | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat
> index 78ffe83..c547c9b 100755
> --- a/scripts/kvm/kvm_stat
> +++ b/scripts/kvm/kvm_stat
> @@ -256,6 +256,7 @@ class ArchPPC(Arch):
> self.ioctl_numbers = IOCTL_NUMBERS
> self.ioctl_numbers['ENABLE'] = 0x20002400
> self.ioctl_numbers['DISABLE'] = 0x20002401
> + self.ioctl_numbers['RESET'] = 0x20002403
>
> # PPC comes in 32 and 64 bit and some generated ioctl
> # numbers depend on the wordsize.
>
I've queued http://permalink.gmane.org/gmane.comp.emulators.qemu/407322
- however, note that kvm_stat is moving to the kernel tree.
Thanks,
Paolo
next prev parent reply other threads:[~2016-05-23 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-20 8:42 [Qemu-devel] [PATCH] scripts/kvm/kvm_stat: fix tracepoint provider Laurent Vivier
2016-05-23 13:51 ` Paolo Bonzini [this message]
2016-05-23 13:56 ` Laurent Vivier
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=6747dc66-ec28-9092-9160-afecc33ccc99@redhat.com \
--to=pbonzini@redhat.com \
--cc=frankja@linux.vnet.ibm.com \
--cc=lvivier@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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 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).