From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: qemu-devel@nongnu.org, "Alex Benné e" <alex.bennee@linaro.org>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Erik Schilling" <erik.schilling@linaro.org>,
"Fam Zheng" <fam@euphon.net>,
"Mathieu Poirier" <mathieu.poirier@linaro.org>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Hanna Reitz" <hreitz@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Alex Benné e" <alex.bennee@linaro.org>,
"Kevin Wolf" <kwolf@redhat.com>, "Eric Blake" <eblake@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
qemu-block@nongnu.org, "Eduardo Habkost" <eduardo@habkost.net>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Viresh Kumar" <viresh.kumar@linaro.org>,
virtio-fs@redhat.com, Gonglei <arei.gonglei@huawei.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Jason Wang" <jasowang@redhat.com>,
"Raphael Norwitz" <raphael.norwitz@nutanix.com>,
"Daniel P. Berrangé " <berrange@redhat.com>
Subject: Re: [PATCH v4 2/6] hw/virtio: derive vhost-user-rng from vhost-user-base
Date: Mon, 09 Oct 2023 16:07:08 +0300 [thread overview]
Message-ID: <29j9y.3s4zl7gjb21@linaro.org> (raw)
In-Reply-To: <20231009095937.195728-3-alex.bennee@linaro.org>
On Mon, 09 Oct 2023 12:59, Alex Bennée <alex.bennee@linaro.org> wrote:
>diff --git a/hw/virtio/meson.build b/hw/virtio/meson.build
>index 51c3f97c2d..d0b963199c 100644
>--- a/hw/virtio/meson.build
>+++ b/hw/virtio/meson.build
>@@ -18,8 +18,15 @@ if have_vhost
> # fixme - this really should be generic
> specific_virtio_ss.add(files('vhost-user.c'))
> system_virtio_ss.add(files('vhost-user-base.c'))
>+
>+ # MMIO Stubs
> system_virtio_ss.add(files('vhost-user-device.c'))
>+ system_virtio_ss.add(when: 'CONFIG_VHOST_USER_RNG', if_true: files('vhost-user-rng.c'))
>+
>+ # PCI Stubs
> system_virtio_ss.add(when: 'CONFIG_VIRTIO_PCI', if_true: files('vhost-user-device-pci.c'))
>+ system_virtio_ss.add(when: ['CONFIG_VIRTIO_PCI', 'CONFIG_VHOST_USER_RNG'],
>+ if_true: files('vhost-user-rng-pci.c'))
Is there a reason why the target was moved to system_virtio_ss from
virtio_pci_ss?
> endif
> if have_vhost_vdpa
> system_virtio_ss.add(files('vhost-vdpa.c'))
>@@ -34,10 +41,8 @@ specific_virtio_ss.add(when: 'CONFIG_VHOST_USER_FS', if_true: files('vhost-user-
> specific_virtio_ss.add(when: 'CONFIG_VIRTIO_PMEM', if_true: files('virtio-pmem.c'))
> specific_virtio_ss.add(when: 'CONFIG_VHOST_VSOCK', if_true: files('vhost-vsock.c'))
> specific_virtio_ss.add(when: 'CONFIG_VHOST_USER_VSOCK', if_true: files('vhost-user-vsock.c'))
>-specific_virtio_ss.add(when: 'CONFIG_VIRTIO_RNG', if_true: files('virtio-rng.c'))
Was this accidental? It's not added anywhere else, only deleted.
>@@ -57,7 +61,6 @@ virtio_pci_ss.add(when: 'CONFIG_VHOST_USER_FS',
> if_true: files('vhost-user-fs-pc
> virtio_pci_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('virtio-crypto-pci.c'))
> virtio_pci_ss.add(when: 'CONFIG_VIRTIO_INPUT_HOST', if_true: files('virtio-input-host-pci.c'))
> virtio_pci_ss.add(when: 'CONFIG_VIRTIO_INPUT', if_true: files('virtio-input-pci.c'))
>-virtio_pci_ss.add(when: 'CONFIG_VIRTIO_RNG', if_true: files('virtio-rng-pci.c'))
> virtio_pci_ss.add(when: 'CONFIG_VIRTIO_BALLOON', if_true: files('virtio-balloon-pci.c'))
> virtio_pci_ss.add(when: 'CONFIG_VIRTIO_9P', if_true: files('virtio-9p-pci.c'))
> virtio_pci_ss.add(when: 'CONFIG_VIRTIO_SCSI', if_true: files('virtio-scsi-pci.c'))
Same here
Manos
next prev parent reply other threads:[~2023-10-09 13:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-09 9:59 [PATCH v4 0/6] virtio: cleanup vhost-user-generic and reduce c&p Alex Bennée
2023-10-09 9:59 ` [PATCH v4 1/6] virtio: split into vhost-user-base and vhost-user-device Alex Bennée
2023-10-10 15:08 ` Mark Cave-Ayland
2023-10-09 9:59 ` [PATCH v4 2/6] hw/virtio: derive vhost-user-rng from vhost-user-base Alex Bennée
2023-10-09 13:07 ` Manos Pitsidianakis [this message]
2023-10-09 13:48 ` Alex Bennée
2023-10-09 9:59 ` [PATCH v4 3/6] hw/virtio: derive vhost-user-gpio " Alex Bennée
2023-10-09 10:59 ` Viresh Kumar
2023-10-09 9:59 ` [PATCH v4 4/6] hw/virtio: derive vhost-user-i2c " Alex Bennée
2023-10-09 10:59 ` Viresh Kumar
2023-10-09 9:59 ` [PATCH v4 5/6] hw/virtio: add vhost-user-snd and virtio-snd-pci devices Alex Bennée
2023-10-09 9:59 ` [PATCH v4 6/6] docs/system: add a basic enumeration of vhost-user devices Alex Bennée
2023-10-09 13:38 ` Manos Pitsidianakis
2023-10-10 15:14 ` [PATCH v4 0/6] virtio: cleanup vhost-user-generic and reduce c&p Mark Cave-Ayland
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=29j9y.3s4zl7gjb21@linaro.org \
--to=manos.pitsidianakis@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=arei.gonglei@huawei.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=eblake@redhat.com \
--cc=eduardo@habkost.net \
--cc=erik.schilling@linaro.org \
--cc=fam@euphon.net \
--cc=hreitz@redhat.com \
--cc=jasowang@redhat.com \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=mathieu.poirier@linaro.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=raphael.norwitz@nutanix.com \
--cc=stefanha@redhat.com \
--cc=viresh.kumar@linaro.org \
--cc=virtio-fs@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 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).