diff options
author | 2017-02-03 08:23:01 +0000 | |
---|---|---|
committer | 2017-02-03 08:23:01 +0000 | |
commit | 46523e561deecf875976d096d494e8187ec6fccb (patch) | |
tree | d5d199eea7da7e34b0840e3bf3782b56810580cc | |
parent | Don't use <sys/param.h> from userland without cause. Sort <sys/*> (diff) | |
download | wireguard-openbsd-46523e561deecf875976d096d494e8187ec6fccb.tar.xz wireguard-openbsd-46523e561deecf875976d096d494e8187ec6fccb.zip |
yasuoka@ reported that a "guest shutdown" resulted in a reboot instead
of a shutdown. Correct a mistake in rev 1.11 to make this trigger a
shutdown again.
ok reyk@
-rw-r--r-- | sys/dev/pv/vmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/vmt.c b/sys/dev/pv/vmt.c index 9ddc31bad65..47b4c90b0fb 100644 --- a/sys/dev/pv/vmt.c +++ b/sys/dev/pv/vmt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmt.c,v 1.11 2017/01/10 17:16:39 reyk Exp $ */ +/* $OpenBSD: vmt.c,v 1.12 2017/02/03 08:23:01 jsg Exp $ */ /* * Copyright (c) 2007 David Crawshaw <david@zentus.com> @@ -595,7 +595,7 @@ vmt_do_shutdown(struct vmt_softc *sc) { vmt_tclo_state_change_success(sc, 1, VM_STATE_CHANGE_HALT); vm_rpc_send_str(&sc->sc_tclo_rpc, VM_RPC_REPLY_OK); - pvbus_reboot(&sc->sc_dev); + pvbus_shutdown(&sc->sc_dev); } void |