Linux Kernel
3.7.1
|
#include <iodev.h>
Data Fields | |
int(* | read )(struct kvm_io_device *this, gpa_t addr, int len, void *val) |
int(* | write )(struct kvm_io_device *this, gpa_t addr, int len, const void *val) |
void(* | destructor )(struct kvm_io_device *this) |
kvm_io_device_ops are called under kvm slots_lock. read and write handlers return 0 if the transaction has been handled, or non-zero to have it passed to the next device.
void(* destructor)(struct kvm_io_device *this) |