xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Hackathon] Restartable driver domains and restartable dom0 notes
@ 2016-04-19  9:49 David Vrabel
  0 siblings, 0 replies; only message in thread
From: David Vrabel @ 2016-04-19  9:49 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-19 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19  9:49 [Hackathon] Restartable driver domains and restartable dom0 notes David Vrabel

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).