[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVM] Save/restore: remove bogus "valid state" check
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> # Date 1172757605 0 # Node ID beabac411220f18a9a0666f3221174bda56f3032 # Parent 42aa0100574b665db9f4fa9dfe97b222acbab5eb [HVM] Save/restore: remove bogus "valid state" check Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> --- tools/libxc/xc_hvm_save.c | 9 +-------- 1 files changed, 1 insertion(+), 8 deletions(-) diff -r 42aa0100574b -r beabac411220 tools/libxc/xc_hvm_save.c --- a/tools/libxc/xc_hvm_save.c Thu Mar 01 13:57:25 2007 +0000 +++ b/tools/libxc/xc_hvm_save.c Thu Mar 01 14:00:05 2007 +0000 @@ -339,14 +339,7 @@ int xc_hvm_save(int xc_handle, int io_fd } shared_info_frame = info.shared_info_frame; - /* A cheesy test to see whether the domain contains valid state. */ - if (ctxt.ctrlreg[3] == 0) - { - ERROR("Domain is not in a valid HVM guest state"); - goto out; - } - - /* cheesy sanity check */ + /* cheesy sanity check */ if ((info.max_memkb >> (PAGE_SHIFT - 10)) > max_mfn) { ERROR("Invalid HVM state record -- pfn count out of range: %lu", (info.max_memkb >> (PAGE_SHIFT - 10))); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |