ia64/xen-unstable

changeset 15312:ed254cf78f7c

[QEMU] Fix up ioemu timer save/restore after version changes.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Mon Jun 11 14:56:50 2007 +0100 (2007-06-11)
parents 2c8c6ca1296b
children bd94f75fe469
files tools/ioemu/vl.c
line diff
     1.1 --- a/tools/ioemu/vl.c	Mon Jun 11 14:38:46 2007 +0100
     1.2 +++ b/tools/ioemu/vl.c	Mon Jun 11 14:56:50 2007 +0100
     1.3 @@ -935,7 +935,7 @@ static void timer_save(QEMUFile *f, void
     1.4  
     1.5  static int timer_load(QEMUFile *f, void *opaque, int version_id)
     1.6  {
     1.7 -    if (version_id != 1)
     1.8 +    if (version_id != 1 && version_id != 2)
     1.9          return -EINVAL;
    1.10      if (cpu_ticks_enabled) {
    1.11          return -EINVAL;