Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
kvm_io_device_ops Struct Reference

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

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 29 of file iodev.h.

Field Documentation

void(* destructor)(struct kvm_io_device *this)

Definition at line 38 of file iodev.h.

Definition at line 30 of file iodev.h.

Definition at line 34 of file iodev.h.


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