From: Cornelia Huck <cohuck@redhat.com>
To: Juan Quintela <quintela@redhat.com>
Cc: qemu-devel@nongnu.org, lvivier@redhat.com, dgilbert@redhat.com,
peterx@redhat.com
Subject: Re: [Qemu-devel] [PATCH 09/14] check: Only test virtio-balloon when it is compiled in
Date: Tue, 17 Jul 2018 14:19:05 +0200 [thread overview]
Message-ID: <20180717141905.7ead8dd7.cohuck@redhat.com> (raw)
In-Reply-To: <20180717120414.5852-10-quintela@redhat.com>
On Tue, 17 Jul 2018 14:04:09 +0200
Juan Quintela <quintela@redhat.com> wrote:
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> ---
> hw/virtio/virtio-pci.c | 5 ++++-
> tests/Makefile.include | 6 +++---
> 2 files changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> index 3a01fe90f0..bdbc7ab78d 100644
> --- a/hw/virtio/virtio-pci.c
> +++ b/hw/virtio/virtio-pci.c
> @@ -2287,7 +2287,7 @@ static const TypeInfo vhost_vsock_pci_info = {
> #endif
>
> /* virtio-balloon-pci */
> -
> +#ifdef CONFIG_VIRTIO_BALLOON
> static Property virtio_balloon_pci_properties[] = {
> DEFINE_PROP_UINT32("class", VirtIOPCIProxy, class_code, 0),
> DEFINE_PROP_END_OF_LIST(),
> @@ -2341,6 +2341,7 @@ static const TypeInfo virtio_balloon_pci_info = {
> .instance_init = virtio_balloon_pci_instance_init,
> .class_init = virtio_balloon_pci_class_init,
> };
> +#endif
>
> /* virtio-serial-pci */
>
> @@ -2711,7 +2712,9 @@ static void virtio_pci_register_types(void)
> type_register_static(&vhost_user_blk_pci_info);
> #endif
> type_register_static(&virtio_scsi_pci_info);
> +#ifdef CONFIG_VIRTIO_BALLOON
> type_register_static(&virtio_balloon_pci_info);
> +#endif
> type_register_static(&virtio_serial_pci_info);
> type_register_static(&virtio_net_pci_info);
> #ifdef CONFIG_VHOST_SCSI
You only make virtio-balloon-pci conditional...
> diff --git a/tests/Makefile.include b/tests/Makefile.include
> index 9193945c24..bb30c56795 100644
> --- a/tests/Makefile.include
> +++ b/tests/Makefile.include
> @@ -191,8 +191,8 @@ gcov-files-virtioserial-y += hw/char/virtio-console.c
> gcov-files-virtio-y += i386-softmmu/hw/virtio/virtio.c
> check-qtest-virtio-y += tests/virtio-net-test$(EXESUF)
> gcov-files-virtio-y += i386-softmmu/hw/net/virtio-net.c
> -check-qtest-virtio-y += tests/virtio-balloon-test$(EXESUF)
> -gcov-files-virtio-y += i386-softmmu/hw/virtio/virtio-balloon.c
> +check-qtest-virtio-$(CONFIG_VIRTIO_BALLOON) += tests/virtio-balloon-test$(EXESUF)
> +gcov-files-virtio-$(CONFIG_VIRTIO_BALLOON) += i386-softmmu/hw/virtio/virtio-balloon.c
> check-qtest-virtio-y += tests/virtio-blk-test$(EXESUF)
> gcov-files-virtio-y += i386-softmmu/hw/block/virtio-blk.c
> check-qtest-virtio-y += tests/virtio-rng-test$(EXESUF)
> @@ -397,7 +397,7 @@ check-qtest-s390x-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
> check-qtest-s390x-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
> check-qtest-s390x-$(CONFIG_POSIX) += tests/test-filter-redirector$(EXESUF)
> check-qtest-s390x-y += tests/drive_del-test$(EXESUF)
> -check-qtest-s390x-y += tests/virtio-balloon-test$(EXESUF)
> +check-qtest-s390x-$(CONFIG_VIRTIO_BALLOON) += tests/virtio-balloon-test$(EXESUF)
...but the test uses virtio-balloon-ccw on s390x.
> check-qtest-s390x-y += tests/virtio-console-test$(EXESUF)
> check-qtest-s390x-y += tests/virtio-serial-test$(EXESUF)
> check-qtest-s390x-y += tests/cpu-plug-test$(EXESUF)
Same for the other virtio device types.
next prev parent reply other threads:[~2018-07-17 12:19 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-17 12:04 [Qemu-devel] [RFC 00/14] More patches to disable stuff Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 01/14] check: Only test ipmi when it is compiled in Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 02/14] check: Only test megasas " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 03/14] check: Only test lsi " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 04/14] check: Only test esp " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 05/14] check: Only test sga " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 06/14] check: Only test usb smartcard " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 07/14] check: Only test usb storage " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 08/14] check: Only test nvdim_acpi " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 09/14] check: Only test virtio-balloon " Juan Quintela
2018-07-17 12:19 ` Cornelia Huck [this message]
2018-07-17 17:19 ` Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 10/14] check: Only test virtio-serial " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 11/14] check: Only test virtio-rng " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 12/14] check: Only test virtio-gpu " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 13/14] check: Only test virtio-input " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 14/14] check: Only test virtio-scsi " Juan Quintela
2018-07-17 12:18 ` [Qemu-devel] [RFC 00/14] More patches to disable stuff Thomas Huth
2018-07-17 17:00 ` Juan Quintela
2018-07-19 11:06 ` Thomas Huth
2018-07-19 11:45 ` Cornelia Huck
2018-07-19 11:58 ` Thomas Huth
2018-07-19 12:04 ` Cornelia Huck
2018-07-17 13:38 ` Paolo Bonzini
2018-07-17 17:01 ` Juan Quintela
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=20180717141905.7ead8dd7.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=dgilbert@redhat.com \
--cc=lvivier@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@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).