All of lore.kernel.org
 help / color / mirror / Atom feed
* Driver domain reboot, xenstore backend branches
@ 2015-12-15 16:38 Pavlo Suikov
  2015-12-15 17:06 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Pavlo Suikov @ 2015-12-15 16:38 UTC (permalink / raw)
  To: xen-devel


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

Hi,

got a question regarding reboot of a driver domain in Xen 4.5. What we
currently have is Xen 4.5, Linux in Dom0 and DomD and Android in DomU.

On DomU start, xenstore is populated with both backend and frontend
branches for all the devices present in config. So it looks like this (DomD
is domain 1, DomU is domain 2):

...
/local/domain/1/backend/vif
...
/local/domain/2/device/vif
...

After issuing DomD reboot, backend branches which correspond to it are
cleared, so xenstore looks like this:

...
/local/domain/2/device/vif
...

Still have frontend branch, but no corresponding backend node, since DomU
was not restarted and DomD config knows nothing about these devices.

We want to have DomD reboot with split driver restart and backend reconnect
to hanging frontends. It there a right way to do it in Xen 4.5 (or 4.6 for
that matter if something new was introduced in this version exactly)?

Devd seems to be quite a tool for the job, but it observes backend branches
rather that filling them. Am I missing something here? How split drivers
are supposed to work in a DomD reboot scenario?


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: 3522 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] 2+ messages in thread

* Re: Driver domain reboot, xenstore backend branches
  2015-12-15 16:38 Driver domain reboot, xenstore backend branches Pavlo Suikov
@ 2015-12-15 17:06 ` Andrew Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2015-12-15 17:06 UTC (permalink / raw)
  To: Pavlo Suikov, xen-devel


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

On 15/12/15 16:38, Pavlo Suikov wrote:
> Hi,
>
> got a question regarding reboot of a driver domain in Xen 4.5. What we
> currently have is Xen 4.5, Linux in Dom0 and DomD and Android in DomU.
>
> On DomU start, xenstore is populated with both backend and frontend
> branches for all the devices present in config. So it looks like this
> (DomD is domain 1, DomU is domain 2):
>
> ...
> /local/domain/1/backend/vif
> ...
> /local/domain/2/device/vif
> ...
>
> After issuing DomD reboot, backend branches which correspond to it are
> cleared, so xenstore looks like this:
>
> ...
> /local/domain/2/device/vif
> ...
>
> Still have frontend branch, but no corresponding backend node, since
> DomU was not restarted and DomD config knows nothing about these devices.
>
> We want to have DomD reboot with split driver restart and backend
> reconnect to hanging frontends. It there a right way to do it in Xen
> 4.5 (or 4.6 for that matter if something new was introduced in this
> version exactly)?
>
> Devd seems to be quite a tool for the job, but it observes backend
> branches rather that filling them. Am I missing something here? How
> split drivers are supposed to work in a DomD reboot scenario?

They don't.

XenServer observed the same kinds of issues when experimenting with
device driver domains.

We even investigated several options such as rebooting the driver domain
with the same domid, and suspending/resuming the affected guests to
cause them to reconnect their PV rings.  Neither of these approaches
worked cleanly.

We came to the conclusion that rebootable driver domains is an area
which will need active development work to function.

~Andrew

[-- Attachment #1.2: Type: text/html, Size: 2850 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] 2+ messages in thread

end of thread, other threads:[~2015-12-15 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 16:38 Driver domain reboot, xenstore backend branches Pavlo Suikov
2015-12-15 17:06 ` Andrew Cooper

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.