Received: from eggs.gnu.org ([208.118.235.92]:39585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2zj0-0000Ac-6c for qemu-devel@nongnu.org; Thu, 01 Mar 2012 01:42:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2zix-0002Mf-S0 for qemu-devel@nongnu.org; Thu, 01 Mar 2012 01:42:49 -0500 Message-ID: <4F4F1A5F.7060004@reactos.org> Date: Thu, 01 Mar 2012 07:42:39 +0100 From: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= MIME-Version: 1.0 References: <1330555499-11726-1-git-send-email-hpoussin@reactos.org> <4F4ED6F9.30109@codemonkey.ws> In-Reply-To: <4F4ED6F9.30109@codemonkey.ws> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] pc: make user-triggerable exit conditional to DEBUG_BIOS define List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-trivial@nongnu.org, Anthony Liguori , qemu-devel@nongnu.org Hi, I've no idea what installer is trying to do with this port, or what=20 device it is probing. We can maybe add a runtime switch to exit Qemu or not. What do you think=20 of '-vgabios-backdoor' which, if specified, does the exit ? Otherwise, which solution do you propose? Regards, Herv=C3=A9 Anthony Liguori a =C3=A9crit : > On 02/29/2012 04:44 PM, Herv=C3=A9 Poussineau wrote: >> The port 0x501 is (at least) used by SCO Xenix 2.3.4 installer. >=20 > For what? What device would normally be there? >=20 > I don't want to disable this by default. My regression suite depends o= n=20 > this as an exit mechanism. >=20 > Regards, >=20 > Anthony Liguori >=20 >> >> Signed-off-by: Herv=C3=A9 Poussineau >> --- >> 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,=20 >> 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 >=20 >=20