From: Ian Campbell Subject: Re: [PATCH v3 00/18] libxl: domain save/restore: run in a separate process Date: Wed, 13 Jun 2012 11:38:27 +0100 Message-ID: <1339583907.24104.182.camel@zakaz.uk.xensource.com> References: <1339176870-32652-1-git-send-email-ian.jackson@eu.citrix.com> <1339577986.24104.149.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1339577986.24104.149.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-06-13 at 09:59 +0100, Ian Campbell wrote: > On Fri, 2012-06-08 at 18:34 +0100, Ian Jackson wrote: > > This is v3 of my series to asyncify save/restore, rebased to current > > tip, retested, and with all comments addressed. > > There's quite a lot of combinations which need testing here (PV, HVM, > HVM w/ stub dm, old vs new qemu etc etc), which of those have you tried? > > I tried a simple localhost migrate of a PV guest and: As a separate issue in "xl -vvv save d32-1 /scratch/SAVE" I no longer see the progress messages (xxx% complete etc). I saw something which looked like support for logging progress messages so I was a bit surprised... The complete output is # xl -vvv save d32-1 /scratch/SAVE Saving to /scratch/SAVE new xl format (info 0x0/0x0/3541) libxl: debug: libxl.c:722:libxl_domain_suspend: ao 0x80696c8: create: how=(nil) callback=(nil) poller=0x8069708 libxl: debug: libxl_dom.c:969:libxl__toolstack_save: domain=14 toolstack data size=8 libxl: debug: libxl.c:745:libxl_domain_suspend: ao 0x80696c8: inprogress: poller=0x8069708, flags=i libxl-save-helper: debug: starting save: Success libxl: debug: libxl_dom.c:798:libxl__domain_suspend_common_callback: issuing PV suspend request via XenBus control node libxl: debug: libxl_dom.c:802:libxl__domain_suspend_common_callback: wait for the guest to acknowledge suspend request libxl: debug: libxl_dom.c:849:libxl__domain_suspend_common_callback: guest acknowledged suspend request libxl: debug: libxl_dom.c:853:libxl__domain_suspend_common_callback: wait for the guest to suspend libxl: debug: libxl_dom.c:867:libxl__domain_suspend_common_callback: guest has suspended xc: detail: Had 0 unexplained entries in p2m table xc: debug: outbuf_write: 4194304 > 4177904@12599312 xc: debug: outbuf_write: 2527232 > 2514932@14262284 xc: debug: outbuf_write: 4194304 > 1650672@15126544 xc: debug: outbuf_write: 4194304 > 4182004@12595212 xc: debug: outbuf_write: 4194304 > 4182004@12595212 xc: debug: outbuf_write: 4194304 > 4182004@12595212 xc: debug: outbuf_write: 4194304 > 4182004@12595212 xc: debug: outbuf_write: 3424256 > 3411956@13365260 xc: debug: outbuf_write: 753664 > 753648@16023568 xc: detail: delta 90669ms, dom0 2%, target 0%, sent 11Mb/s, dirtied 0Mb/s 0 pages xc: detail: Total pages sent= 32768 (0.25x) xc: detail: (of which 0 were fixups) xc: detail: All memory is saved xc: detail: Save exit rc=0 libxl-save-helper: debug: complete r=0: Success libxl: debug: libxl_event.c:1434:libxl__ao_complete: ao 0x80696c8: complete, rc=0 libxl: debug: libxl_event.c:1406:libxl__ao__destroy: ao 0x80696c8: destroy libxl: debug: libxl_dm.c:1139:libxl__destroy_device_model: Device Model signaled Restore worked BTW but was a bit spammy with: xc: debug: batch 1024 (maybe not your fault...) Ian.