* TCG development tools?
@ 2022-06-19 3:34 Kenneth Adam Miller
2022-06-20 7:10 ` Thomas Huth
2022-06-20 15:17 ` Alex Bennée
0 siblings, 2 replies; 3+ messages in thread
From: Kenneth Adam Miller @ 2022-06-19 3:34 UTC (permalink / raw)
To: QEMU Developers
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
Hello all,
Suppose I am wanting to implement and test for the TCG. Is there any set of
interactive binaries or other things that I could use to work with it?
Could I open a shell to it? Perhaps feed it specific byte sequences for
tests to ensure correct operation? Are there a canonical set of unit tests
that exercise the TCG that each architecture implements?
[-- Attachment #2: Type: text/html, Size: 397 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TCG development tools?
2022-06-19 3:34 TCG development tools? Kenneth Adam Miller
@ 2022-06-20 7:10 ` Thomas Huth
2022-06-20 15:17 ` Alex Bennée
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2022-06-20 7:10 UTC (permalink / raw)
To: Kenneth Adam Miller, QEMU Developers; +Cc: Alex Bennée
On 19/06/2022 05.34, Kenneth Adam Miller wrote:
> Hello all,
>
> Suppose I am wanting to implement and test for the TCG. Is there any set of
> interactive binaries or other things that I could use to work with it? Could
> I open a shell to it? Perhaps feed it specific byte sequences for tests to
> ensure correct operation? Are there a canonical set of unit tests that
> exercise the TCG that each architecture implements?
We've got a bunch of TCG-related tests in the tests/tcg/ , so I suggest you
start with these.
HTH,
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TCG development tools?
2022-06-19 3:34 TCG development tools? Kenneth Adam Miller
2022-06-20 7:10 ` Thomas Huth
@ 2022-06-20 15:17 ` Alex Bennée
1 sibling, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2022-06-20 15:17 UTC (permalink / raw)
To: Kenneth Adam Miller; +Cc: qemu-devel
Kenneth Adam Miller <kennethadammiller@gmail.com> writes:
> Hello all,
>
> Suppose I am wanting to implement and test for the TCG. Is there any set of interactive binaries or other things that I
> could use to work with it? Could I open a shell to it? Perhaps feed it specific byte sequences for tests to ensure
> correct operation? Are there a canonical set of unit tests that
> exercise the TCG that each architecture implements?
We don't have any explicit tests for the core TCG although it would be
nice to have some to exercise and test the optimiser.
We do have a bunch of linux-user and system tests in ./tests/tcg which
include generic multiarch tests which compile on most targets as well as
guest specific tests under the appropriate directory. The coverage is a
little ad-hoc but at least new features often come a basic smoke test.
--
Alex Bennée
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-20 15:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-19 3:34 TCG development tools? Kenneth Adam Miller
2022-06-20 7:10 ` Thomas Huth
2022-06-20 15:17 ` Alex Bennée
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).