aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/fs-front.c
Commit message (Collapse)AuthorAgeFilesLines
* mini-os: Make utility function get_self_id() in fs-front.c public.Keir Fraser2008-12-161-13/+1
| | | | Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
* prefix mini-os lists with minios_, drop QEMU_ prefix from QEMU_LIST_*Keir Fraser2008-08-081-11/+11
| | | | | | That permits to reduce the amount of difference with upstream. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: Fix 32bit compilation of fs-front.cKeir Fraser2008-08-041-2/+2
| | | | | Reported-by: Trolle Selander <trolle.selander@eu.citrix.com> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* FSIF: extend protocol to multi-grant requests and multi-page ringKeir Fraser2008-08-011-60/+184
| | | | | | | To improve throughput and inline the stat response. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: fix FS frontend index readingKeir Fraser2008-07-211-2/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* mini-os: fix fs-front.c debugging printsKeir Fraser2008-07-211-13/+22
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Fix a couple of Grzegorz Milos copyright lines.Keir Fraser2008-07-101-1/+1
| | | | Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* minios: fix add_id_to_freelist(0)Keir Fraser2008-06-201-5/+5
| | | | | | add_id_to_freelist(0) would make get_id_from_freelist() always return 0. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add proper shutdown facilitiesKeir Fraser2008-06-091-0/+2
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: fix thread safety of xenbus watches by requiring callers toKeir Fraser2008-05-061-2/+3
| | | | | | | 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: end watch of FS backend state valueKeir Fraser2008-05-021-0/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: Fix lost eventsKeir Fraser2008-03-181-0/+1
| | | | | | | | | | | | | | | evtchn_bind_interdomain used to clear any already pending event before binding a handler, because else the handler may be called before it is ready. That however leads to missed events, which I had to workaround for the HVM case. This changes the semantics of bind_evtchn, and thus of all the event channel binding functions (bind_virq, evtchn_alloc_unbound, evtchn_bind_interdomain) into not unmasking the event itself, hence letting the caller initialize properly before unmasking the port (e.g. record the port number in an appropriate place). Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: POSIX fixesKeir Fraser2008-01-221-2/+2
| | | | | | Fixes some functions which are POSIX. Also make them ifndef HAVE_LIBC. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: do not exit if FS backend not found.Keir Fraser2008-01-181-4/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Add FS backend/frontend drivers (frontend in minios only).Keir Fraser2008-01-181-0/+1129
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>