summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_open.3
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 22:31:26 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 22:31:26 +0000
commit8eba06a381117500d20dc3d4aea1af8f26dc065f (patch)
tree62327bd559a77957200c248e9da175c4d3d496d9 /lib/libkvm/kvm_open.3
parentbe4ffb2a10c754590ba8e54a20c870c8746bb107 (diff)
Add a flag - KVM_NO_FILES which tells kvm_openfiles to not
open any files, just return an kvm handle that we can use to some of the functions.
Diffstat (limited to 'lib/libkvm/kvm_open.3')
-rw-r--r--lib/libkvm/kvm_open.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index e1a694d39cd..c03dcc2bf04 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.6 2000/03/04 15:29:56 aaron Exp $
+.\" $OpenBSD: kvm_open.3,v 1.7 2002/06/08 22:31:24 art Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -116,6 +116,10 @@ Only
and
.Dv O_RDWR
are permitted.
+A special value
+.Dv KVM_NO_FILES
+can be specified which will cause no files to be opened and the handle
+can only be used on live kernels on a limited subset of all kvm operations.
.Pp
There are two open routines which differ only with respect to
the error mechanism.