KVM
|
#include <iodev.h>
Public Attributes | |
int(* | read )(struct kvm_vcpu *vcpu, struct kvm_io_device *this, gpa_t addr, int len, void *val) |
int(* | write )(struct kvm_vcpu *vcpu, 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(* kvm_io_device_ops::destructor) (struct kvm_io_device *this) |
int(* kvm_io_device_ops::read) (struct kvm_vcpu *vcpu, struct kvm_io_device *this, gpa_t addr, int len, void *val) |
int(* kvm_io_device_ops::write) (struct kvm_vcpu *vcpu, struct kvm_io_device *this, gpa_t addr, int len, const void *val) |