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

#include <kvm_host.h>

Data Structures

struct  kvm_queued_exception
 
struct  kvm_queued_interrupt
 

Data Fields

int launched
 
int last_exit
 
int last_run_cpu
 
int vmm_tr_slot
 
int vm_tr_slot
 
int sn_rtc_tr_slot
 
int mp_state
 
int ptc_g_count
 
struct kvm_ptc_g ptc_g_data [MAX_PTC_G_NUM]
 
struct hrtimer hlt_timer
 
long ht_active
 
struct kvm_lapicapic
 
struct vpdvpd
 
struct exit_ctl_data exit_data
 
cpumask_t cache_coherent_map
 
unsigned long vmm_rr
 
unsigned long host_rr6
 
unsigned long psbits [8]
 
unsigned long cr_iipa
 
unsigned long cr_isr
 
unsigned long vsa_base
 
unsigned long dirty_log_lock_pa
 
unsigned long __gp
 
struct thash_data itrs [NITRS]
 
struct thash_data dtrs [NDTRS]
 
unsigned char itr_regions
 
unsigned char dtr_regions
 
unsigned char tc_regions
 
unsigned long ptce_base
 
unsigned long ptce_count [2]
 
unsigned long ptce_stride [2]
 
unsigned long last_itc
 
long itc_offset
 
unsigned long itc_check
 
unsigned long timer_check
 
unsigned int timer_pending
 
unsigned int timer_fired
 
unsigned long vrr [8]
 
unsigned long ibr [8]
 
unsigned long dbr [8]
 
unsigned long insvc [4]
 
unsigned long xtp
 
unsigned long metaphysical_rr0
 
unsigned long metaphysical_rr4
 
unsigned long metaphysical_saved_rr0
 
unsigned long metaphysical_saved_rr4
 
unsigned long fp_psr
 
unsigned long saved_gp
 
int mode_flags
 
struct thash_cb vtlb
 
struct thash_cb vhpt
 
char irq_check
 
char irq_new_pending
 
unsigned long opcode
 
unsigned long cause
 
char log_buf [VMM_LOG_LEN]
 
union context host
 
union context guest
 
char mmio_data [8]
 
ulong host_stack
 
u32 host_pid
 
ulong gpr [32]
 
u64 fpr [32]
 
u64 fpscr
 
ulong pc
 
ulong ctr
 
ulong lr
 
ulong xer
 
u32 cr
 
u32 vrsave
 
u32 mmucr
 
ulong shadow_msr
 
ulong csrr0
 
ulong csrr1
 
ulong dsrr0
 
ulong dsrr1
 
ulong mcsrr0
 
ulong mcsrr1
 
ulong mcsr
 
u32 dec
 
u32 tbl
 
u32 tbu
 
u32 tcr
 
ulong tsr
 
u32 ivor [64]
 
ulong ivpr
 
u32 pvr
 
u32 shadow_pid
 
u32 shadow_pid1
 
u32 pid
 
u32 swap_pid
 
u32 ccr0
 
u32 ccr1
 
u32 dbcr0
 
u32 dbcr1
 
u32 dbsr
 
u64 mmcr [3]
 
u32 pmc [8]
 
gpa_t paddr_accessed
 
gva_t vaddr_accessed
 
u8 io_gpr
 
u8 mmio_is_bigendian
 
u8 mmio_sign_extend
 
u8 dcr_needed
 
u8 dcr_is_write
 
u8 osi_needed
 
u8 osi_enabled
 
u8 papr_enabled
 
u8 sane
 
u8 cpu_type
 
u8 hcall_needed
 
u32 cpr0_cfgaddr
 
struct hrtimer dec_timer
 
struct tasklet_struct tasklet
 
u64 dec_jiffies
 
u64 dec_expires
 
unsigned long pending_exceptions
 
u16 last_cpu
 
u8 ceded
 
u8 prodded
 
u32 last_inst
 
wait_queue_head_twqp
 
struct kvmppc_vcorevcore
 
int ret
 
int trap
 
int state
 
int ptid
 
bool timer_running
 
wait_queue_head_t cpu_run
 
struct kvm_vcpu_arch_sharedshared
 
unsigned long magic_page_pa
 
unsigned long magic_page_ea
 
