|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH v2 1/6] Use IO port for qemu<->guest BIOS communication. |
Date: | Mon, 25 Aug 2008 09:25:55 -0500 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
Gleb Natapov wrote:
Use PIO to get configuration info between qemu process and guest BIOS. Signed-off-by: Gleb Natapov <address@hidden> --- 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.
I would have chosen something in the low 400/500 range since Bochs is already using this range for debugging.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |