Re: [PATCH 0/8] Nested SVM unit tests

Roedel, Joerg
2010-07-28T12:36:55Z

On Wed, Jul 28, 2010 at 07:53:59AM -0400, Avi Kivity wrote:
> The test framework supports smp, so you can have the second vcpu do
> nasty stuff. The difficult part is when the failure depends on host
> state that is not visible to the guest. Perhaps we can add test-only
> hypercalls that allow the guest to manipulate this state (drop shadows,
> etc.)

I just tried this out and it works great so far. Should be quite easy to
add new tests to this framework (as long as the failure cases are no
race conditions). I guess the small multiboot-kernels run with an
identity mapped page table?

Joerg

--
Joerg Roedel - AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632