qemu-patch-raspberry4/scripts/kvm
Janosch Frank 400b3cb519 scripts/kvm/kvm_stat: Fixup syscall error reporting
In 2008 a patch was written that introduced ctypes.get_errno() and
set_errno() as official interfaces to the libc errno variable. Using
them we can avoid accessing private libc variables.
The patch was included in python 2.6.

Also we need to raise the right exception, with the right parameters
and a helpful message.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-14-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-26 15:58:12 +01:00
..
kvm_flightrecorder kvm: add flightrecorder script 2012-04-12 19:01:41 -03:00
kvm_stat scripts/kvm/kvm_stat: Fixup syscall error reporting 2016-01-26 15:58:12 +01:00
kvm_stat.texi kvm_stat: add kvm_stat.1 man page 2015-03-10 10:49:25 +01:00
vmxcap vmxcap: Update according to SDM of September 2014 2014-09-26 21:08:56 +04:00