From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
Bruce Rogers <brogers@suse.com>,
Markus Armbruster <armbru@redhat.com>,
marcandre.lureau@redhat.com
Subject: Re: [PATCH] meson: install ivshmem-client and ivshmem-server
Date: Fri, 4 Sep 2020 11:27:22 +0100 [thread overview]
Message-ID: <20200904102722.GN721059@redhat.com> (raw)
In-Reply-To: <22ec640f-a9e4-22ad-020c-e035e8143e6c@redhat.com>
On Fri, Sep 04, 2020 at 11:37:58AM +0200, Philippe Mathieu-Daudé wrote:
> On 9/4/20 9:24 AM, Markus Armbruster wrote:
> > Paolo Bonzini <pbonzini@redhat.com> writes:
> >
> >> On 03/09/20 17:49, Daniel P. Berrangé wrote:
> >>> On Thu, Sep 03, 2020 at 05:44:25PM +0200, Paolo Bonzini wrote:
> >>>> On 03/09/20 17:35, Bruce Rogers wrote:
> >>>>> Turn on the meson install flag for these executables
> >>>>>
> >>>>> Signed-off-by: Bruce Rogers <brogers@suse.com>
> >>>>> ---
> >>>>> contrib/ivshmem-client/meson.build | 2 +-
> >>>>> contrib/ivshmem-server/meson.build | 2 +-
> >>>>> 2 files changed, 2 insertions(+), 2 deletions(-)
> >>>>>
> >>>>> diff --git a/contrib/ivshmem-client/meson.build b/contrib/ivshmem-client/meson.build
> >>>>> index 1b171efb4f..83a559117f 100644
> >>>>> --- a/contrib/ivshmem-client/meson.build
> >>>>> +++ b/contrib/ivshmem-client/meson.build
> >>>>> @@ -1,4 +1,4 @@
> >>>>> executable('ivshmem-client', files('ivshmem-client.c', 'main.c'),
> >>>>> dependencies: glib,
> >>>>> build_by_default: targetos == 'linux',
> >>>>> - install: false)
> >>>>> + install: true)
> >>>>> diff --git a/contrib/ivshmem-server/meson.build b/contrib/ivshmem-server/meson.build
> >>>>> index 3a53942201..a1c39aa3b3 100644
> >>>>> --- a/contrib/ivshmem-server/meson.build
> >>>>> +++ b/contrib/ivshmem-server/meson.build
> >>>>> @@ -1,4 +1,4 @@
> >>>>> executable('ivshmem-server', files('ivshmem-server.c', 'main.c'),
> >>>>> dependencies: [qemuutil, rt],
> >>>>> build_by_default: targetos == 'linux',
> >>>>> - install: false)
> >>>>> + install: true)
> >>>>>
> >>>>
> >>>> They weren't installed before the conversion, were they?
> >>>
> >>> Unfortunately they were historically installed with --enable-tools.
> >>>
> >>> IMHO nothing in contrib/ should be installed by default. If we consider
> >>> something maintained and high enough quality for end users, it should
> >>> migrate out of contrib/ into tools/.
> >>
> >> Ah, via the tools variable in configure. Nice maze. I've queued the patch.
> >
> > Please don't.
> >
> > These programs are examples to help people understand how the ivhsmem
> > device works. They might even be useful for debugging. They are *not*
> > to be used in production.
> >
> > docs/specs/ivshmem-spec.txt:
> >
> > Example server code is in contrib/ivshmem-server/. Not to be used in
> > production. It assumes all clients use the same number of interrupt
> > vectors.
> >
> > A standalone client is in contrib/ivshmem-client/. It can be useful
> > for debugging.
>
> Renaming the file names to contain "example" would make this clear.
That's essentially what 'contrib' already means. We shold probablt
add a contrib/README.rst file though to explicitly tell people what
we consider the state of these things to be.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
prev parent reply other threads:[~2020-09-04 10:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-03 15:35 [PATCH] meson: install ivshmem-client and ivshmem-server Bruce Rogers
2020-09-03 15:42 ` Marc-André Lureau
2020-09-03 15:44 ` Paolo Bonzini
2020-09-03 15:49 ` Daniel P. Berrangé
2020-09-03 16:10 ` Bruce Rogers
2020-09-03 17:55 ` Paolo Bonzini
2020-09-04 7:24 ` Markus Armbruster
2020-09-04 7:57 ` Paolo Bonzini
2020-09-04 9:20 ` Markus Armbruster
2020-09-04 11:49 ` Bruce Rogers
2020-09-04 13:39 ` Markus Armbruster
2020-09-04 9:37 ` Philippe Mathieu-Daudé
2020-09-04 10:27 ` Daniel P. Berrangé [this message]
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=20200904102722.GN721059@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=brogers@suse.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--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).