KVM
Public Attributes | List of all members
kvm_io_device_ops Struct Reference

#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)
 

Detailed Description

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.

Definition at line 17 of file iodev.h.

Member Data Documentation

◆ destructor

void(* kvm_io_device_ops::destructor) (struct kvm_io_device *this)

Definition at line 28 of file iodev.h.

◆ read

int(* kvm_io_device_ops::read) (struct kvm_vcpu *vcpu, struct kvm_io_device *this, gpa_t addr, int len, void *val)

Definition at line 18 of file iodev.h.

◆ write

int(* kvm_io_device_ops::write) (struct kvm_vcpu *vcpu, struct kvm_io_device *this, gpa_t addr, int len, const void *val)

Definition at line 23 of file iodev.h.


The documentation for this struct was generated from the following file: