diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-09 02:29:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-09 02:29:10 +0000 |
commit | 5ade48d86075dbce3d9cf3cdd371e5f642aaf5ce (patch) | |
tree | 3782937c3bd86896ba61ccd7d4def4f5bf3fc6f0 | |
parent | 5488aa7b0394dadd83432489377e1e67547d8d18 (diff) |
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); } |