struct kvm_s390_sie_blocksie_block
 
s390_fp_regs host_fpregs
 
unsigned int host_acrs [NUM_ACRS]
 
s390_fp_regs guest_fpregs
 
struct kvm_s390_local_interrupt local_int
 
struct hrtimer ckc_timer
 
union {
   struct cpuid   cpu_id
 
   u64   stidp_data
 
}; 
 
struct gmapgmap
 
unsigned long regs [NR_VCPU_REGS]
 
u32 regs_avail
 
u32 regs_dirty
 
unsigned long cr0
 
unsigned long cr0_guest_owned_bits
 
unsigned long cr2
 
unsigned long cr3
 
unsigned long cr4
 
unsigned long cr4_guest_owned_bits
 
unsigned long cr8
 
u32 hflags
 
u64 efer
 
u64 apic_base
 
unsigned long apic_attention
 
int32_t apic_arb_prio
 
int sipi_vector
 
u64 ia32_misc_enable_msr
 
bool tpr_access_reporting
 
struct kvm_mmu mmu
 
struct kvm_mmu nested_mmu
 
struct kvm_mmuwalk_mmu
 
struct kvm_mmu_memory_cache mmu_pte_list_desc_cache
 
struct kvm_mmu_memory_cache mmu_page_cache
 
struct kvm_mmu_memory_cache mmu_page_header_cache
 
struct fpu guest_fpu
 
u64 xcr0
 
struct kvm_pio_request pio
 
voidpio_data
 
u8 event_exit_inst_len
 
struct
kvm_vcpu_arch::kvm_queued_exception 
exception
 
struct
kvm_vcpu_arch::kvm_queued_interrupt 
interrupt
 
int halt_request
 
int cpuid_nent
 
struct kvm_cpuid_entry2 cpuid_entries [KVM_MAX_CPUID_ENTRIES]
 
struct x86_emulate_ctxt emulate_ctxt
 
bool emulate_regs_need_sync_to_vcpu
 
bool emulate_regs_need_sync_from_vcpu
 
int(* complete_userspace_io )(struct kvm_vcpu *vcpu)
 
gpa_t time
 
struct pvclock_vcpu_time_info hv_clock
 
unsigned int hw_tsc_khz
 
unsigned int time_offset
 
struct pagetime_page
 
bool pvclock_set_guest_stopped_request
 
struct {
   u64   msr_val
 
   u64   last_steal
 
   u64   accum_steal
 
   struct gfn_to_hva_cache   stime
 
   struct kvm_steal_time   steal
 
st
 
u64 last_guest_tsc
 
u64 last_kernel_ns
 
u64 last_host_tsc
 
u64 tsc_offset_adjustment
 
u64 this_tsc_nsec
 
u64 this_tsc_write
 
u8 this_tsc_generation
 
bool tsc_catchup
 
bool tsc_always_catchup
 
s8 virtual_tsc_shift
 
u32 virtual_tsc_mult
 
u32 virtual_tsc_khz
 
atomic_t nmi_queued
 
unsigned nmi_pending
 
bool nmi_injected
 
struct mtrr_state_type mtrr_state
 
u32 pat
 
int switch_db_regs
 
unsigned long db [KVM_NR_DB_REGS]
 
unsigned long dr6
 
unsigned long dr7
 
unsigned long eff_db [KVM_NR_DB_REGS]
 
unsigned long guest_debug_dr7
 
u64 mcg_cap
 
u64 mcg_status
 
u64 mcg_ctl
 
u64mce_banks
 
u64 mmio_gva
 
unsigned access
 
gfn_t mmio_gfn
 
struct kvm_pmu pmu
 
unsigned long singlestep_rip
 
u64 hv_vapic
 
cpumask_var_t wbinvd_dirty_mask
 
unsigned long last_retry_eip
 
unsigned long last_retry_addr
 
struct {
   bool   halted
 
   gfn_t   gfns [roundup_pow_of_two(ASYNC_PF_PER_VCPU)]
 
   struct gfn_to_hva_cache   data
 
   u64   msr_val
 
   u32   id
 
   bool   send_user_only
 
apf
 
struct {
   u64   length
 
   u64   status
 
osvw
 
struct {
   u64   msr_val
 
