diff options
author | Steven Smith <ssmith@xensource.com> | 2006-10-31 09:54:49 +0000 |
---|---|---|
committer | Steven Smith <ssmith@xensource.com> | 2006-10-31 09:54:49 +0000 |
commit | 65ae4fc8cde5c5fc667436fe33f0273bcef39951 (patch) | |
tree | bd584b34a386f55f1816355171b3c763d0a86570 /unmodified_drivers/linux-2.6/mkbuildtree | |
parent | 87410b08dc103e8a8f9ed28f47c90d14da2140b8 (diff) | |
download | xen-65ae4fc8cde5c5fc667436fe33f0273bcef39951.tar.gz xen-65ae4fc8cde5c5fc667436fe33f0273bcef39951.tar.bz2 xen-65ae4fc8cde5c5fc667436fe33f0273bcef39951.zip |
[HVM][LINUX][TOOLS] Make xm {shutdown|reboot} do something sensible for HVM
domains with PV drivers loaded. This patch creates a new PV-on-HVM
module, reboot.ko, which, when loaded, creates control/reboot_module
in the store. The tools notice this, and disable the watch which would
normally destroy HVM domains which are the target of an xm shutdown
command, allowing the reboot module to shut the domain down cleanly.
Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>
(Checkin comments by Steven Smith <sos22@cam.ac.uk>)
Diffstat (limited to 'unmodified_drivers/linux-2.6/mkbuildtree')
-rwxr-xr-x[-rw-r--r--] | unmodified_drivers/linux-2.6/mkbuildtree | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/mkbuildtree b/unmodified_drivers/linux-2.6/mkbuildtree index ce0a142447..5b6b8643ee 100644..100755 --- a/unmodified_drivers/linux-2.6/mkbuildtree +++ b/unmodified_drivers/linux-2.6/mkbuildtree @@ -22,6 +22,7 @@ done ln -sf ${XL}/drivers/xen/core/gnttab.c platform-pci ln -sf ${XL}/drivers/xen/core/features.c platform-pci ln -sf ${XL}/drivers/xen/core/xen_proc.c xenbus +ln -sf ${XL}/drivers/xen/core/reboot.c util mkdir -p include mkdir -p include/xen |