direct-io.hg
changeset 14193:beabac411220
[HVM] Save/restore: remove bogus "valid state" check
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author | Tim Deegan <Tim.Deegan@xensource.com> |
---|---|
date | Thu Mar 01 14:00:05 2007 +0000 (2007-03-01) |
parents | 42aa0100574b |
children | 3186248a1236 |
files | tools/libxc/xc_hvm_save.c |
line diff
1.1 --- a/tools/libxc/xc_hvm_save.c Thu Mar 01 13:57:25 2007 +0000 1.2 +++ b/tools/libxc/xc_hvm_save.c Thu Mar 01 14:00:05 2007 +0000 1.3 @@ -339,14 +339,7 @@ int xc_hvm_save(int xc_handle, int io_fd 1.4 } 1.5 shared_info_frame = info.shared_info_frame; 1.6 1.7 - /* A cheesy test to see whether the domain contains valid state. */ 1.8 - if (ctxt.ctrlreg[3] == 0) 1.9 - { 1.10 - ERROR("Domain is not in a valid HVM guest state"); 1.11 - goto out; 1.12 - } 1.13 - 1.14 - /* cheesy sanity check */ 1.15 + /* cheesy sanity check */ 1.16 if ((info.max_memkb >> (PAGE_SHIFT - 10)) > max_mfn) { 1.17 ERROR("Invalid HVM state record -- pfn count out of range: %lu", 1.18 (info.max_memkb >> (PAGE_SHIFT - 10)));