From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCT7K-0006Ij-2O for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:59:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCT7I-0003xZ-Op for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:59:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCT7I-0003xM-GH for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:59:36 -0500 Date: Mon, 4 Mar 2013 12:59:28 +0200 From: Gleb Natapov Message-ID: <20130304105928.GM23616@redhat.com> References: <20130303091738.GB23616@redhat.com> <513471F1.5020702@redhat.com> <20130304102131.GK23616@redhat.com> <51347735.9090204@redhat.com> <20130304104301.GL23616@redhat.com> <51347C23.8080802@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51347C23.8080802@redhat.com> Subject: Re: [Qemu-devel] [PATCH v13 0/8] pv event interface between host and guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , kvm list , "Michael S. Tsirkin" , Hu Tao , qemu-devel , Markus Armbruster , Blue Swirl , Orit Wasserman , Juan Quintela , Alexander Graf , Jan Kiszka , Andrew Jones , Alex Williamson , Sasha Levin , Stefan Hajnoczi , Luiz Capitulino , KAMEZAWA Hiroyuki , Kevin Wolf , Anthony Liguori , Marcelo Tosatti , "linux-kernel@vger.kernel.org" On Mon, Mar 04, 2013 at 11:49:07AM +0100, Paolo Bonzini wrote: > Il 04/03/2013 11:43, Gleb Natapov ha scritto: > > > Anyhow, this does not apply to the next submission of this series. I > > > think we can agree to the compromise of using ACPI but still read the > > > port in _STA. > > > > If you want to make ioport configurable I do not see how can we avoid > > patching. > > I want to make the ioport configurable in the device, but the PIIX and > ICH9 (which are what the DSDT is written for) will always use port 0x505. > But the device is not part of PIIX or ICH9. It is additional device that may or may not be present depending on a command line. So what if someone configures debugcon or debugexit to use this port? We can always blame the users, but I fill that we are making unnecessary compromises. > You can configure a different iobase for your serial ports, the guest > can still use them but not discover them via ACPI. This is the same thing. > Probably we should patch DSDT too when it will be in QEMU :) of force iobase to spec values if device is used as part of a chipset. -- Gleb.