search for: vmx_set_seg

Displaying 6 results from an estimated 6 matches for "vmx_set_seg".

2014 May 20
2
question about "struct kvm_segment"
Hi, The structure kvm_segment is defined as follows: struct kvm_segment { __u64 base; __u32 limit; __u16 selector; __u8 type; __u8 present, dpl, db, s, l, g, avl; __u8 unusable; __u8 padding; }; Since the VMX spec defines base is 64 bits, limit is 32bits, selector is 16bits, understandably, __u64, __u32, __u16 is used for them
2014 May 20
2
question about "struct kvm_segment"
Hi, The structure kvm_segment is defined as follows: struct kvm_segment { __u64 base; __u32 limit; __u16 selector; __u8 type; __u8 present, dpl, db, s, l, g, avl; __u8 unusable; __u8 padding; }; Since the VMX spec defines base is 64 bits, limit is 32bits, selector is 16bits, understandably, __u64, __u32, __u16 is used for them
2020 Feb 07
0
[RFC PATCH v7 15/78] KVM: x86: export .msr_write_intercepted()
...@@ static struct kvm_x86_ops vmx_x86_ops __ro_after_init = { .get_msr_feature = vmx_get_msr_feature, .get_msr = vmx_get_msr, .set_msr = vmx_set_msr, + .msr_write_intercepted = msr_write_intercepted, .get_segment_base = vmx_get_segment_base, .get_segment = vmx_get_segment, .set_segment = vmx_set_segment,
2014 May 30
0
question about "struct kvm_segment"
...why here they are all defined as __u8? It > means that, each of them is represented by 8bits? This looks > inconsistent with the VMX spec. This is not a VMX definition, it's part of the ioctl interface between KVM and user-mode programs. For the conversion code see vmx_get_segment and vmx_set_segment. These should be never called in hot paths, except unfortunately when doing nested virtualization. Paolo
2020 Feb 07
78
[RFC PATCH v7 00/78] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2020 Jul 21
87
[PATCH v9 00/84] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place