From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: [PATCH 1 of 2] Define and use CONFIG_KVM_HAS_PIO so that we don't need pio_data in kvm_arch_vcpu Date: Thu, 24 Jan 2008 13:59:13 +0100 Message-ID: <47988BA1.80507@de.ibm.com> References: <7fa5947a2da8c0c7424e.1200434385@basalt> <47934974.2020107@qumranet.com> Reply-To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Hollis Blanchard To: Avi Kivity Return-path: In-Reply-To: <47934974.2020107-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity wrote: > Too much Kconfig for this. Since I want to do some Kconfig changes > anyway, I'll do this another way. I think you overlooked something here. Actually this should change too if we don't have pio: -.......case KVM_GET_VCPU_MMAP_SIZE: -.......-.......r = -EINVAL; -.......-.......if (arg) -.......-.......-.......goto out; -.......-.......r = 2 * PAGE_SIZE; -.......-.......break; so long, Carsten ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/