xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v3.1] xSplice design.
@ 2015-07-27 19:20 Konrad Rzeszutek Wilk
  2015-07-27 19:20 ` [RFC PATCH v3.1 1/2] xsplice: rfc.v3.1 Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-07-27 19:20 UTC (permalink / raw)
  To: xen-devel, msw, aliguori, amesserl, rick.harris, paul.voccio,
	steven.wilson, major.hayden, josh.kearney, jinsong.liu,
	xiantao.zxt, daniel.kiper, elena.ufimtseva, bob.liu, hanweidong,
	peter.huangpeng, fanhenglong, liuyingdong, john.liuqiming,
	jbeulich, Andrew.Cooper3, jeremy, dslutz, mpohlack

Hey!

Since v3 [http://lists.xen.org/archives/html/xen-devel/2015-07/msg00990.html]
 - Nailed down the comments, ingested them in.
 - Wrote and tested some code.
RFC v2 [http://lists.xen.org/archives/html/xen-devel/2015-05/msg02142.html]
 - Ingested every review comment in.


The patches for the code are a shell - there is no patching done at all and
it is very much just to test out the design and hypercalls. The hard parts
are yet to come :-)

At the Seattle LinuxCon/Xen Summit I will be presenting about xSplice and
referring to this URL. There is also an slot for brainstorming to talk
in details about things we disagree - and there is ample time to talk
during dinner. Martin who has been heavily reviewing the design will be there
and I hope other folks will be there as well to shape the design and
how we want this to work.

The big outstanding issues are how we want to handle preemption. That
is the problem of making an hypercall and waiting for the hypervisor
to do its job (and the VCPU is blocked). In the past some XSAs have come
out to resolve this and I would very much like this to have it addressed at start.

I think the other issues that have been raised should also be discussed
naturally, but the above is crucial (at least for me). I've attached the
patches on how I thought the preemption part could be solved by having an 'worker'
in hypervisor acting on the commands - and we just poll on the status to see
what the hypervisor has done so far.

Lastly, I also plan to add an Wiki to outline the dependency implementation
parts that so far bubbled up - I figured Wiki would be better as some folks
could put their name behind it.

Now please excuse the roughness of the patch and this giant one huge having
everything in it. It ought to be split in three at least: hypervisor, toolstacks
(libxc and libxl) - that is to be done later.

 docs/misc/xsplice.h           |   80 +++
 docs/misc/xsplice.markdown    | 1230 +++++++++++++++++++++++++++++++++++++++++
 docs/misc/xsplice_test.c      |   78 +++
 tools/libxc/include/xenctrl.h |   16 +
 tools/libxc/xc_misc.c         |  183 ++++++
 tools/libxc/xc_private.c      |    3 +
 tools/misc/Makefile           |    4 +
 tools/misc/xen-xsplice.c      |  385 +++++++++++++
 xen/common/Makefile           |    1 +
 xen/common/kernel.c           |   11 +
 xen/common/keyhandler.c       |    8 +-
 xen/common/sysctl.c           |    5 +
 xen/common/version.c          |    5 +
 xen/common/xsplice.c          |  405 ++++++++++++++
 xen/include/public/sysctl.h   |   66 +++
 xen/include/public/version.h  |    4 +
 xen/include/xen/compile.h.in  |    1 +
 xen/include/xen/version.h     |    1 +
 xen/include/xen/xsplice.h     |    9 +
 19 files changed, 2494 insertions(+), 1 deletion(-)

Konrad Rzeszutek Wilk (2):
      xsplice: rfc.v3.1
      xsplice: Add hook for build_id

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

end of thread, other threads:[~2015-11-03 18:21 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 19:20 [RFC PATCH v3.1] xSplice design Konrad Rzeszutek Wilk
2015-07-27 19:20 ` [RFC PATCH v3.1 1/2] xsplice: rfc.v3.1 Konrad Rzeszutek Wilk
2015-07-30 16:47   ` Johannes Erdfelt
2015-07-31 15:46     ` Konrad Rzeszutek Wilk
2015-08-11 14:17       ` Jan Beulich
2015-07-27 19:20 ` [RFC PATCH v3.1 2/2] xsplice: Add hook for build_id Konrad Rzeszutek Wilk
2015-07-28 15:51   ` Andrew Cooper
2015-07-28 16:35     ` Konrad Rzeszutek Wilk
2015-08-05  8:50   ` Martin Pohlack
2015-08-05  8:58     ` Andrew Cooper
2015-08-05 13:27       ` Martin Pohlack
2015-08-05 14:06         ` (no subject) Martin Pohlack
2015-08-05 14:09         ` [PATCH] xsplice: Use ld-embedded build-ids Martin Pohlack
2015-08-11 14:12           ` Jan Beulich
2015-08-14 12:59             ` Martin Pohlack
2015-08-14 13:54               ` Jan Beulich
2015-08-14 13:57                 ` Martin Pohlack
2015-09-15 18:38                   ` Konrad Rzeszutek Wilk
2015-08-11 14:02   ` [RFC PATCH v3.1 2/2] xsplice: Add hook for build_id Jan Beulich
2015-08-05  8:55 ` Hotpatch construction and __LINE__ (was: [RFC PATCH v3.1] xSplice design.) Martin Pohlack
2015-08-05 13:25   ` Hotpatch construction and __LINE__ Andrew Cooper
2015-08-12  8:09     ` Jan Beulich
2015-08-12  9:55       ` Andrew Cooper
2015-11-03 18:21   ` Ross Lagerwall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).