On 12/13/2011 01:55 PM, Stefano Stabellini wrote: > A bit more context to my suggestion: > > - we open the save state file and check the magic number and the > version number before machine->init(); > > - we add a new set of entries to the save state file that contains > early_savevm functions: they are called before machine->init(); > > - after reaching the end of the early_savevm functions we stop parsing > the save state file and we call machine->init(); > > - after machine->init() is completed we continue parsing the save state > file as usual.
I think this is fragile. In the general case you can't describe the framebuffer BAR with just a single number, it may be partially obscured by another BAR. It's better to fix this behind the scenes. -- error compiling committee.c: too many arguments to function