Received: from [140.186.70.92] (port=41705 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcKJO-00045a-La for qemu-devel@nongnu.org; Fri, 23 Jul 2010 11:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcKJK-0008JA-1Q for qemu-devel@nongnu.org; Fri, 23 Jul 2010 11:37:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13192) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcKJJ-0008J4-PX for qemu-devel@nongnu.org; Fri, 23 Jul 2010 11:37:18 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o6NFbGQl008193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 23 Jul 2010 11:37:16 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH] Do not try loading option ROM for hotplug PCI device in pc-0.11 compat mode References: <1279887427-4785-1-git-send-email-Jes.Sorensen@redhat.com> Date: Fri, 23 Jul 2010 17:37:14 +0200 In-Reply-To: <1279887427-4785-1-git-send-email-Jes.Sorensen@redhat.com> (Jes Sorensen's message of "Fri, 23 Jul 2010 14:17:07 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com Cc: qemu-devel@nongnu.org Jes.Sorensen@redhat.com writes: > From: Jes Sorensen > > pc-0.11 and older uses fw_cfg to provide option ROMs. As fw_cfg is setup > at init time, it is not possible to load an option ROM for a hotplug > device when running in compat mode. Example: $ qemu -M pc-0.11 -S -monitor stdio QEMU 0.12.50 monitor - type 'help' for more information (qemu) device_add e1000 qemu: hardware error: ROM images must be loaded at startup [...] Aborted (core dumped) The fix silently omits the option ROM when we can't load it. Works for me.