Received: from eggs.gnu.org ([208.118.235.92]:53761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQfzB-000064-0A for qemu-devel@nongnu.org; Fri, 12 Apr 2013 11:34:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQfz6-0000R0-4s for qemu-devel@nongnu.org; Fri, 12 Apr 2013 11:33:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQfz5-0000Qh-TG for qemu-devel@nongnu.org; Fri, 12 Apr 2013 11:33:52 -0400 From: Markus Armbruster References: <1363717469-30980-1-git-send-email-peter.maydell@linaro.org> <87y5dh2o3j.fsf@blackfin.pond.sub.org> <87vc8jdxmo.fsf@blackfin.pond.sub.org> Date: Fri, 12 Apr 2013 17:33:06 +0200 In-Reply-To: (Jordan Justen's message of "Wed, 3 Apr 2013 11:38:52 -0700") Message-ID: <87sj2vsr0t.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] Use of flash for x86 BIOS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jordan Justen Cc: Peter Maydell , Anthony Liguori , patches@linaro.org, jordan.l.justen@intel.com, Juan Quintela , qemu-devel@nongnu.org, Xiao Guangrong Jordan Justen writes: > On Fri, Mar 22, 2013 at 12:48 PM, Markus Armbruster wrote: >> Jordan Justen writes: >> >>> On Thu, Mar 21, 2013 at 12:45 AM, Markus Armbruster >>> wrote: >>>> x86 maintainers may wish to *switch it off* until it's done fully and >>>> properly, by setting "pc-sysfw" property "rom_only" to 1. >>> >>> This would completely disable the flash support. >> >> Unless the user enables it explicitly with something like "-global >> pc-sysfw.rom_only=0". >> >>> At the time this >>> feature was added, I think it was well understood that kvm would not >>> support the flash mode, while plain qemu could. If it was not a >>> show-stopper to integrating the feature originally, what has changed? >> >> Nothing changed, and that's the problem. >> >> Merging the feature was okay, I think. Defaulting it to "on" with TCG >> and "off" with KVM was a mistake, because that made enabling/disabling >> KVM guest-visible (see item 2. below). The default needs to be the same >> both with and without KVM. Since the thing still doesn't work with KVM, >> the default needs to be "off". >> >> A possible explanation for making this mistake is that people assumed it >> would soon work with KVM. That turned out not to be the case. > > Given this can be overridden on the command line it does seem > reasonable to disable it by default until KVM support is in place. Sent, you're cc'ed. > Slight off topic, does pc_q35 intend to support SPI flash at some > point? SPI programming is at a different MMIO address from the flash, > so it should be possible to support with qemu/kvm today. No idea :) > Are there any plans for Q35 to become the default qemu PC machine? Unless I'm mistaken, that's the plan.