From: Paolo Bonzini <pbonzini@redhat.com>
To: Cam Macdonell <cam@cs.ualberta.ca>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 1/2] Add kvm_set_ioeventfd_mmio_long definition for non-KVM systems
Date: Wed, 11 Aug 2010 18:07:44 -0400 [thread overview]
Message-ID: <4C631F30.6080806@redhat.com> (raw)
In-Reply-To: <AANLkTinaaoaj84OWNkUOHE=6D=z==KtE98LTK+MMU62A@mail.gmail.com>
On 08/11/2010 02:32 PM, Cam Macdonell wrote:
> On Wed, Aug 11, 2010 at 2:28 PM, Stefan Weil<weil@mail.berlios.de> wrote:
>> Am 11.08.2010 20:16, schrieb Cam Macdonell:
>>>
>>> ---
>>> kvm-stub.c | 5 +++++
>>> 1 files changed, 5 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/kvm-stub.c b/kvm-stub.c
>>> index 3378bd3..d45f9fa 100644
>>> --- a/kvm-stub.c
>>> +++ b/kvm-stub.c
>>> @@ -136,3 +136,8 @@ int kvm_set_ioeventfd_pio_word(int fd, uint16_t addr,
>>> uint16_t val, bool assign)
>>> {
>>> return -ENOSYS;
>>> }
>>> +
>>> +int kvm_set_ioeventfd_mmio_long(int fd, uint32_t adr, uint32_t val, bool
>>> assign)
>>> +{
>>> + return -ENOSYS;
>>> +}
>>
>> Your 2nd patch disables build of ivshmem.o on non-kvm systems.
>> Only ivshmem.c was using kvm_set_ioeventfd_mmio_long, so
>> up to now, no dummy function in kvm-stub.c is needed.
>
> Right. It can be left out for now if that's preferred.
No, your patch is correct. If kvm-stub.c is not complete, the build
will break the next time someone uses one of those functions.
Paolo
next prev parent reply other threads:[~2010-08-11 22:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 18:16 [Qemu-devel] [PATCH 1/2] Add kvm_set_ioeventfd_mmio_long definition for non-KVM systems Cam Macdonell
2010-08-11 18:16 ` [Qemu-devel] [PATCH 2/2] Disable build of ivshmem on " Cam Macdonell
2010-08-11 18:28 ` [Qemu-devel] [PATCH 1/2] Add kvm_set_ioeventfd_mmio_long definition for " Stefan Weil
2010-08-11 18:32 ` Cam Macdonell
2010-08-11 22:07 ` Paolo Bonzini [this message]
2010-08-14 17:24 ` Andreas Färber
2010-08-14 23:47 ` [Qemu-devel] [PATCH 1/2] RESEND: " Cam Macdonell
2010-08-14 23:47 ` [Qemu-devel] [PATCH 2/2] RESEND: Disable build of ivshmem on " Cam Macdonell
2010-08-15 9:47 ` Blue Swirl
2010-08-15 9:47 ` [Qemu-devel] [PATCH 1/2] RESEND: Add kvm_set_ioeventfd_mmio_long definition for " Blue Swirl
2010-08-14 23:56 ` [Qemu-devel] [PATCH 1/2] " Cam Macdonell
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=4C631F30.6080806@redhat.com \
--to=pbonzini@redhat.com \
--cc=cam@cs.ualberta.ca \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@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).