Thread (1 message) 1 message, 1 author, 2016-09-23
STALE3611d

[PATCH v6] KVM: arm/arm64: Route vtimer events to user space

From: pbonzini@redhat.com (Paolo Bonzini)
Date: 2016-09-23 12:46:48
Also in: kvm, kvmarm


On 23/09/2016 14:36, Alexander Graf wrote:
quoted
quoted
+        if ((ret == 1) && timer_ret) {
+            /*
+             * We have to exit straight away to ensure that we only
+             * ever notify user space once about a level change
+             */
Is this really a requirement?  It complicates the logic noticeably.
The alternative would be to track the state on ioctl entry, which
Christoffer disliked :).
Ok, I see.  Maybe he's convinced by the ugly code. :)

It's not an architectural concept, it's a KVM API concept.  Tracking the
state on entry just the equivalent of making this vmexit edge-triggered
(both rising and falling edge).

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help