search for: out_wakeup

Displaying 2 results from an estimated 2 matches for "out_wakeup".

2020 Feb 07
0
[RFC PATCH v7 52/78] KVM: introspection: add KVMI_EVENT_PAUSE_VCPU
...pection *vcpui = VCPUI(job->vcpu); + struct kvm_introspection *kvmi = KVMI(job->vcpu->kvm); + struct kvmi_vcpu_reply *expected = &vcpui->reply; + const struct kvmi_event_reply *reply = rpl; + size_t useful, received, common; + + if (unlikely(msg->seq != expected->seq)) + goto out_wakeup; + + common = sizeof(struct kvmi_vcpu_hdr) + sizeof(*reply); + if (unlikely(msg->size < common)) + goto out_wakeup; + + if (unlikely(reply->padding1 || reply->padding2)) + goto out_wakeup; + + received = msg->size - common; + /* Don't accept newer/bigger structures */ + if (unl...
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