* [Qemu-devel] Feature Request: command line option to validate params without starting an image
@ 2006-01-02 23:37 Adam Kennedy
0 siblings, 0 replies; only message in thread
From: Adam Kennedy @ 2006-01-02 23:37 UTC (permalink / raw)
To: qemu-devel
I'm currently writing a large scale image-based testing system.
(for background info) http://ali.as/pita/
Part of this involves a wrapper for Qemu to launch images with generated
options.
However currently I have no way way to write unit tests for this code
that I can determine.
What would be extremely useful would be a command line option I could
add to the beginning (or end) of the options ... say -z to pick
something at random.
This would cause qemu to do all it's normal pre-startup procedures
(parse the options, preconfigure and precheck as much stuff as possible)
and then bail out before allocating the memory or starting the system
(while somehow confirming the params were ok).
I'm not sure how much work this would be, but it would be
extraordinarily useful when writing wrappers, since the unit tests would
typically try to validate 10-20 different combinations of options, and
booting an image and shutting it down 20 times would be extremely harsh.
Thanks
Adam Kennedy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-02 23:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-02 23:37 [Qemu-devel] Feature Request: command line option to validate params without starting an image Adam Kennedy
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).