diff options
author | iap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk> | 2004-05-20 10:16:50 +0000 |
---|---|---|
committer | iap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk> | 2004-05-20 10:16:50 +0000 |
commit | 7c661315dd4ee54cc785323bc5e3f58bf76447ae (patch) | |
tree | 24e6f60daa950d8246b6ceb38fefff7be5ec8a2f /tools/xc/lib/xc_linux_restore.c | |
parent | 77fc412d7a080bf359ec490354e5e65b2753178d (diff) | |
download | xen-7c661315dd4ee54cc785323bc5e3f58bf76447ae.tar.gz xen-7c661315dd4ee54cc785323bc5e3f58bf76447ae.tar.bz2 xen-7c661315dd4ee54cc785323bc5e3f58bf76447ae.zip |
bitkeeper revision 1.911.1.3 (40ac8592YPN8CVevw_ez5NasKUdPag)
live migration improvements
Diffstat (limited to 'tools/xc/lib/xc_linux_restore.c')
-rw-r--r-- | tools/xc/lib/xc_linux_restore.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/xc/lib/xc_linux_restore.c b/tools/xc/lib/xc_linux_restore.c index d66e22fd0a..4e89b5715f 100644 --- a/tools/xc/lib/xc_linux_restore.c +++ b/tools/xc/lib/xc_linux_restore.c @@ -592,14 +592,11 @@ int xc_linux_restore(int xc_handle, out: - if ( rc != 0 ) // destroy is something went wrong + if ( rc != 0 ) // destroy if something went wrong { if ( dom != 0 ) { - op.cmd = DOM0_DESTROYDOMAIN; - op.u.destroydomain.domain = (domid_t)dom; - op.u.destroydomain.force = 1; - (void)do_dom0_op(xc_handle, &op); + xc_domain_destroy( xc_handle, dom, 1 ); } } |