From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXdKr-0004IW-LB for qemu-devel@nongnu.org; Mon, 25 Aug 2008 10:46:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXdKr-0004Hz-00 for qemu-devel@nongnu.org; Mon, 25 Aug 2008 10:46:25 -0400 Received: from [199.232.76.173] (port=35887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXdKq-0004Hp-NQ for qemu-devel@nongnu.org; Mon, 25 Aug 2008 10:46:24 -0400 Received: from il.qumranet.com ([212.179.150.194]:25706) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXdKp-0000K9-UR for qemu-devel@nongnu.org; Mon, 25 Aug 2008 10:46:24 -0400 Received: from gleb-debian.qumranet.com (gleb-debian.qumranet.com.qumranet.com [172.16.15.143]) by il.qumranet.com (Postfix) with ESMTP id 90D0E250310 for ; Mon, 25 Aug 2008 17:46:22 +0300 (IDT) Date: Mon, 25 Aug 2008 17:46:22 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH v2 1/6] Use IO port for qemu<->guest BIOS communication. Message-ID: <20080825144622.GR6192@minantech.com> References: <20080825095800.18703.30602.stgit@gleb-debian.qumranet.com.qumranet.com> <20080825095805.18703.63202.stgit@gleb-debian.qumranet.com.qumranet.com> <48B2C0F3.6080101@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48B2C0F3.6080101@codemonkey.ws> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon, Aug 25, 2008 at 09:25:55AM -0500, Anthony Liguori wrote: > Gleb Natapov wrote: >> Use PIO to get configuration info between qemu process and guest BIOS. >> >> Signed-off-by: Gleb Natapov >> --- >> >> hw/pc.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 files changed, 59 insertions(+), 0 deletions(-) >> >> diff --git a/hw/pc.c b/hw/pc.c >> index 213ead8..8caa48f 100644 >> --- a/hw/pc.c >> +++ b/hw/pc.c >> @@ -44,6 +44,7 @@ >> /* Leave a chunk of memory at the top of RAM for the BIOS ACPI >> tables. */ >> #define ACPI_DATA_SIZE 0x10000 >> +#define BIOS_CFG_IOPORT 0x1234 >> > > I don't think this is a very safe IO port to use. Avi suggested that we > advertise the IO port that we use as reserved in the ACPI tables. > The port number here is just place holder. Any idea of what port we should use are welcome. ACPI changes should go into bochs tree and not included in this series. > I would have chosen something in the low 400/500 range since Bochs is > already using this range for debugging. > What about 410? -- Gleb.