From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: mark segments accessed on HW task switch Date: Mon, 25 Jan 2010 16:52:55 +0200 Message-ID: <4B5DB047.3070801@redhat.com> References: <20100125100104.GA4609@redhat.com> <4B5D7B9D.7080401@redhat.com> <20100125111109.GA8483@redhat.com> <4B5D7CA4.5070605@redhat.com> <20100125122419.GB8483@redhat.com> <4B5D9435.2010707@redhat.com> <20100125142237.GF8483@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mtosatti@redhat.com, kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18964 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750893Ab0AYOw5 (ORCPT ); Mon, 25 Jan 2010 09:52:57 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0PEquqW022267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 25 Jan 2010 09:52:57 -0500 In-Reply-To: <20100125142237.GF8483@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/25/2010 04:22 PM, Gleb Natapov wrote: >> >> Things like 'return kvm_write_guest_virt()' do handle it. >> >> > That what save_guest_segment_descriptor() calls, but error is not > propagated to userspace anywhere in the task switch code. Lets apply this > patch and I'll send follow up with fixes for error handling in task > switch code. > Okay. -- error compiling committee.c: too many arguments to function