From: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
To: Masroor Vettuparambil <Masroor.Vettuparambil@neterion.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: question on PV pass-through patch
Date: Mon, 17 Mar 2008 11:31:57 +0900 [thread overview]
Message-ID: <47DDD81D.50008@ab.jp.nec.com> (raw)
In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD7703337835@nekter>
Masroor Vettuparambil wrote:
>
> I tried your patch with CONFIG_XEN_PCIDEV_BACKEND_VPCI.
> Detached the pci on the source and attached another slot to migrated
> domU on destination.
> Migration is happening smoothly. thanks for your work.
>
> a minor thing I noticed is, dmesg on domU shows the following warning
> during pci-detach,
> WARNING: g.e. still in use!
> WARNING: leaking g.e. and page still in use!
I'm not sure what this means, but it looks like something is wrong
with the disconnect procedure of pcifront/pciback.
> I wonder if we can achieve a 'live' migration of direct access, ie,
> without interrupting the network traffic?
> Something like creating a vif(network-attach) on domU for carrying the
> n/w traffic temporarily till the migration is over.
> After migration, move the n/w traffic back from vif to newly
> pci-attached NIC on the destination.
> Any thought?
Actually I've been thinking of "passthrough domain live migration"
using a multipath-driver which combines a passthrough device and
a virtual device. Below is an idea of live migrating a domU
which has passthrough network device attached.
- First create bond0 and add the passthrough interface to it.
- Usually we use the passthrough interface (fast path).
- Before migration, attach a vif to the domU and add the vif interface
to bond0. Then remove the passthrough inteface from bond0 and do
pci-detach. We can migrate without network disconnection because
the vif is now enabled (slow path).
- After migration, do pci-attach, add passthrough interface to bond0,
and disconnect the vif interface (switch back to fast path).
I hope this method works, but I haven't have an opportunity to try it
myself yet.
Thanks,
-------------------
Yosuke Iwamatsu
NEC Corporation
prev parent reply other threads:[~2008-03-17 2:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 13:48 question on PV pass-through patch Masroor Vettuparambil
2008-03-10 1:36 ` Yosuke Iwamatsu
2008-03-14 11:14 ` Masroor Vettuparambil
2008-03-17 2:31 ` Yosuke Iwamatsu [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=47DDD81D.50008@ab.jp.nec.com \
--to=y-iwamatsu@ab.jp.nec.com \
--cc=Masroor.Vettuparambil@neterion.com \
--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.