From 8eba06a381117500d20dc3d4aea1af8f26dc065f Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sat, 8 Jun 2002 22:31:26 +0000 Subject: 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. --- lib/libkvm/kvm_open.3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/libkvm/kvm_open.3') 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. -- cgit v1.2.3