Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-12-01 Thread Avi Kivity
On 11/29/2011 10:51 PM, Jordan Justen wrote: > > One way to verify is to to 'info qdev' and 'info mtree' with qemu-1.0 > > and qemu-1.1 -M pc-1.0, and see that you get the same results. > > I think this means that I cannot add a pc-sysfw qdev for pc-1.0. > (Even if the rom memory usage matches pc-1

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-30 Thread Markus Armbruster
Markus Armbruster writes: > Avi Kivity writes: > >> On 11/29/2011 09:03 AM, Jordan Justen wrote: >>> On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: >>> > On 11/28/2011 04:26 AM, Jordan Justen wrote: >>> >> Enable flash emulation in a PC system using pflash_cfi01. >>> > >>> > The new memory la

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-30 Thread Markus Armbruster
Avi Kivity writes: > On 11/29/2011 09:03 AM, Jordan Justen wrote: >> On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: >> > On 11/28/2011 04:26 AM, Jordan Justen wrote: >> >> Enable flash emulation in a PC system using pflash_cfi01. >> > >> > The new memory layout should be made conditional on th

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-29 Thread Jordan Justen
On Tue, Nov 29, 2011 at 01:38, Avi Kivity wrote: > On 11/29/2011 09:03 AM, Jordan Justen wrote: >> On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: >> > On 11/28/2011 04:26 AM, Jordan Justen wrote: >> >> Enable flash emulation in a PC system using pflash_cfi01. >> > >> > The new memory layout sho

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-29 Thread Avi Kivity
On 11/29/2011 09:03 AM, Jordan Justen wrote: > On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: > > On 11/28/2011 04:26 AM, Jordan Justen wrote: > >> Enable flash emulation in a PC system using pflash_cfi01. > > > > The new memory layout should be made conditional on the machine type (-M > > pc-1.

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-28 Thread Jordan Justen
On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: > On 11/28/2011 04:26 AM, Jordan Justen wrote: >> Enable flash emulation in a PC system using pflash_cfi01. > > The new memory layout should be made conditional on the machine type (-M > pc-1.1 or later) to allow migration from/to pc-1.0 and earlier

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-28 Thread Avi Kivity
On 11/28/2011 04:26 AM, Jordan Justen wrote: > Enable flash emulation in a PC system using pflash_cfi01. > > The new memory layout should be made conditional on the machine type (-M pc-1.1 or later) to allow migration from/to pc-1.0 and earlier. Memory layout in this context are the names of memo

[Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-27 Thread Jordan Justen
Enable flash emulation in a PC system using pflash_cfi01. v8: * Cleanup two chunks of debug code (printf messages) * Fix comment in pc.h (pcflash.c => pc_sysfw.c) v7: * Do not add system firmware to qemu roms * If kvm is enabled, copy pflash drive contents into a read-only ram region, since kvm