From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932399AbZJHQNA (ORCPT ); Thu, 8 Oct 2009 12:13:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756043AbZJHQNA (ORCPT ); Thu, 8 Oct 2009 12:13:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40493 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753932AbZJHQM7 (ORCPT ); Thu, 8 Oct 2009 12:12:59 -0400 Message-ID: <4ACE0F6C.3060103@redhat.com> Date: Thu, 08 Oct 2009 18:12:28 +0200 From: Avi Kivity User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Joerg Roedel CC: Marcelo Tosatti , Alexander Graf , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/9] KVM: SVM: Notify nested hypervisor of lost event injections References: <1254996199-17667-1-git-send-email-joerg.roedel@amd.com> <1254996199-17667-2-git-send-email-joerg.roedel@amd.com> In-Reply-To: <1254996199-17667-2-git-send-email-joerg.roedel@amd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/08/2009 12:03 PM, Joerg Roedel wrote: > From: Alexander Graf > > If event_inj is valid on a #vmexit the host CPU would write > the contents to exit_int_info, so the hypervisor knows that > the event wasn't injected. > > We don't do this in nested SVM by now which is a bug and > fixed by this patch. > We need to start thinking about regression tests for these bugs. It would be relatively easy to set up something with save->cr3 == cr3 (i.e. no isolation, mmu virtualization, etc.). -- error compiling committee.c: too many arguments to function