From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49201 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKBi9-0005d8-VC for qemu-devel@nongnu.org; Sun, 21 Nov 2010 10:20:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKBi8-0004Yp-Q7 for qemu-devel@nongnu.org; Sun, 21 Nov 2010 10:20:13 -0500 Received: from mail-yx0-f173.google.com ([209.85.213.173]:63390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKBi8-0004Oo-NI for qemu-devel@nongnu.org; Sun, 21 Nov 2010 10:20:12 -0500 Received: by mail-yx0-f173.google.com with SMTP id 7so769550yxs.4 for ; Sun, 21 Nov 2010 07:20:12 -0800 (PST) Message-ID: <4CE938A7.2040303@codemonkey.ws> Date: Sun, 21 Nov 2010 09:20:07 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v2] pc: disable the BOCHS BIOS panic port References: <1289910517-4576-1-git-send-email-bernhard.kohl@nsn.com> In-Reply-To: <1289910517-4576-1-git-send-email-bernhard.kohl@nsn.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bernhard Kohl Cc: qemu-devel@nongnu.org, agraf@suse.de On 11/16/2010 06:28 AM, Bernhard Kohl wrote: > We have an OS which writes to port 0x400 when probing for special hardware. > This causes an exit of the VM. With SeaBIOS this port isn't used anyway. > > Signed-off-by: Bernhard Kohl > Applied. Thanks. Regards, Anthony Liguori > --- > Changes v1 -> v2: > Keep the ports silent. Don't print debug output if DEBUG_BIOS is enabled > which might be confusing. > --- > hw/pc.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/pc.c b/hw/pc.c > index 3bf3862..76eabe8 100644 > --- a/hw/pc.c > +++ b/hw/pc.c > @@ -434,8 +434,8 @@ static void bochs_bios_write(void *opaque, uint32_t addr, uint32_t val) > /* Bochs BIOS messages */ > case 0x400: > case 0x401: > - fprintf(stderr, "BIOS panic at rombios.c, line %d\n", val); > - exit(1); > + /* used to be panic, now unused */ > + break; > case 0x402: > case 0x403: > #ifdef DEBUG_BIOS >