All of lore.kernel.org
 help / color / mirror / Atom feed
* Driver domains and device handling
@ 2012-12-11 19:46 Roger Pau Monné
  2012-12-12 10:43 ` Ian Campbell
  0 siblings, 1 reply; 13+ messages in thread
From: Roger Pau Monné @ 2012-12-11 19:46 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

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.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-12-17 11:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 19:46 Driver domains and device handling Roger Pau Monné
2012-12-12 10:43 ` 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

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.