Files
linux/include/uapi/linux
Chenyi Qiang ed2351174e KVM: x86: Extend KVM_{G,S}ET_VCPU_EVENTS to support pending triple fault
For the triple fault sythesized by KVM, e.g. the RSM path or
nested_vmx_abort(), if KVM exits to userspace before the request is
serviced, userspace could migrate the VM and lose the triple fault.

Extend KVM_{G,S}ET_VCPU_EVENTS to support pending triple fault with a
new event KVM_VCPUEVENT_VALID_FAULT_FAULT so that userspace can save and
restore the triple fault event. This extension is guarded by a new KVM
capability KVM_CAP_TRIPLE_FAULT_EVENT.

Note that in the set_vcpu_events path, userspace is able to set/clear
the triple fault request through triple_fault.pending field.

Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20220524135624.22988-2-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-06-08 05:20:53 -04:00
..
2022-02-21 19:33:05 +00:00
2022-04-19 13:13:47 +01:00
2021-11-01 13:36:08 +00:00
2022-06-03 20:09:27 +08:00
2022-05-23 14:31:28 -07:00
2021-11-26 16:48:59 +01:00
2022-06-03 20:09:27 +08:00
2022-04-04 08:55:23 +02:00
2021-10-07 13:51:11 +02:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-03-01 18:29:27 -08:00
2022-06-03 20:09:27 +08:00
2021-03-10 09:34:06 +01:00
2021-10-14 23:06:28 +02:00
2022-05-04 22:50:01 +02:00
2021-07-06 10:37:46 -05:00
2021-03-10 09:34:06 +01:00
2022-05-31 12:44:29 -04:00
2021-06-12 13:16:45 -07:00