From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/8] Nested SVM unit tests Date: Wed, 28 Jul 2010 15:46:54 +0300 Message-ID: <4C5026BE.4080808@redhat.com> References: <1280312307-16686-1-git-send-email-avi@redhat.com> <20100728114029.GF26098@amd.com> <4C501A57.4010808@redhat.com> <20100728123918.GI26098@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , "kvm@vger.kernel.org" To: "Roedel, Joerg" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64431 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751772Ab0G1MrA (ORCPT ); Wed, 28 Jul 2010 08:47:00 -0400 In-Reply-To: <20100728123918.GI26098@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: 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.