[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [QEMU] Fix up ioemu timer save/restore after version changes.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1181570210 -3600
# Node ID ed254cf78f7ca758539ba3314932fbbd808807d2
# Parent  2c8c6ca1296b82e31bb0a50fcf9f63d0bfa11176
[QEMU] Fix up ioemu timer save/restore after version changes.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 tools/ioemu/vl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2c8c6ca1296b -r ed254cf78f7c tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Mon Jun 11 14:38:46 2007 +0100
+++ b/tools/ioemu/vl.c  Mon Jun 11 14:56:50 2007 +0100
@@ -935,7 +935,7 @@ static void timer_save(QEMUFile *f, void
 
 static int timer_load(QEMUFile *f, void *opaque, int version_id)
 {
-    if (version_id != 1)
+    if (version_id != 1 && version_id != 2)
         return -EINVAL;
     if (cpu_ticks_enabled) {
         return -EINVAL;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.