Lines Matching defs:kvm_vcpu_arch
320 struct kvm_vcpu_arch { struct
325 unsigned long regs[NR_VCPU_REGS];
326 u32 regs_avail;
327 u32 regs_dirty;
329 unsigned long cr0;
330 unsigned long cr0_guest_owned_bits;
331 unsigned long cr2;
332 unsigned long cr3;
333 unsigned long cr4;
334 unsigned long cr4_guest_owned_bits;
335 unsigned long cr8;
336 u32 hflags;
337 u64 efer;
338 u64 apic_base;
339 struct kvm_lapic *apic; /* kernel irqchip context */
340 int32_t apic_arb_prio;
341 int mp_state;
342 int sipi_vector;
343 u64 ia32_misc_enable_msr;
344 bool tpr_access_reporting;
353 struct kvm_mmu mmu;
363 struct kvm_mmu nested_mmu;
369 struct kvm_mmu *walk_mmu;
371 struct kvm_mmu_memory_cache mmu_pte_list_desc_cache;
372 struct kvm_mmu_memory_cache mmu_page_cache;
373 struct kvm_mmu_memory_cache mmu_page_header_cache;
375 struct fpu guest_fpu;
376 u64 xcr0;
378 struct kvm_pio_request pio;
379 void *pio_data;
381 u8 event_exit_inst_len;
383 struct kvm_queued_exception {
389 } exception;
391 struct kvm_queued_interrupt {
395 } interrupt;
397 int halt_request; /* real mode on Intel only */
399 int cpuid_nent;
400 struct kvm_cpuid_entry2 cpuid_entries[KVM_MAX_CPUID_ENTRIES];
403 struct x86_emulate_ctxt emulate_ctxt;
404 bool emulate_regs_need_sync_to_vcpu;
405 bool emulate_regs_need_sync_from_vcpu;
407 gpa_t time;
408 struct pvclock_vcpu_time_info hv_clock;
409 unsigned int hw_tsc_khz;
410 struct gfn_to_hva_cache pv_time;
411 bool pv_time_enabled;
413 struct {
419 } st;
421 u64 last_guest_tsc;
422 u64 last_kernel_ns;
423 u64 last_host_tsc;
424 u64 tsc_offset_adjustment;
425 u64 this_tsc_nsec;
426 u64 this_tsc_write;
427 u8 this_tsc_generation;
428 bool tsc_catchup;
429 bool tsc_always_catchup;
430 s8 virtual_tsc_shift;
431 u32 virtual_tsc_mult;
432 u32 virtual_tsc_khz;
434 atomic_t nmi_queued; /* unprocessed asynchronous NMIs */
435 unsigned nmi_pending; /* NMI queued after currently running handler */
436 bool nmi_injected; /* Trying to inject an NMI this entry */
438 struct mtrr_state_type mtrr_state;
439 u64 pat;
441 int switch_db_regs;
442 unsigned long db[KVM_NR_DB_REGS];
443 unsigned long dr6;
444 unsigned long dr7;
445 unsigned long eff_db[KVM_NR_DB_REGS];
447 u64 mcg_cap;
448 u64 mcg_status;
449 u64 mcg_ctl;
450 u64 *mce_banks;
453 u64 mmio_gva;
454 unsigned access;
455 gfn_t mmio_gfn;
457 struct kvm_pmu pmu;
460 unsigned long singlestep_rip;
463 u64 hv_vapic;
465 cpumask_var_t wbinvd_dirty_mask;
467 unsigned long last_retry_eip;
468 unsigned long last_retry_addr;
470 struct {
477 } apf;
480 struct {
483 } osvw;