From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roedel, Joerg" Subject: Re: [PATCH 0/8] Nested SVM unit tests Date: Wed, 28 Jul 2010 14:39:19 +0200 Message-ID: <20100728123918.GI26098@amd.com> References: <1280312307-16686-1-git-send-email-avi@redhat.com> <20100728114029.GF26098@amd.com> <4C501A57.4010808@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Marcelo Tosatti , "kvm@vger.kernel.org" To: Avi Kivity Return-path: Received: from va3ehsobe005.messaging.microsoft.com ([216.32.180.31]:21755 "EHLO VA3EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751158Ab0G1Mgz (ORCPT ); Wed, 28 Jul 2010 08:36:55 -0400 Content-Disposition: inline In-Reply-To: <4C501A57.4010808@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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