#include <linux/kbuild.h>
#include "vmx/vmx.h"
#include "svm/svm.h"
Go to the source code of this file.
|
static void __used | common (void) |
|
◆ COMPILE_OFFSETS
◆ common()
static void __used common |
( |
void |
| ) |
|
|
static |
Definition at line 13 of file kvm-asm-offsets.c.
15 if (IS_ENABLED(CONFIG_KVM_AMD)) {
17 OFFSET(SVM_vcpu_arch_regs,
vcpu_svm, vcpu.arch.regs);
18 OFFSET(SVM_current_vmcb,
vcpu_svm, current_vmcb);
19 OFFSET(SVM_spec_ctrl,
vcpu_svm, spec_ctrl);
20 OFFSET(SVM_vmcb01,
vcpu_svm, vmcb01);
25 if (IS_ENABLED(CONFIG_KVM_INTEL)) {
27 OFFSET(VMX_spec_ctrl,
vcpu_vmx, spec_ctrl);