| 5d747694 | 24-May-2018 |
Roger Pau Monné <[email protected]> |
dev/xenstore: add support for watches
Allow user-space applications to register watches using the xenstore device. This is needed in order to run toolstack operations on domains different than the
dev/xenstore: add support for watches
Allow user-space applications to register watches using the xenstore device. This is needed in order to run toolstack operations on domains different than the one where xenstore is running (in which case the device is not used, since the connection to xenstore is done using a plain socket).
Tested by: Nathan Friess <[email protected]> Sponsored by: Citrix Systems R&D
show more ...
|
| 7c743c89 | 24-May-2018 |
Roger Pau Monné <[email protected]> |
xenstore: don't wait with the PCATCH flag
Due to the current synchronous xenstore implementation in FreeBSD, we cannot return from xs_read_reply without reading a reply, or else the ring gets out of
xenstore: don't wait with the PCATCH flag
Due to the current synchronous xenstore implementation in FreeBSD, we cannot return from xs_read_reply without reading a reply, or else the ring gets out of sync and the next request will read the previous reply and crash due to the type mismatch. A proper solution involves making use of the req_id field in the message and allowing multiple in-flight messages at the same time on the ring.
Remove the PCATCH flag so that signals don't interrupt the wait.
Tested by: Nathan Friess <[email protected]> Sponsored by: Citrix Systems R&D
show more ...
|
| 557077b5 | 30-Sep-2014 |
Roger Pau Monné <[email protected]> |
xen: add xenstored user-space device
This device is used by the user-space daemon that runs xenstore (xenstored). It allows xenstored to map the xenstore memory page, and reports the event channel x
xen: add xenstored user-space device
This device is used by the user-space daemon that runs xenstore (xenstored). It allows xenstored to map the xenstore memory page, and reports the event channel xenstore is using.
Sponsored by: Citrix Systems R&D
dev/xen/xenstore/xenstored_dev.c: - Add the xenstored character device that's used to map the xenstore memory into user-space, and to report the event channel used by xenstore.
conf/files: - Add the device to the build process.
show more ...
|
| 45ce037d | 30-Sep-2014 |
Roger Pau Monné <[email protected]> |
xen: convert the xenstore user-space char device to a newbus device
Convert the xenstore user-space device (/dev/xen/xenstore) to a device using the newbus interface. This allows us to make the devi
xen: convert the xenstore user-space char device to a newbus device
Convert the xenstore user-space device (/dev/xen/xenstore) to a device using the newbus interface. This allows us to make the device initialization dependant on the initialization of xenstore itself in the kernel.
Sponsored by: Citrix Systems R&D
dev/xen/xenstore/xenstore.c: - Convert to a newbus device, this removes the xs_dev_init function.
xen/xenstore/xenstore_internal.h: - Remove xs_dev_init prototype.
dev/xen/xenstore/xenstore.c: - Don't call xs_dev_init anymore, the device will attach itself when xenstore is started.
show more ...
|
| 1d84e2b3 | 30-Sep-2014 |
Roger Pau Monné <[email protected]> |
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 st
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.
show more ...
|