   struct gfn_to_hva_cache   data
 
pv_eoi
 

Detailed Description

Definition at line 371 of file kvm_host.h.

Field Documentation

union { ... }
unsigned long __gp

Definition at line 408 of file kvm_host.h.

unsigned access

Definition at line 467 of file kvm_host.h.

u64 accum_steal

Definition at line 428 of file kvm_host.h.

struct { ... } apf

Definition at line 393 of file kvm_host.h.

int32_t apic_arb_prio

Definition at line 349 of file kvm_host.h.

unsigned long apic_attention

Definition at line 348 of file kvm_host.h.

u64 apic_base

Definition at line 346 of file kvm_host.h.

cpumask_t cache_coherent_map

Definition at line 399 of file kvm_host.h.

unsigned long cause

Definition at line 448 of file kvm_host.h.

u32 ccr0

Definition at line 441 of file kvm_host.h.

u32 ccr1

Definition at line 442 of file kvm_host.h.

u8 ceded

Definition at line 501 of file kvm_host.h.

struct hrtimer ckc_timer

Definition at line 236 of file kvm_host.h.

int(* complete_userspace_io)(struct kvm_vcpu *vcpu)

Definition at line 415 of file kvm_host.h.

u32 cpr0_cfgaddr

Definition at line 493 of file kvm_host.h.

Definition at line 239 of file kvm_host.h.

Definition at line 512 of file kvm_host.h.

Definition at line 490 of file kvm_host.h.

Definition at line 409 of file kvm_host.h.

int cpuid_nent

Definition at line 408 of file kvm_host.h.

u32 cr

Definition at line 400 of file kvm_host.h.

unsigned long cr0

Definition at line 337 of file kvm_host.h.

unsigned long cr0_guest_owned_bits

Definition at line 338 of file kvm_host.h.

unsigned long cr2

Definition at line 339 of file kvm_host.h.

unsigned long cr3

Definition at line 340 of file kvm_host.h.

unsigned long cr4

Definition at line 341 of file kvm_host.h.

unsigned long cr4_guest_owned_bits

Definition at line 342 of file kvm_host.h.

unsigned long cr8

Definition at line 343 of file kvm_host.h.

unsigned long cr_iipa

Definition at line 404 of file kvm_host.h.

unsigned long cr_isr

Definition at line 405 of file kvm_host.h.

ulong csrr0

Definition at line 417 of file kvm_host.h.

ulong csrr1

Definition at line 418 of file kvm_host.h.

ulong ctr

Definition at line 396 of file kvm_host.h.

Definition at line 486 of file kvm_host.h.

unsigned long db[KVM_NR_DB_REGS]

Definition at line 454 of file kvm_host.h.

u32 dbcr0

Definition at line 443 of file kvm_host.h.

u32 dbcr1

Definition at line 444 of file kvm_host.h.

unsigned long dbr[8]

Definition at line 430 of file kvm_host.h.

u32 dbsr

Definition at line 445 of file kvm_host.h.

u8 dcr_is_write

Definition at line 485 of file kvm_host.h.

u8 dcr_needed

Definition at line 484 of file kvm_host.h.

u32 dec

Definition at line 424 of file kvm_host.h.

u64 dec_expires

Definition at line 498 of file kvm_host.h.

u64 dec_jiffies

Definition at line 497 of file kvm_host.h.

struct hrtimer dec_timer

Definition at line 495 of file kvm_host.h.

unsigned long dirty_log_lock_pa

Definition at line 407 of file kvm_host.h.

unsigned long dr6

Definition at line 455 of file kvm_host.h.

unsigned long dr7

Definition at line 456 of file kvm_host.h.

ulong dsrr0

Definition at line 419 of file kvm_host.h.

ulong dsrr1

Definition at line 420 of file kvm_host.h.

unsigned char dtr_regions

Definition at line 414 of file kvm_host.h.

Definition at line 411 of file kvm_host.h.

u64 efer

Definition at line 345 of file kvm_host.h.

unsigned long eff_db[KVM_NR_DB_REGS]

Definition at line 457 of file kvm_host.h.

struct x86_emulate_ctxt emulate_ctxt

Definition at line 412 of file kvm_host.h.

bool emulate_regs_need_sync_from_vcpu

Definition at line 414 of file kvm_host.h.

bool emulate_regs_need_sync_to_vcpu

Definition at line 413 of file kvm_host.h.

u8 event_exit_inst_len

Definition at line 390 of file kvm_host.h.

struct exit_ctl_data exit_data

Definition at line 397 of file kvm_host.h.

unsigned long fp_psr

Definition at line 438 of file kvm_host.h.

u64 fpr[32]

Definition at line 361 of file kvm_host.h.

u64 fpscr

Definition at line 362 of file kvm_host.h.

Definition at line 485 of file kvm_host.h.

Definition at line 242 of file kvm_host.h.

ulong gpr[32]

Definition at line 359 of file kvm_host.h.

union context guest

Definition at line 451 of file kvm_host.h.

unsigned long guest_debug_dr7

Definition at line 458 of file kvm_host.h.

s390_fp_regs guest_fpregs

Definition at line 234 of file kvm_host.h.

struct fpu guest_fpu

Definition at line 384 of file kvm_host.h.

int halt_request

Definition at line 406 of file kvm_host.h.

bool halted

Definition at line 484 of file kvm_host.h.

u8 hcall_needed

Definition at line 491 of file kvm_host.h.

u32 hflags

Definition at line 344 of file kvm_host.h.

struct hrtimer hlt_timer

Definition at line 390 of file kvm_host.h.

union context host

Definition at line 450 of file kvm_host.h.

unsigned int host_acrs[NUM_ACRS]

Definition at line 233 of file kvm_host.h.

s390_fp_regs host_fpregs

Definition at line 232 of file kvm_host.h.

u32 host_pid

Definition at line 351 of file kvm_host.h.

unsigned long host_rr6

Definition at line 402 of file kvm_host.h.

ulong host_stack

Definition at line 350 of file kvm_host.h.

long ht_active

Definition at line 391 of file kvm_host.h.

Definition at line 418 of file kvm_host.h.

u64 hv_vapic

Definition at line 476 of file kvm_host.h.

unsigned int hw_tsc_khz

Definition at line 419 of file kvm_host.h.

u64 ia32_misc_enable_msr

Definition at line 352 of file kvm_host.h.

unsigned long ibr[8]

Definition at line 429 of file kvm_host.h.

Definition at line 488 of file kvm_host.h.

unsigned long insvc[4]

Definition at line 431 of file kvm_host.h.

u8 io_gpr

Definition at line 481 of file kvm_host.h.

char irq_check

Definition at line 444 of file kvm_host.h.

char irq_new_pending

Definition at line 445 of file kvm_host.h.

unsigned long itc_check

Definition at line 423 of file kvm_host.h.

long itc_offset

Definition at line 422 of file kvm_host.h.

unsigned char itr_regions

Definition at line 413 of file kvm_host.h.

Definition at line 410 of file kvm_host.h.

u32 ivor[64]

Definition at line 432 of file kvm_host.h.

ulong ivpr

Definition at line 433 of file kvm_host.h.

u16 last_cpu

Definition at line 500 of file kvm_host.h.

int last_exit

Definition at line 373 of file kvm_host.h.

u64 last_guest_tsc

Definition at line 433 of file kvm_host.h.

u64 last_host_tsc

Definition at line 435 of file kvm_host.h.

u32 last_inst

Definition at line 503 of file kvm_host.h.

unsigned long last_itc

Definition at line 421 of file kvm_host.h.

u64 last_kernel_ns

Definition at line 434 of file kvm_host.h.

unsigned long last_retry_addr

Definition at line 481 of file kvm_host.h.

unsigned long last_retry_eip

Definition at line 480 of file kvm_host.h.

int last_run_cpu

Definition at line 374 of file kvm_host.h.

u64 last_steal

Definition at line 427 of file kvm_host.h.

int launched

Definition at line 372 of file kvm_host.h.

u64 length

Definition at line 494 of file kvm_host.h.

Definition at line 235 of file kvm_host.h.

char log_buf[VMM_LOG_LEN]

Definition at line 449 of file kvm_host.h.

ulong lr

Definition at line 397 of file kvm_host.h.

unsigned long magic_page_ea

Definition at line 516 of file kvm_host.h.

unsigned long magic_page_pa

Definition at line 515 of file kvm_host.h.

u64* mce_banks

Definition at line 463 of file kvm_host.h.

u64 mcg_cap

Definition at line 460 of file kvm_host.h.

u64 mcg_ctl

Definition at line 462 of file kvm_host.h.

u64 mcg_status

Definition at line 461 of file kvm_host.h.

ulong mcsr

Definition at line 423 of file kvm_host.h.

ulong mcsrr0

Definition at line 421 of file kvm_host.h.

ulong mcsrr1

Definition at line 422 of file kvm_host.h.

unsigned long metaphysical_rr0

Definition at line 434 of file kvm_host.h.

unsigned long metaphysical_rr4

Definition at line 435 of file kvm_host.h.

unsigned long metaphysical_saved_rr0

Definition at line 436 of file kvm_host.h.

unsigned long metaphysical_saved_rr4

Definition at line 437 of file kvm_host.h.

u64 mmcr[3]

Definition at line 447 of file kvm_host.h.

char mmio_data[8]

Definition at line 453 of file kvm_host.h.

gfn_t mmio_gfn

Definition at line 468 of file kvm_host.h.

u64 mmio_gva

Definition at line 466 of file kvm_host.h.

u8 mmio_is_bigendian

Definition at line 482 of file kvm_host.h.

u8 mmio_sign_extend

Definition at line 483 of file kvm_host.h.

Definition at line 362 of file kvm_host.h.

struct kvm_mmu_memory_cache mmu_page_cache

Definition at line 381 of file kvm_host.h.

struct kvm_mmu_memory_cache mmu_page_header_cache

Definition at line 382 of file kvm_host.h.

struct kvm_mmu_memory_cache mmu_pte_list_desc_cache

Definition at line 380 of file kvm_host.h.

u32 mmucr

Definition at line 414 of file kvm_host.h.

int mode_flags

Definition at line 441 of file kvm_host.h.

int mp_state

Definition at line 383 of file kvm_host.h.

u64 msr_val

Definition at line 426 of file kvm_host.h.

struct mtrr_state_type mtrr_state

Definition at line 450 of file kvm_host.h.

struct kvm_mmu nested_mmu

Definition at line 372 of file kvm_host.h.

bool nmi_injected

Definition at line 448 of file kvm_host.h.

unsigned nmi_pending

Definition at line 447 of file kvm_host.h.

atomic_t nmi_queued

Definition at line 446 of file kvm_host.h.

unsigned long opcode

Definition at line 447 of file kvm_host.h.

u8 osi_enabled

Definition at line 487 of file kvm_host.h.

u8 osi_needed

Definition at line 486 of file kvm_host.h.

struct { ... } osvw
gpa_t paddr_accessed

Definition at line 478 of file kvm_host.h.

u8 papr_enabled

Definition at line 488 of file kvm_host.h.

Definition at line 451 of file kvm_host.h.

ulong pc

Definition at line 395 of file kvm_host.h.

unsigned long pending_exceptions

Definition at line 499 of file kvm_host.h.

Definition at line 438 of file kvm_host.h.

Definition at line 387 of file kvm_host.h.

void* pio_data

Definition at line 388 of file kvm_host.h.

u32 pmc[8]

Definition at line 448 of file kvm_host.h.

Definition at line 470 of file kvm_host.h.

u8 prodded

Definition at line 502 of file kvm_host.h.

unsigned long psbits[8]

Definition at line 403 of file kvm_host.h.

int ptc_g_count

Definition at line 386 of file kvm_host.h.

Definition at line 387 of file kvm_host.h.

unsigned long ptce_base

Definition at line 417 of file kvm_host.h.

unsigned long ptce_count[2]

Definition at line 418 of file kvm_host.h.

unsigned long ptce_stride[2]

Definition at line 419 of file kvm_host.h.

int ptid

Definition at line 510 of file kvm_host.h.

struct { ... } pv_eoi
bool pvclock_set_guest_stopped_request

Definition at line 423 of file kvm_host.h.

u32 pvr

Definition at line 434 of file kvm_host.h.

unsigned long regs[NR_VCPU_REGS]

Definition at line 333 of file kvm_host.h.

u32 regs_avail

Definition at line 334 of file kvm_host.h.

u32 regs_dirty

Definition at line 335 of file kvm_host.h.

int ret

Definition at line 507 of file kvm_host.h.

u8 sane

Definition at line 489 of file kvm_host.h.

unsigned long saved_gp

Definition at line 439 of file kvm_host.h.

bool send_user_only

Definition at line 489 of file kvm_host.h.

ulong shadow_msr

Definition at line 416 of file kvm_host.h.

u32 shadow_pid

Definition at line 436 of file kvm_host.h.

u32 shadow_pid1

Definition at line 437 of file kvm_host.h.

Definition at line 514 of file kvm_host.h.

Definition at line 231 of file kvm_host.h.

unsigned long singlestep_rip

Definition at line 473 of file kvm_host.h.

int sipi_vector

Definition at line 351 of file kvm_host.h.

int sn_rtc_tr_slot

Definition at line 377 of file kvm_host.h.

struct { ... } st

Definition at line 509 of file kvm_host.h.

Definition at line 495 of file kvm_host.h.

Definition at line 430 of file kvm_host.h.

u64 stidp_data

Definition at line 240 of file kvm_host.h.

Definition at line 429 of file kvm_host.h.

u32 swap_pid

Definition at line 439 of file kvm_host.h.

int switch_db_regs

Definition at line 453 of file kvm_host.h.

Definition at line 496 of file kvm_host.h.

u32 tbl

Definition at line 428 of file kvm_host.h.

u32 tbu

Definition at line 429 of file kvm_host.h.

unsigned char tc_regions

Definition at line 415 of file kvm_host.h.

u32 tcr

Definition at line 430 of file kvm_host.h.

u8 this_tsc_generation

Definition at line 439 of file kvm_host.h.

u64 this_tsc_nsec

Definition at line 437 of file kvm_host.h.

u64 this_tsc_write

Definition at line 438 of file kvm_host.h.

gpa_t time

Definition at line 417 of file kvm_host.h.

unsigned int time_offset

Definition at line 420 of file kvm_host.h.

struct page* time_page

Definition at line 421 of file kvm_host.h.

unsigned long timer_check

Definition at line 424 of file kvm_host.h.

unsigned int timer_fired

Definition at line 426 of file kvm_host.h.

unsigned int timer_pending

Definition at line 425 of file kvm_host.h.

bool timer_running

Definition at line 511 of file kvm_host.h.

bool tpr_access_reporting

Definition at line 353 of file kvm_host.h.

int trap

Definition at line 508 of file kvm_host.h.

bool tsc_always_catchup

Definition at line 441 of file kvm_host.h.

bool tsc_catchup

Definition at line 440 of file kvm_host.h.

u64 tsc_offset_adjustment

Definition at line 436 of file kvm_host.h.

ulong tsr

Definition at line 431 of file kvm_host.h.

gva_t vaddr_accessed

Definition at line 479 of file kvm_host.h.

Definition at line 506 of file kvm_host.h.

Definition at line 443 of file kvm_host.h.

u32 virtual_tsc_khz

Definition at line 444 of file kvm_host.h.

u32 virtual_tsc_mult

Definition at line 443 of file kvm_host.h.

s8 virtual_tsc_shift

Definition at line 442 of file kvm_host.h.

int vm_tr_slot

Definition at line 376 of file kvm_host.h.

unsigned long vmm_rr

Definition at line 401 of file kvm_host.h.

int vmm_tr_slot

Definition at line 375 of file kvm_host.h.

Definition at line 394 of file kvm_host.h.

unsigned long vrr[8]

Definition at line 428 of file kvm_host.h.

u32 vrsave

Definition at line 413 of file kvm_host.h.

unsigned long vsa_base

Definition at line 406 of file kvm_host.h.

Definition at line 442 of file kvm_host.h.

struct kvm_mmu* walk_mmu

Definition at line 378 of file kvm_host.h.

cpumask_var_t wbinvd_dirty_mask

Definition at line 478 of file kvm_host.h.

Definition at line 505 of file kvm_host.h.

u64 xcr0

Definition at line 385 of file kvm_host.h.

ulong xer

Definition at line 399 of file kvm_host.h.

unsigned long xtp

Definition at line 432 of file kvm_host.h.


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