aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/xenbus.h
Commit message (Collapse)AuthorAgeFilesLines
* minios: add xenbus_read_uuidMatthew Fioravante2012-11-131-0/+4
| | | | | | | | | Similar to xenbus_read_integer, this function reads a xenstore path and parses it as a uuid. See include/xenbus.h for details. Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* mini-os: make frontends and xenbus optionalDaniel De Graaf2012-02-091-0/+12
| | | | | | | | | | | | | | | | | This adds compile-time logic to disable certain frontends in mini-os: - pcifront is disabled by default, enabled for ioemu - blkfront, netfront, fbfront, kbdfront, consfront are enabled by default - xenbus is required for any frontend, and is enabled by default If all frontends and xenbus are disabled, mini-os will run without needing to communicate with xenstore, making it suitable to run the xenstore daemon. The console frontend is not required for the initial console, only consoles opened via openpt or ptmx. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Acked-by: Ian Campbell <ian.campbell@citrix.com> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
* minios: refactor xenbus state machineKeir Fraser2009-06-031-0/+4
| | | | | | | | Implement xenbus_wait_for_state_change and xenbus_switch_state and change the various frontends to use the two functions and do proper error checking. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* mini-os: Make utility function get_self_id() in fs-front.c public.Keir Fraser2008-12-161-0/+3
| | | | Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
* mini-os: Add printf format checking to xenbus_printfKeir Fraser2008-08-271-1/+2
| | | | | Reported-by: "Daniel P. Berrange" <berrange@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: make xenbus_read_integer and xenbus_printf take const stringsKeir Fraser2008-08-271-3/+3
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add proper shutdown facilitiesKeir Fraser2008-06-091-0/+3
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: fix thread safety of xenbus watches by requiring callers toKeir Fraser2008-05-061-5/+6
| | | | | | | provide their own queue of events, because else we can not dispatch to watchers running in parallel. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add xenbus token support and separate watch event queuesKeir Fraser2008-01-171-3/+40
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: Various small fixes.kaf24@firebug.cl.cam.ac.uk2007-03-191-0/+1
| | | | | | | | - Fixed type of variables in hypervisor.c. - Fixed not removing a waiter from watch_queue. - Make wait_for_watch() global accessible. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Support xenbus watches.kfraser@localhost.localdomain2007-01-121-0/+3
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Implement XenBus transactions in MiniOS.kfraser@localhost.localdomain2006-07-051-6/+23
| | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* This patch exposes XenBus functions to Mini-OS applications.sos22@douglas.cl.cam.ac.uk2006-06-131-0/+28
| | | | Signed-of-by: John D. Ramsdell <ramsdell@mitre.org>
* Fix mini-os xenbus.kaf24@firebug.cl.cam.ac.uk2006-03-241-222/+4
| | | | | | | From: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
* Merge in the newer Xenbus implementation from Linux to the Mini-OS. The newkaf24@firebug.cl.cam.ac.uk2005-12-081-28/+163
| | | | | | | | | | | | | | version compiles and starts up, but I'm not really sure how to test the new xenbus implementation. * Added unbind_evtchn * Copied parts of the Linux spinlock implementation to make the changes to xenbus compared to Linux smaller. Also added a dummy rwsem implementation. * Updated the xenbus-files Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
* Xenbus implementation ported from Linux to Mini-os, simple thread support ↵kaf24@firebug.cl.cam.ac.uk2005-09-091-0/+89
introduced to simplify the porting. 64 bit version of Mini-os now compiles, but does not work because of the pagetables and some bits of scheduler not being written. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>