From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Tim <Tim.Deegan@xensource.com>, Keir <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: HVM save/restore issue
Date: Thu, 15 Mar 2007 15:48:42 +0800 [thread overview]
Message-ID: <20070315074842.GA21485@edwin-srv.sh.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
all,
there are 2 issues of HVM save/restore:
1. restore would cause a type dismatch exception, which can be fixed by attached
patch.
2. a saved sdl guest change to vnc after restore as "console_refs" are not empty
and "devices" has a new added "vfb" device, which is different from create
process.
can anybody help to fix this W/O breaking vfb?
thanks a lot.
--
best rgds,
edwin
[-- Attachment #2: hvm_restore_fix_r14389.patch --]
[-- Type: text/plain, Size: 847 bytes --]
Fix the python type dismatch exception when HVM restore
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
diff -r a0bf35c39ccb tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py Thu Mar 15 14:31:03 2007 +0800
+++ b/tools/python/xen/xend/XendCheckpoint.py Thu Mar 15 15:34:26 2007 +0800
@@ -193,8 +193,8 @@ def restore(xd, fd, dominfo = None, paus
is_hvm = dominfo.info.is_hvm()
if is_hvm:
hvm = dominfo.info['memory_static_min']
- apic = dominfo.info['platform'].get('apic', 0)
- pae = dominfo.info['platform'].get('pae', 0)
+ apic = int(dominfo.info['platform'].get('apic', 0))
+ pae = int(dominfo.info['platform'].get('pae', 0))
log.info("restore hvm domain %d, mem=%d, apic=%d, pae=%d",
dominfo.domid, hvm, apic, pae)
else:
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2007-03-15 7:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-15 7:48 Zhai, Edwin [this message]
2007-03-15 10:02 ` HVM save/restore issue Tim Deegan
2007-03-16 5:45 ` Zhai, Edwin
2007-03-16 9:58 ` Tim Deegan
2007-03-16 16:11 ` Mark Williamson
2007-03-16 16:17 ` Ewan Mellor
-- strict thread matches above, loose matches on Subject: below --
2007-03-20 8:12 Zhai, Edwin
2007-03-20 8:29 ` Keir Fraser
2007-03-20 8:46 ` Zhai, Edwin
2007-03-20 9:20 ` Keir Fraser
2007-03-20 10:01 ` Keir Fraser
2007-03-20 12:25 ` Zhai, Edwin
2007-03-20 10:04 ` Tim Deegan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070315074842.GA21485@edwin-srv.sh.intel.com \
--to=edwin.zhai@intel.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=Tim.Deegan@xensource.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.