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

Avi Kivity
2010-07-28T12:47:00Z

On 07/28/2010 03:39 PM, Roedel, Joerg wrote:
> 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?
>

Yes. vm.c has some functions to add more complicated mappings.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.