All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <dvrabel@cantab.net>
To: xen-devel <xen-devel@lists.xenproject.org>
Subject: [Hackathon] Restartable driver domains and restartable dom0 notes
Date: Tue, 19 Apr 2016 10:49:15 +0100	[thread overview]
Message-ID: <5715FF1B.5000807@cantab.net> (raw)

Restartable driver domains and dom0
-----------------------------------

Jeurgen:  See XenSummit presentation.

- Xenstore Domain (bits missing in libxl)
- Looking at driver domains next.

One domain per backend or several backends in one domain.
Drivers crash -> restart driver domains while guests running.
Issues:

- Guest configuration has both backend (e.g., which disk) and frontend
  parameters (e.g., which domain has the backend).
- Frontend needs to reconnect to new backend in new backend.

Suggestions:

- Hack: Split configuration -> backend configuration to backend domain
  configuration.

- Juergen suggests using XenStore (or other extermal database) to
  convey configuration information -- libxl writes this based on
  frontend guest configuration.

- Must be in XenStore (or external) because toolstack domain may be
  restarted.  But in "/toolstack/" top-level node.

1.  Backend driver started, which backends to start (if needed), any
  devices assigned.

2. libxl reads guest config, writes to persistent store configuration
  of backend.

3. libxl reads persistent store, writes backend nodes to current
  driver domain instance (does this on driver domain restart).

* Restart dom0.

Move drivers into dom0 for resource usage => need to restart dom0.

- performance problems with lots of vcpus.

- SATA needs to be in dom0 -- shared by dom0 and guests (similar for
  other devices).

- Can restart any backends in dom0.

Juergens suggestions:

1. dom0 when it starts, "kexec" load's another image (kernel, initrd,
   DT, etc.).

2. hypervisor jumps to loaded image when dom0 starts, providing same
   resources (device, interrupts) that the old domain had.

3. New dom0 restarts any backends.

4. Reads persistent store, starts any backend instances as needed.

Security concerns on loaded image.  Is it trusted?

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

                 reply	other threads:[~2016-04-19 10:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5715FF1B.5000807@cantab.net \
    --to=dvrabel@cantab.net \
    --cc=xen-devel@lists.xenproject.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.