On Wed, Mar 7, 2012 at 08:51, Dmitry Zamaruev <dmitry.zamar...@gmail.com> wrote: > On Wed, Mar 7, 2012 at 6:32 PM, Avi Kivity <a...@redhat.com> wrote: >> On 03/07/2012 03:59 PM, Dmitry Zamaruev wrote: >>> I'm trying to emulate BIOS Flash chip (something Intel FWH compatible) >>> on PC target (i386-softmmu) and to verify possibility of such >>> emulation I first tried to use pflash_cfi02 example from PPC platform. >> >> So is Jordan (copied).
Yes, but I used pflash_cfi01. It is now available for *non-kvm* qemu as of 1b89fa. To use it you can use the -pflash parameter to specify your flash image. (You can also use -drive with a pflash interface type.) -Jordan