From: Thomas Huth <thuth@redhat.com>
To: Samuel Tardieu <sam@rfc1149.net>, qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>, Laurent Vivier <lvivier@redhat.com>
Subject: Re: [PATCH] tests/qtest/virtio-ccw: Fix device presence checking
Date: Mon, 8 Jan 2024 12:06:14 +0100 [thread overview]
Message-ID: <b21810f0-2f35-46c7-b6a7-d78896b9c957@redhat.com> (raw)
In-Reply-To: <20240106130121.1244993-1-sam@rfc1149.net>
On 06/01/2024 14.01, Samuel Tardieu wrote:
> An apparent copy-paste error tests for the presence of the
> virtio-rng-ccw device in order to perform tests on the virtio-scsi-ccw
> device.
>
> Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
> ---
> tests/qtest/virtio-ccw-test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/qtest/virtio-ccw-test.c b/tests/qtest/virtio-ccw-test.c
> index f4f5858b84..7a5357c212 100644
> --- a/tests/qtest/virtio-ccw-test.c
> +++ b/tests/qtest/virtio-ccw-test.c
> @@ -85,7 +85,7 @@ int main(int argc, char **argv)
> if (qtest_has_device("virtio-rng-ccw")) {
> qtest_add_func("/virtio/rng/nop", virtio_rng_nop);
> }
> - if (qtest_has_device("virtio-rng-ccw")) {
> + if (qtest_has_device("virtio-scsi-ccw")) {
> qtest_add_func("/virtio/scsi/nop", virtio_scsi_nop);
> qtest_add_func("/virtio/scsi/hotplug", virtio_scsi_hotplug);
> }
Ooops, thanks for catching it!
I'll queue the patch for my next pull request.
Thomas
prev parent reply other threads:[~2024-01-08 11:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-06 13:01 [PATCH] tests/qtest/virtio-ccw: Fix device presence checking Samuel Tardieu
2024-01-06 15:26 ` Philippe Mathieu-Daudé
2024-01-08 11:06 ` Thomas Huth [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=b21810f0-2f35-46c7-b6a7-d78896b9c957@redhat.com \
--to=thuth@redhat.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sam@rfc1149.net \
/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).