On Thu, Sep 03, 2015 at 07:50:07AM -0700, Josh Triplett wrote: > On Thu, Sep 03, 2015 at 11:16:40AM +0200, Laszlo Ersek wrote: > > I'm excited because for virtualization we might have the reverse use > > case: use BITS to test / debug / develop the ACPI generator of QEMU. :) > > Awesome. Unit testing and CI for QEMU sounds like an ideal use case for > BITS. [...] > > But, for simple testing, can we maybe run your tool within the guest, > > before the runtime OS boots? > > Yes, absolutely. We have a batch-mode testing mechanism based on a > config file; you'd probably want to make use of that. With some > extensions, it could dump results either to an emulated serial port or > some other interface that you can read from outside qemu. We also need > to work on making the results more machine-parseable for automation.
One other note on that front: if you write new tests for ACPI (see python/testacpi.py), or new data structure parsers, please feel free to contribute them back to BITS, and we'll happily run them on non-qemu systems as well. - Josh Triplett