Lines Matching defs:vmx
351 void vmx_set_constant_host_state(struct vcpu_vmx *vmx);
365 void set_cr4_guest_host_mask(struct vcpu_vmx *vmx);
379 struct vmx_uret_msr *vmx_find_uret_msr(struct vcpu_vmx *vmx, u32 msr);
381 void vmx_update_host_rsp(struct vcpu_vmx *vmx, unsigned long host_rsp);
382 void vmx_spec_ctrl_restore_host(struct vcpu_vmx *vmx, unsigned int flags);
383 unsigned int __vmx_vcpu_run_flags(struct vcpu_vmx *vmx);
384 bool __vmx_vcpu_run(struct vcpu_vmx *vmx, unsigned long *regs,
587 static inline void lname##_controls_set(struct vcpu_vmx *vmx, u##bits val) \
589 if (vmx->loaded_vmcs->controls_shadow.lname != val) { \
591 vmx->loaded_vmcs->controls_shadow.lname = val; \
598 static inline u##bits lname##_controls_get(struct vcpu_vmx *vmx) \
600 return __##lname##_controls_get(vmx->loaded_vmcs); \
602 static __always_inline void lname##_controls_setbit(struct vcpu_vmx *vmx, u##bits val) \
605 lname##_controls_set(vmx, lname##_controls_get(vmx) | val); \
607 static __always_inline void lname##_controls_clearbit(struct vcpu_vmx *vmx, u##bits val) \
610 lname##_controls_set(vmx, lname##_controls_get(vmx) & ~val); \
679 static inline bool vmx_has_waitpkg(struct vcpu_vmx *vmx)
681 return secondary_exec_controls_get(vmx) &
719 static inline void vmx_segment_cache_clear(struct vcpu_vmx *vmx)
721 vmx->segment_cache.bitmask = 0;