Re: [Qemu-devel] [RFC v2 00/10] ISA reconfigurability v2

2011-06-08 Thread Gerd Hoffmann
Hi, Just wondering, if we're allowing to change qdev properties at runtime here, don't these fields need to be considered for VMState? Yes. Option one is to have the isa devices save them themself, option two is to save them as part of the pc87312 state. cheers, Gerd

Re: [Qemu-devel] [RFC v2 00/10] ISA reconfigurability v2

2011-06-07 Thread Andreas Färber
Am 07.06.2011 um 17:16 schrieb Gerd Hoffmann: On 06/07/11 17:02, Andreas Färber wrote: As suggested by Gerd, I've introduced a set_state() callback at ISA level and implemented it as required for pc87312. This approach simplifies some things but currently has the drawback that the devices

Re: [Qemu-devel] [RFC v2 00/10] ISA reconfigurability v2

2011-06-07 Thread Gerd Hoffmann
On 06/07/11 17:02, Andreas Färber wrote: Hi, As suggested by Gerd, I've introduced a set_state() callback at ISA level and implemented it as required for pc87312. This approach simplifies some things but currently has the drawback that the devices are disabled and potentially re-enabled for eac

[Qemu-devel] [RFC v2 00/10] ISA reconfigurability v2

2011-06-07 Thread Andreas Färber
Hi, As suggested by Gerd, I've introduced a set_state() callback at ISA level and implemented it as required for pc87312. This approach simplifies some things but currently has the drawback that the devices are disabled and potentially re-enabled for each register write. This is because in the pr