All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: Re: [PATCH 0/4] stubdom-dm: Support live migration of	HVM domain with stubdom-dm
Date: Wed, 17 Dec 2008 10:06:10 +0900	[thread overview]
Message-ID: <49485082.9080505@ab.jp.nec.com> (raw)
In-Reply-To: <18759.46469.66019.189598@mariner.uk.xensource.com>

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

Ian Jackson wrote:
> Samuel Thibault writes ("[Xen-devel] Re: [PATCH 0/4] stubdom-dm: Support live migration of HVM domain with stubdom-dm"):
>> Yosuke Iwamatsu, le Tue 16 Dec 2008 18:22:20 +0900, a écrit :
>>> This series of patches is an attempt to support live migration of hvm
>>> domains with stubdom-dm.
>> Err, I'm a bit surprised. I haven't tested it since then, but I'm sure
>> live migration was working with stubdoms a few months ago, without
>> the need for a logdirty shared buffer.  This works thanks to the few
>> lines at the end of the cpu_physical_memory_rw() function that tell the
>> hypervisor about modified memory.  Actually, the plan was even to use
>> that bit of code in all cases (not only non-stubdom), so as to get rid
>> of the logdirty shared buffer completely.
> 
> I take it you're referring to this:
> 
> #ifdef CONFIG_STUBDOM
>     if (logdirty_bitmap != NULL)
>         xc_hvm_modified_memory(xc_handle, domid, _addr >> TARGET_PAGE_BITS,
>                 ((_addr + _len + TARGET_PAGE_SIZE - 1) >> TARGET_PAGE_BITS)
>                     - (_addr >> TARGET_PAGE_BITS));
> #endif

Ah, I didn't notice this.

> Yosuke Iwamatsu: is this not working for you then ?  It's possible
> that I've broken it somehow.

Live-migration fails because stubdom-dm doesn't respond to the request
from xc_save for the logdirty bitmap segment. The attached patch
simply generated from old ioemu tree will fix the issue, then.

Derived from old xen internal tools/ioemu tree.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>

Thanks,
-- Yosuke

[-- Attachment #2: stubdom_respond_to_logdirty_event.patch --]
[-- Type: all/allfiles, Size: 1360 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  parent reply	other threads:[~2008-12-17  1:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16  9:22 [PATCH 0/4] stubdom-dm: Support live migration of HVM domain with stubdom-dm Yosuke Iwamatsu
2008-12-16 10:02 ` Samuel Thibault
2008-12-16 10:06   ` Samuel Thibault
2008-12-16 14:04   ` Ian Jackson
2008-12-16 14:16     ` Samuel Thibault
2008-12-17  1:06     ` Yosuke Iwamatsu [this message]
2008-12-17  1:28       ` Samuel Thibault
2008-12-17 11:39       ` Ian Jackson
2008-12-17 13:14         ` Samuel Thibault

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=49485082.9080505@ab.jp.nec.com \
    --to=y-iwamatsu@ab.jp.nec.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=samuel.thibault@ens-lyon.org \
    --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.