]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commit
register_savevm etc.: make save function optional
authorIan Jackson <iwj@mariner.uk.xensource.com>
Fri, 16 May 2008 16:01:12 +0000 (17:01 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 16 May 2008 16:01:12 +0000 (17:01 +0100)
commit73730fdf0e2d75e51789b771fe227f4e629512a3
tree08f8a5e4ff6aa10afea427359aa31df998c11199
parente01f4a1ce007d455a1d7a6921411fc0bcc6ad4ec
register_savevm etc.: make save function optional

This allows a device to provide only a loading function, not a saving
function.

This is useful if a later version of an emulation restores its state
in some other way (eg by having a different device name, or by
exploiting invariants in the state); when this happens it is still
necessary to load or skip the information when it is found in old
savefiles.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
vl.c