qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Consulting to create fake object under tests/qtest
@ 2024-03-04 18:22 Arvin Lin
  0 siblings, 0 replies; only message in thread
From: Arvin Lin @ 2024-03-04 18:22 UTC (permalink / raw)
  To: thuth, lvivier
  Cc: qemu-devel, Avi.Fishman, kfting, Patrick Venture, Hao Wu,
	Titus Rwantare

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-04 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 18:22 Consulting to create fake object under tests/qtest Arvin Lin

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).