Home
last modified time | relevance | path

Searched hist:"1 d84e2b3c87a9529c290ed910bd6669de0e4b9cd" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/xenstore/
H A Dxenstore.cdiff 1d84e2b3c87a9529c290ed910bd6669de0e4b9cd Tue Sep 30 19:27:56 CEST 2014 Roger Pau Monné <royger@FreeBSD.org> xen: defer xenstore initialization until xenstored is started

The xenstore related devices in the kernel cannot be started until
xenstored is running, which will happen later in the Dom0 case. If
start_info_t doesn't contain a valid xenstore event channel, defer all
xenstore related devices attachment to later.

Sponsored by: Citrix Systems R&D

dev/xen/xenstore/xenstore.c:
- Prevent xenstore from trying to attach it's descendant devices if
xenstore is not initialized.
- Add a callback in the xenstore interrupt filter that will trigger
the plug of xenstore descendant devices on the first received
interrupt. This interrupt is generated when xenstored attaches to
the event channel, and serves as a notification that xenstored is
running.