qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/6] Use IO port for qemu<->guest BIOS commun


From: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH v2 1/6] Use IO port for qemu<->guest BIOS communication.
Date: Mon, 25 Aug 2008 17:46:22 +0300

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 <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.
>
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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]