From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH 1/2] qemu-kvm: extboot: Keep variables in RAM Date: Mon, 22 Feb 2010 10:59:47 +0100 Message-ID: <4B825593.9090506@siemens.com> References: <4B7D6725.1090202@siemens.com> <4B8250F3.6050302@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm , Anthony Liguori To: Avi Kivity Return-path: Received: from goliath.siemens.de ([192.35.17.28]:16995 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552Ab0BVKAS (ORCPT ); Mon, 22 Feb 2010 05:00:18 -0500 In-Reply-To: <4B8250F3.6050302@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > On 02/18/2010 06:13 PM, Jan Kiszka wrote: >> Instead of saving the old INT 0x13 and 0x19 handlers in ROM which fails >> under QEMU as it enforces protection, keep them in spare vectors of the >> interrupt table, namely INT 0x80 and 0x81. >> >> > > Applied both, thanks. > >> Don't forget to update extboot.bin after merging both patches. >> > > We don't carry a precompiled binary (well, we have > qemu/pc-bios/extboot.bin, but that's bogus and I've removed it). You do: qemu-kvm/pc-bios/optionrom/extboot.bin qemu-kvm/qemu/pc-bios/extboot.bin (what is that for?) And as I had to copy the built extboot.bin around to let it be recognized when starting qemu-kvm from an out-of-tree build directory, I guess that concept needs some cleanup/fixing. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux