From: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
To: brendan@cs.ubc.ca
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH 00 of 10] Teach xm save to checkpoint a
Date: Fri, 12 Jan 2007 09:56:56 +0900 [thread overview]
Message-ID: <45A6DCD8.8040507@lab.ntt.co.jp> (raw)
In-Reply-To: <20070109213315.GH6065@ventoux.cs.ubc.ca>
Hi Brendan,
> sorry for the late reply - I went on vacation shortly after your
> post.
No problem at all. I was on vacation too.
> I'm working on incorporating Keir's feedback at the moment,
> which seems to include your suggestion. I'll post a new patch series
> soon.
That's nice to hear. I'm looking forward to seeing the new patches.
> By the way, how were you doing checkpointed live migration? Didn't the
> old and new domains fight over the network and block devices?
Of course if you unpause the new domain, they will fight and destroy the shared
storage. I just keep the new domain paused until the old domain has disappeared.
If the domain's workload is low, you can see the identical domains running
concurrently for a moment just for fun. But you should be careful :-)
Thanks,
Yoshi
>
>> Regards,
>>
>> Yoshi Tamura
>>
>>
>> Signed-off-by: Yoshi Tamura <tamura.yoshiaki@lab.ntt.co.jp>
>>
>> diff -r 3bde632518a4 linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c
>> 23:05:42 2006 -0800
>> +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Wed Dec 20
>> 16:21:43 2006 +0900
>> @@ -171,8 +171,6 @@ int __xen_suspend(void)
>>
>> pre_suspend();
>>
>> - gnttab_checkpoint();
>> -
>> /*
>> * We'll stop somewhere inside this hypercall. When it returns,
>> * we'll start resuming after the restore.
>> @@ -223,6 +221,8 @@ int __xen_checkpoint(void)
>>
>> xenbus_lock();
>>
>> + gnttab_suspend();
>> +
>> preempt_disable();
>>
>> mm_pin_all();
>> @@ -257,6 +257,8 @@ int __xen_checkpoint(void)
>> } else {
>> post_checkpoint();
>>
>> + gnttab_resume();
>> +
>> local_irq_enable();
>>
>> xenbus_unlock();
>>
>>
>>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
>
prev parent reply other threads:[~2007-01-12 0:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-15 6:38 [PATCH 00 of 10] Teach xm save to checkpoint a running domain Brendan Cully
2006-12-15 6:38 ` [PATCH 01 of 10] Add resumedomain domctl to resume a domain after checkpoint Brendan Cully
2006-12-15 6:38 ` [PATCH 02 of 10] Export resumedomain domctl to libxc Brendan Cully
2006-12-15 6:38 ` [PATCH 03 of 10] Export xc_domain_resume to xend Brendan Cully
2006-12-15 6:38 ` [PATCH 04 of 10] Add XS_RESUME command Brendan Cully
2006-12-15 6:38 ` [PATCH 05 of 10] Export XS_RESUME to xend Brendan Cully
2006-12-15 6:38 ` [PATCH 06 of 10] Make suspend hypercall return 1 when the domain has been resumed Brendan Cully
2006-12-15 6:38 ` [PATCH 07 of 10] Add new shutdown mode for checkpoint Brendan Cully
2006-12-28 16:51 ` Keir Fraser
2007-01-12 1:25 ` Brendan Cully
2007-01-12 23:58 ` Brendan Cully
2006-12-15 6:38 ` [PATCH 08 of 10] Add xm save -c/--checkpoint option Brendan Cully
2006-12-15 6:38 ` [PATCH 09 of 10] Advertise address of grant table shared pages in suspend record Brendan Cully
2006-12-15 6:38 ` [PATCH 10 of 10] Ignore safe foreign maps in xc_linux_save Brendan Cully
2006-12-15 8:07 ` [PATCH 00 of 10] Teach xm save to checkpoint a running domain Steven Hand
2006-12-16 0:04 ` Brendan Cully
2006-12-20 10:01 ` [PATCH 00 of 10] Teach xm save to checkpoint a Yoshiaki Tamura
2007-01-09 21:33 ` Brendan Cully
2007-01-12 0:56 ` Yoshiaki Tamura [this message]
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=45A6DCD8.8040507@lab.ntt.co.jp \
--to=tamura.yoshiaki@lab.ntt.co.jp \
--cc=brendan@cs.ubc.ca \
--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.