diff options
author | 2015-12-09 02:29:09 +0000 | |
---|---|---|
committer | 2015-12-09 02:29:09 +0000 | |
commit | 663ec9822f4eac668801cb0789798a9ccf3ecd06 (patch) | |
tree | c17af2558177d8d7fb25eb4997c27092a1309607 | |
parent | include err.h for err() (diff) | |
download | wireguard-openbsd-663ec9822f4eac668801cb0789798a9ccf3ecd06.tar.xz wireguard-openbsd-663ec9822f4eac668801cb0789798a9ccf3ecd06.zip |
successful vmm enter/leave does not need to be reported
ok mlarkin
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index faf2971a5ac..6c4ec27c812 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.20 2015/12/06 20:12:15 mlarkin Exp $ */ +/* $OpenBSD: vmm.c,v 1.21 2015/12/09 02:29:09 deraadt Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -571,8 +571,7 @@ vmm_start(void) printf("%s: failed to enter VMM mode\n", ci->ci_dev->dv_xname); ret = EIO; - } else - printf("%s: entered VMM mode\n", ci->ci_dev->dv_xname); + } } #endif /* MULTIPROCESSOR */ @@ -582,8 +581,7 @@ vmm_start(void) printf("%s: failed to enter VMM mode\n", self->ci_dev->dv_xname); ret = EIO; - } else - printf("%s: entered VMM mode\n", self->ci_dev->dv_xname); + } return (ret); } @@ -621,8 +619,7 @@ vmm_stop(void) printf("%s: failed to exit VMM mode\n", ci->ci_dev->dv_xname); ret = EIO; - } else - printf("%s: exited VMM mode\n", ci->ci_dev->dv_xname); + } } #endif /* MULTIPROCESSOR */ @@ -632,8 +629,7 @@ vmm_stop(void) printf("%s: failed to exit VMM mode\n", self->ci_dev->dv_xname); ret = EIO; - } else - printf("%s: exited VMM mode\n", self->ci_dev->dv_xname); + } return (ret); } |