From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v13 0/8] pv event interface between host and guest Date: Mon, 04 Mar 2013 11:49:07 +0100 Message-ID: <51347C23.8080802@redhat.com> References: <20130303091738.GB23616@redhat.com> <513471F1.5020702@redhat.com> <20130304102131.GK23616@redhat.com> <51347735.9090204@redhat.com> <20130304104301.GL23616@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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" To: Gleb Natapov Return-path: In-Reply-To: <20130304104301.GL23616@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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. 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. Paolo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757095Ab3CDKvU (ORCPT ); Mon, 4 Mar 2013 05:51:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42994 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756720Ab3CDKvT (ORCPT ); Mon, 4 Mar 2013 05:51:19 -0500 Message-ID: <51347C23.8080802@redhat.com> Date: Mon, 04 Mar 2013 11:49:07 +0100 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Gleb Natapov CC: Hu Tao , kvm list , qemu-devel , "linux-kernel@vger.kernel.org" , "Daniel P. Berrange" , KAMEZAWA Hiroyuki , Jan Kiszka , Blue Swirl , Eric Blake , Andrew Jones , Marcelo Tosatti , Sasha Levin , Luiz Capitulino , Anthony Liguori , Markus Armbruster , Stefan Hajnoczi , Juan Quintela , Orit Wasserman , Kevin Wolf , Wen Congyang , "Michael S. Tsirkin" , Alexander Graf , Alex Williamson , Peter Maydell Subject: Re: [PATCH v13 0/8] pv event interface between host and guest References: <20130303091738.GB23616@redhat.com> <513471F1.5020702@redhat.com> <20130304102131.GK23616@redhat.com> <51347735.9090204@redhat.com> <20130304104301.GL23616@redhat.com> In-Reply-To: <20130304104301.GL23616@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. Paolo From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCSxb-0001g6-AJ for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:49:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCSxa-00011n-9n for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:49:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCSxa-00011f-0p for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:49:34 -0500 Message-ID: <51347C23.8080802@redhat.com> Date: Mon, 04 Mar 2013 11:49:07 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20130303091738.GB23616@redhat.com> <513471F1.5020702@redhat.com> <20130304102131.GK23616@redhat.com> <51347735.9090204@redhat.com> <20130304104301.GL23616@redhat.com> In-Reply-To: <20130304104301.GL23616@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Gleb Natapov 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" 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. 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. Paolo