All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: xen-devel <xen-devel@lists.xen.org>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Driver domains and device handling
Date: Tue, 11 Dec 2012 20:46:12 +0100	[thread overview]
Message-ID: <50C78D84.1030404@citrix.com> (raw)

Hello,

I'm currently reviewing the driver domains protocol proposal, but I
think that before reviewing the protocol we should make clear what kind
of store backends libxl supports, and what are the plans for future
backends.

One of the benefits of the driver domain protocol is that it should
allow to split device connection in at least two phases, which is
important for live migration. The first phase should contain all the
logic that's slower, and should be performed on the receiver domain
without pausing the migrated domain. I've been trying to figure out
which kind of operation should be done in this phase for the different
types of backends, but with the backend support we currently have in
libxl (blkback, qdisk and blktap) I don't think we are able to perform
any kind of preparatory work before actually connecting the device.

One of the backends which I think libxl should support is iSCSI, that
also allows live migration. I've also been trying to figure out how we
are going to handle this kind of devices, and I'm unsure if it will be
best to handle them using Qemu as the backend, which currently has a
userspace implementation of iSCSI, or using an in-kernel initiator and
blkback. The benefits of using Qemu is that it is all contained in
userspace, and we don't pollute the Dom0 (or the Driver Domain) with
unneeded devices, on the other hand it is probably slower than using a
in-kernel initiator. Doing it one way or another, I'm still not able to
see what we can offload to the "preparatory" phase, in the Qemu case we
just launch Qemu, and if we decide to use an in-kernel initiator we only
have to launch a hotplug script with something like: iscsiadm -m node -T
<iqn> -p <ip:port>.

I'm sure there's people on the list with more experience than me on this
field, and I would like to ask for some use-cases where this
"preparatory" phase would be useful, and what actions will be performed
on it.

Thanks, Roger.

             reply	other threads:[~2012-12-11 19:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 19:46 Roger Pau Monné [this message]
2012-12-12 10:43 ` Driver domains and device handling Ian Campbell
2012-12-12 12:35   ` Roger Pau Monné
2012-12-13 16:56     ` Handling iSCSI block devices (Was: Driver domains and device handling) Roger Pau Monné
     [not found]     ` <50CA08AE.80102@citrix.com>
2012-12-13 18:23       ` Ian Jackson
     [not found]       ` <20682.7487.598565.547405@mariner.uk.xensource.com>
2012-12-14 10:49         ` Roger Pau Monné
     [not found]         ` <50CB0429.9070300@citrix.com>
2012-12-14 12:30           ` Ian Jackson
     [not found]           ` <20683.7116.546352.141787@mariner.uk.xensource.com>
2012-12-14 15:20             ` Roger Pau Monné
     [not found]             ` <50CB43A9.3040806@citrix.com>
2012-12-14 15:46               ` Ian Jackson
     [not found]               ` <20683.18895.282490.216230@mariner.uk.xensource.com>
2012-12-14 17:33                 ` Roger Pau Monné
     [not found]                 ` <50CB62CD.7020103@citrix.com>
2012-12-14 18:26                   ` Ian Jackson
     [not found]                   ` <20683.28487.926648.451291@mariner.uk.xensource.com>
2012-12-14 18:38                     ` Roger Pau Monné
     [not found]                     ` <50CB721C.5010006@citrix.com>
2012-12-17 11:47                       ` Ian Jackson

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=50C78D84.1030404@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.