* [Qemu-devel] [4749] Make save function optional
@ 2008-06-18 22:10 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-06-18 22:10 UTC (permalink / raw)
To: qemu-devel
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
===================================================================
--- trunk/vl.c 2008-06-18 22:10:12 UTC (rev 4748)
+++ trunk/vl.c 2008-06-18 22:10:21 UTC (rev 4749)
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-18 22:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 22:10 [Qemu-devel] [4749] Make save function optional Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).