Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kvm_geterr(3) [netbsd man page]

KVM_GETERR(3)						   BSD Library Functions Manual 					     KVM_GETERR(3)

NAME
kvm_geterr -- get error message on kvm descriptor LIBRARY
Kernel Data Access Library (libkvm, -lkvm) SYNOPSIS
#include <kvm.h> char * kvm_geterr(kvm_t *kd); DESCRIPTION
This function returns a string describing the most recent error condition on the descriptor kd. The results are undefined if the most recent kvm(3) library call did not produce an error. The string returned is stored in memory owned by kvm(3) so the message should be copied out and saved elsewhere if necessary. SEE ALSO
kvm(3), kvm_close(3), kvm_getargv(3), kvm_getenvv(3), kvm_getprocs(3), kvm_nlist(3), kvm_open(3), kvm_openfiles(3), kvm_read(3), kvm_write(3) BUGS
This routine cannot be used to access error conditions due to a failed kvm_openfiles() call, since failure is indicated by returning a NULL descriptor. Therefore, errors on open are output to the special error buffer passed to kvm_openfiles(). This option is not available to kvm_open(). BSD
June 4, 1993 BSD

Check Out this Related Man Page

KVM_GETERR(3)						   BSD Library Functions Manual 					     KVM_GETERR(3)

NAME
kvm_geterr -- get error message on kvm descriptor LIBRARY
Kernel Data Access Library (libkvm, -lkvm) SYNOPSIS
#include <kvm.h> char * kvm_geterr(kvm_t *kd); DESCRIPTION
This function returns a string describing the most recent error condition on the descriptor kd. The results are undefined if the most recent kvm(3) library call did not produce an error. The string returned is stored in memory owned by kvm(3) so the message should be copied out and saved elsewhere if necessary. SEE ALSO
kvm(3), kvm_close(3), kvm_getargv(3), kvm_getenvv(3), kvm_getprocs(3), kvm_nlist(3), kvm_open(3), kvm_openfiles(3), kvm_read(3), kvm_write(3) BUGS
This routine cannot be used to access error conditions due to a failed kvm_openfiles() call, since failure is indicated by returning a NULL descriptor. Therefore, errors on open are output to the special error buffer passed to kvm_openfiles(). This option is not available to kvm_open(). BSD
June 4, 1993 BSD
Man Page

5 More Discussions You Might Find Interesting

1. Solaris

kvm issue for console configuration

(0 Replies)
Discussion started by: vkav
0 Replies

2. Hardware

kvm issue for console configuration

Hi i am new to unix , i need to do console configuration on aix p520 there is no HMC device, i tried doing connecting through null cable via hyper terminal still no result, team says kvm issue so what is kvm issue.... (2 Replies)
Discussion started by: vkav
2 Replies

3. UNIX for Dummies Questions & Answers

Starting terminal with shortcut key combination

How can the shortcut keys be defined that would open up a terminal window? When using a kvm switch, the mouse sometimes does not work, but the keyboard does, and by opening up a terminal window using a shortcut key combination, the mouse can be restarted by entering the predefined mouserestart... (0 Replies)
Discussion started by: figaro
0 Replies

4. Solaris

A little complex: why my packet don't route?

I have solaris11 running in a kvm virtual machine,network works fine. I can configure it with dhcp or static. Of course packet forward in kvm machine is enabled The solaris11 machine can ping external network. I have setup a solaris10 zone inside the vm the solaris 10 zone use exclusive ip... (3 Replies)
Discussion started by: Linusolaradm1
3 Replies

5. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies