From: Arvin Lin <arvinlin@google.com>
To: thuth@redhat.com, lvivier@redhat.com
Cc: qemu-devel@nongnu.org, Avi.Fishman@nuvoton.com,
kfting@nuvoton.com, Patrick Venture <venture@google.com>,
Hao Wu <wuhaotsh@google.com>, Titus Rwantare <titusr@google.com>
Subject: Consulting to create fake object under tests/qtest
Date: Mon, 4 Mar 2024 10:22:27 -0800 [thread overview]
Message-ID: <CAOJ+zFWsEYHiJObWvW4rt9OKOM_SzMPyJue-Ejui=YyETtCwcA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 933 bytes --]
Hello qtest maintainers,
I work on QEMU with Patrick Venture, Hao Wu, and Titus Rwantare at Google,
and I am developing a Nuvoton USB device controller model that uses
usbredir parser (
https://gitlab.freedesktop.org/spice/usbredir/-/tree/main/usbredirparser?ref_type=heads)
to redirect USB messages over the network. I want to create a qtest to
verify the behavior of the device over the network by starting another
usbredir parser object to ingest the packets sent by the Nuvoton USB device
controller model. While I could create a fake usbredir parser object and
set up the tests all in one file, I'm wondering if I could create a new
file (maybe fake-usbredir-guest.h) under qtest for the fake usbredir parser
object. The separation of the fake object and the device model test would
benefit the maintainability of the device model test code and allow any
future remote USB device model to reuse the fake object.
Thanks,
Arvin
[-- Attachment #2: Type: text/html, Size: 1118 bytes --]
reply other threads:[~2024-03-04 21:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAOJ+zFWsEYHiJObWvW4rt9OKOM_SzMPyJue-Ejui=YyETtCwcA@mail.gmail.com' \
--to=arvinlin@google.com \
--cc=Avi.Fishman@nuvoton.com \
--cc=kfting@nuvoton.com \
--cc=lvivier@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=titusr@google.com \
--cc=venture@google.com \
--cc=wuhaotsh@google.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).