All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-trivial@nongnu.org, Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define
Date: Thu, 01 Mar 2012 07:42:39 +0100	[thread overview]
Message-ID: <4F4F1A5F.7060004@reactos.org> (raw)
In-Reply-To: <4F4ED6F9.30109@codemonkey.ws>

Hi,

I've no idea what installer is trying to do with this port, or what 
device it is probing.

We can maybe add a runtime switch to exit Qemu or not. What do you think 
of '-vgabios-backdoor' which, if specified, does the exit ?

Otherwise, which solution do you propose?

Regards,

Hervé

Anthony Liguori a écrit :
> On 02/29/2012 04:44 PM, Hervé Poussineau wrote:
>> The port 0x501 is (at least) used by SCO Xenix 2.3.4 installer.
> 
> For what?  What device would normally be there?
> 
> I don't want to disable this by default.  My regression suite depends on 
> this as an exit mechanism.
> 
> Regards,
> 
> Anthony Liguori
> 
>>
>> Signed-off-by: Hervé Poussineau<hpoussin@reactos.org>
>> ---
>>   hw/pc.c |    3 +++
>>   1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/hw/pc.c b/hw/pc.c
>> index 12c02f2..113a38a 100644
>> --- a/hw/pc.c
>> +++ b/hw/pc.c
>> @@ -565,7 +565,10 @@ static void bochs_bios_write(void *opaque, 
>> uint32_t addr, uint32_t val)
>>           /* LGPL'ed VGA BIOS messages */
>>       case 0x501:
>>       case 0x502:
>> +#ifdef DEBUG_BIOS
>>           exit((val<<  1) | 1);
>> +#endif
>> +        break;
>>       case 0x500:
>>       case 0x503:
>>   #ifdef DEBUG_BIOS
> 
> 



WARNING: multiple messages have this Message-ID (diff)
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-trivial@nongnu.org, Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define
Date: Thu, 01 Mar 2012 07:42:39 +0100	[thread overview]
Message-ID: <4F4F1A5F.7060004@reactos.org> (raw)
In-Reply-To: <4F4ED6F9.30109@codemonkey.ws>

Hi,

I've no idea what installer is trying to do with this port, or what 
device it is probing.

We can maybe add a runtime switch to exit Qemu or not. What do you think 
of '-vgabios-backdoor' which, if specified, does the exit ?

Otherwise, which solution do you propose?

Regards,

Hervé

Anthony Liguori a écrit :
> On 02/29/2012 04:44 PM, Hervé Poussineau wrote:
>> The port 0x501 is (at least) used by SCO Xenix 2.3.4 installer.
> 
> For what?  What device would normally be there?
> 
> I don't want to disable this by default.  My regression suite depends on 
> this as an exit mechanism.
> 
> Regards,
> 
> Anthony Liguori
> 
>>
>> Signed-off-by: Hervé Poussineau<hpoussin@reactos.org>
>> ---
>>   hw/pc.c |    3 +++
>>   1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/hw/pc.c b/hw/pc.c
>> index 12c02f2..113a38a 100644
>> --- a/hw/pc.c
>> +++ b/hw/pc.c
>> @@ -565,7 +565,10 @@ static void bochs_bios_write(void *opaque, 
>> uint32_t addr, uint32_t val)
>>           /* LGPL'ed VGA BIOS messages */
>>       case 0x501:
>>       case 0x502:
>> +#ifdef DEBUG_BIOS
>>           exit((val<<  1) | 1);
>> +#endif
>> +        break;
>>       case 0x500:
>>       case 0x503:
>>   #ifdef DEBUG_BIOS
> 
> 

  reply	other threads:[~2012-03-01  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 22:44 [Qemu-trivial] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define Hervé Poussineau
2012-02-29 22:44 ` [Qemu-devel] " Hervé Poussineau
2012-03-01  1:55 ` [Qemu-trivial] " Anthony Liguori
2012-03-01  1:55   ` Anthony Liguori
2012-03-01  6:42   ` Hervé Poussineau [this message]
2012-03-01  6:42     ` Hervé Poussineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F4F1A5F.7060004@reactos.org \
    --to=hpoussin@reactos.org \
    --cc=aliguori@us.ibm.com \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.