From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC][PATCH] pci-assign: Drop support for raw ioport access Date: Mon, 28 May 2012 17:06:17 +0300 Message-ID: <4FC38659.8090309@redhat.com> References: <4FC377AD.8060201@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm , Alex Williamson To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33356 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754037Ab2E1OGU (ORCPT ); Mon, 28 May 2012 10:06:20 -0400 In-Reply-To: <4FC377AD.8060201@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On 05/28/2012 04:03 PM, Jan Kiszka wrote: > From: Jan Kiszka > > If the kernel does not support ioport access via sysfs, passthrough can > only help if the unlikely case that a port <= 0x3ff is provided by the > device. So drop this to simplify the code and to allow dropping the > corresponding KVM infrastructure in preparation of upstream merge. > > Signed-off-by: Jan Kiszka > --- > > Does anyone recall the precise use case this was introduced for? It > exists since day #1, so commit logs do not help. At a wild guess, graphics device assignment. Under what conditions would the kernel not support ioport access via sysfs? -- error compiling committee.c: too many arguments to function