All of lore.kernel.org
 help / color / mirror / Atom feed
* Hotplugged devices in Xen 4.5 and domain reboot
@ 2015-12-01 13:24 Pavlo Suikov
  2015-12-01 14:02 ` Wei Liu
  0 siblings, 1 reply; 14+ messages in thread
From: Pavlo Suikov @ 2015-12-01 13:24 UTC (permalink / raw)
  To: xen-devel; +Cc: Iurii Mykhalskyi, Andrii Anisov


[-- Attachment #1.1: Type: text/plain, Size: 1293 bytes --]

Hi,

got a question regarding hotplugged devices in Xen 4.5. What we currently
have is Xen 4.5, Linux in Dom0 and DomD and Android in DomU. All the
devices are configured via domain config, so they are initialized on domain
startup: libxl reads config, sets up xenstore branches and fills them for
driver back ends and front ends; front ends monitor these branches and fill
in their specific data once connection is established. On DomU reboot,
config is being re-read and all the devices are started again in the same
manner.

Problem is we don't really know what to do with hotplugged devices. When
such a device appears in DomU during runtime, we set up all the xenstore
insformation on the fly, but it doesn't go to persistent domain
configuration; so when DomU reboot comes, they are not set up again as they
should. All the solutions we are considering look like dirty hacks (e.g.
making separate branch in xenstore for hotplugged devices, reading it on
domain start in the same way domain config is parsed, and copying data to
corresponding xenstore domain branches). Are there any existing ways to
handle these?

Suikov Pavlo
GlobalLogic
P +x.xxx.xxx.xxxx  M +38.066.667.1296  S psujkov
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

[-- Attachment #1.2: Type: text/html, Size: 3355 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

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

end of thread, other threads:[~2015-12-02  9:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 13:24 Hotplugged devices in Xen 4.5 and domain reboot Pavlo Suikov
2015-12-01 14:02 ` Wei Liu
2015-12-01 14:58   ` Iurii Mykhalskyi
2015-12-01 15:29     ` Wei Liu
2015-12-01 15:41       ` Ian Campbell
2015-12-01 16:48       ` Iurii Mykhalskyi
2015-12-01 17:05         ` Ian Campbell
2015-12-01 21:03           ` Doug Goldstein
2015-12-02  9:31             ` Ian Campbell
2015-12-01 17:21         ` Wei Liu
2015-12-02  9:28           ` Ian Campbell
2015-12-01 17:52         ` Roger Pau Monné
2015-12-02  9:30           ` Ian Campbell
2015-12-01 15:56     ` Roger Pau Monné

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.