summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/main.c
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-09-02 10:43:37 +0000
committeraiju <devnull@localhost>2017-09-02 10:43:37 +0000
commitbd4513fe87360c790e2a96e00dacbf34c5f081cc (patch)
treecf448dfd9b882d15fa42ba0af5bcbfb076cfdea3 /sys/src/9/pc/main.c
parent6ed716eab605e4b374e7d456cc6b3ed586c9f13b (diff)
devvmx: call vmxshutdown from reboot() function manually
Diffstat (limited to 'sys/src/9/pc/main.c')
-rw-r--r--sys/src/9/pc/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/pc/main.c b/sys/src/9/pc/main.c
index c5386c43d..824259e3a 100644
--- a/sys/src/9/pc/main.c
+++ b/sys/src/9/pc/main.c
@@ -735,6 +735,7 @@ reboot(void *entry, void *code, ulong size)
ulong *pdb;
writeconf();
+ vmxshutdown();
/*
* the boot processor is cpu0. execute this function on it