]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
[minios] Add xenbus shutdown control support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 30 Nov 2012 09:32:27 +0000 (09:32 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 30 Nov 2012 09:32:27 +0000 (09:32 +0000)
commit27dafefd35a7154f17b73246031ffd2ddc00cd37
treef76c45400a693b53a4785cbc4fa4a9d5a598d27a
parent8531fff865fd9963b3c83124acbe6d95d17b8f8f
[minios] Add xenbus shutdown control support

Add a thread watching the xenbus shutdown control path and notifies a
wait queue.

Add HYPERVISOR_shutdown convenient inline for minios shutdown.

Add proper shutdown to the minios test application.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Committed-by: Keir Fraser <keir@xen.org>
include/kernel.h
include/x86/x86_32/hypercall-x86_32.h
include/x86/x86_64/hypercall-x86_64.h
kernel.c
test.c