[4749] Make save function optional
Revision: 4749
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4749 Author: aurel32 Date: 2008-06-18 22:10:21 +0000 (Wed, 18 Jun 2008)
Log Message:
-----------
Make save function optional
(Ian Jackson)
Modified Paths:
--------------
trunk/vl.c
Modified: trunk/vl.c
===================================================================
vl.c +4 -0
@@ -5987,6 +5987,10 @@qemu_put_be64 (f,0 );/* total size */ for (se = first_se; se !=NULL ; se = se->next) { +if (se->save_state ==NULL ) +/* this one has a loader only, for backwards compatibility */ +continue ; +/* ID string */ len =strlen (se->idstr);qemu_put_byte (f, len);