From: Sheng Yang <sheng@linux.intel.com>
To: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH 1/4] KVM: Fix wrong usage of _IOR in assigned device interface
Date: Fri, 20 Feb 2009 15:02:01 +0800 [thread overview]
Message-ID: <200902201502.02082.sheng@linux.intel.com> (raw)
In-Reply-To: <499C1EBF.60200@redhat.com>
On Wednesday 18 February 2009 22:44:15 Avi Kivity wrote:
> Sheng Yang wrote:
> > _IOR for copy_to_user and _IOW for copy_from_user...
> >
> > Noticed by Avi.
> >
> > Signed-off-by: Sheng Yang <sheng@linux.intel.com>
> > ---
> > include/linux/kvm.h | 4 ++--
> > 1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/include/linux/kvm.h b/include/linux/kvm.h
> > index 2163b3d..d742cbf 100644
> > --- a/include/linux/kvm.h
> > +++ b/include/linux/kvm.h
> > @@ -469,10 +469,10 @@ struct kvm_irq_routing {
> > _IOW(KVMIO, 0x67, struct kvm_coalesced_mmio_zone)
> > #define KVM_UNREGISTER_COALESCED_MMIO \
> > _IOW(KVMIO, 0x68, struct kvm_coalesced_mmio_zone)
> > -#define KVM_ASSIGN_PCI_DEVICE _IOR(KVMIO, 0x69, \
> > +#define KVM_ASSIGN_PCI_DEVICE _IOW(KVMIO, 0x69, \
> > struct kvm_assigned_pci_dev)
> > #define KVM_SET_GSI_ROUTING _IOW(KVMIO, 0x6a, struct
> > kvm_irq_routing) -#define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \
> > +#define KVM_ASSIGN_IRQ _IOW(KVMIO, 0x70, \
> > struct kvm_assigned_irq)
> > #define KVM_REINJECT_CONTROL _IO(KVMIO, 0x71)
>
> KVM_ASSIGN_PCI_DEVICE was introduced in 2.6.28. We can't fix it since
> it's part of the ABI.
OK... So please take this one off.
--
regards
Yang, Sheng
next prev parent reply other threads:[~2009-02-20 7:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-18 14:26 [PATCH 0/3 v4] MSI-X enabling Sheng Yang
2009-02-18 14:26 ` [PATCH 1/4] KVM: Fix wrong usage of _IOR in assigned device interface Sheng Yang
2009-02-18 14:44 ` Avi Kivity
2009-02-20 7:02 ` Sheng Yang [this message]
2009-02-18 14:26 ` [PATCH 2/4] KVM: Ioctls for init MSI-X entry Sheng Yang
2009-02-18 14:26 ` [PATCH 3/4] KVM: Add MSI-X interrupt injection logic Sheng Yang
2009-02-18 14:26 ` [PATCH 4/4] KVM: Enable MSI-X for KVM assigned device Sheng Yang
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=200902201502.02082.sheng@linux.intel.com \
--to=sheng@linux.intel.com \
--cc=avi@redhat.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 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.