From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXWLu-0000Ag-KF for qemu-devel@nongnu.org; Thu, 03 Sep 2015 11:23:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXWLt-0006k4-RH for qemu-devel@nongnu.org; Thu, 03 Sep 2015 11:23:02 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:36005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXWLt-0006jM-L4 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 11:23:01 -0400 Date: Thu, 3 Sep 2015 08:22:54 -0700 From: josh@joshtriplett.org Message-ID: <20150903152254.GA22612@cloud> References: <55E80FF8.10200@redhat.com> <20150903145007.GA5145@x> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150903145007.GA5145@x> Subject: Re: [Qemu-devel] "Using Python to investigate EFI and ACPI" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: Michael Tsirkin , edk2-devel-01 , Shannon Zhao , qemu devel list , "Moore, Robert" , "Smith, Jonathan D" , Paolo Bonzini , Marcel Apfelbaum , Igor Mammedov , Jake Edge 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