All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Pavlo Suikov <pavlo.suikov@globallogic.com>, xen-devel@lists.xen.org
Subject: Re: Driver domain reboot, xenstore backend branches
Date: Tue, 15 Dec 2015 17:06:18 +0000	[thread overview]
Message-ID: <5670488A.5020808@citrix.com> (raw)
In-Reply-To: <CAE4oM6xRycVCvqQQDwS-wiiutjyD-pqR3sjSA=scDpa_qiNVzg@mail.gmail.com>


[-- 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

      reply	other threads:[~2015-12-15 17:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15 16:38 Driver domain reboot, xenstore backend branches Pavlo Suikov
2015-12-15 17:06 ` Andrew Cooper [this message]

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=5670488A.5020808@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=pavlo.suikov@globallogic.com \
    --cc=xen-devel@lists.xen.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.