Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
kvm-s390.h File Reference
#include <linux/hrtimer.h>
#include <linux/kvm.h>
#include <linux/kvm_host.h>

Go to the source code of this file.

Macros

#define VIRTIODESCSPACE   (256ul * 4096ul)
 
#define SIE_INTERCEPT_RERUNVCPU   (1<<0)
 
#define SIE_INTERCEPT_UCONTROL   (1<<1)
 
#define VM_EVENT(d_kvm, d_loglevel, d_string, d_args...)
 
#define VCPU_EVENT(d_vcpu, d_loglevel, d_string, d_args...)
 

Typedefs

typedef int(* intercept_handler_t )(struct kvm_vcpu *vcpu)
 

Functions

int kvm_handle_sie_intercept (struct kvm_vcpu *vcpu)
 
int kvm_s390_handle_wait (struct kvm_vcpu *vcpu)
 
enum hrtimer_restart kvm_s390_idle_wakeup (struct hrtimer *timer)
 
void kvm_s390_tasklet (unsigned long parm)
 
void kvm_s390_deliver_pending_interrupts (struct kvm_vcpu *vcpu)
 
int kvm_s390_inject_vm (struct kvm *kvm, struct kvm_s390_interrupt *s390int)
 
int kvm_s390_inject_vcpu (struct kvm_vcpu *vcpu, struct kvm_s390_interrupt *s390int)
 
int kvm_s390_inject_program_int (struct kvm_vcpu *vcpu, u16 code)
 
int kvm_s390_inject_sigp_stop (struct kvm_vcpu *vcpu, int action)
 
int kvm_s390_handle_b2 (struct kvm_vcpu *vcpu)
 
int kvm_s390_handle_e5 (struct kvm_vcpu *vcpu)
 
int kvm_s390_handle_01 (struct kvm_vcpu *vcpu)
 
int kvm_s390_handle_sigp (struct kvm_vcpu *vcpu)
 
int kvm_s390_vcpu_store_status (struct kvm_vcpu *vcpu, unsigned long addr)
 
int kvm_s390_handle_diag (struct kvm_vcpu *vcpu)
 

Macro Definition Documentation

#define SIE_INTERCEPT_RERUNVCPU   (1<<0)

Definition at line 28 of file kvm-s390.h.

#define SIE_INTERCEPT_UCONTROL   (1<<1)

Definition at line 29 of file kvm-s390.h.

#define VCPU_EVENT (   d_vcpu,
  d_loglevel,
  d_string,
  d_args... 
)
Value:
do { \
debug_sprintf_event(d_vcpu->kvm->arch.dbf, d_loglevel, \
"%02d[%016lx-%016lx]: " d_string "\n", d_vcpu->vcpu_id, \
d_vcpu->arch.sie_block->gpsw.mask, d_vcpu->arch.sie_block->gpsw.addr,\
d_args); \
} while (0)

Definition at line 38 of file kvm-s390.h.

#define VIRTIODESCSPACE   (256ul * 4096ul)

Definition at line 23 of file kvm-s390.h.

#define VM_EVENT (   d_kvm,
  d_loglevel,
  d_string,
  d_args... 
)
Value:
do { \
debug_sprintf_event(d_kvm->arch.dbf, d_loglevel, d_string "\n", \
d_args); \
} while (0)

Definition at line 32 of file kvm-s390.h.

Typedef Documentation

typedef int(* intercept_handler_t)(struct kvm_vcpu *vcpu)

Definition at line 25 of file kvm-s390.h.

Function Documentation

int kvm_handle_sie_intercept ( struct kvm_vcpu vcpu)

Definition at line 266 of file intercept.c.

void kvm_s390_deliver_pending_interrupts ( struct kvm_vcpu vcpu)

Definition at line 464 of file interrupt.c.

int kvm_s390_handle_01 ( struct kvm_vcpu vcpu)

Definition at line 412 of file priv.c.

int kvm_s390_handle_b2 ( struct kvm_vcpu vcpu)

Definition at line 314 of file priv.c.

int kvm_s390_handle_diag ( struct kvm_vcpu vcpu)

Definition at line 107 of file diag.c.

int kvm_s390_handle_e5 ( struct kvm_vcpu vcpu)

Definition at line 382 of file priv.c.

int kvm_s390_handle_sigp ( struct kvm_vcpu vcpu)

Definition at line 323 of file sigp.c.

int kvm_s390_handle_wait ( struct kvm_vcpu vcpu)

Definition at line 379 of file interrupt.c.

enum hrtimer_restart kvm_s390_idle_wakeup ( struct hrtimer timer)

Definition at line 454 of file interrupt.c.

int kvm_s390_inject_program_int ( struct kvm_vcpu vcpu,
u16  code 
)

Definition at line 521 of file interrupt.c.

int kvm_s390_inject_sigp_stop ( struct kvm_vcpu vcpu,
int  action 
)

Definition at line 178 of file sigp.c.

int kvm_s390_inject_vcpu ( struct kvm_vcpu vcpu,
struct kvm_s390_interrupt s390int 
)

Definition at line 603 of file interrupt.c.

int kvm_s390_inject_vm ( struct kvm kvm,
struct kvm_s390_interrupt s390int 
)

Definition at line 543 of file interrupt.c.

void kvm_s390_tasklet ( unsigned long  parm)

Definition at line 439 of file interrupt.c.

int kvm_s390_vcpu_store_status ( struct kvm_vcpu vcpu,
unsigned long  addr 
)

Definition at line 748 of file kvm-s390.c.