summaryrefslogtreecommitdiffstats
path: root/test/kvm-step.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-02-01 12:20:58 -0600
committerLouis Burda <quent.burda@gmail.com>2023-02-01 12:20:58 -0600
commit039144b8e7f7fb4074883e8037787d420e86f70c (patch)
tree102c4ef36f77f9ff35d05c42be022dbc5368035d /test/kvm-step.c
parent7cd66755ff29a9f56601d5612a902b45d14798d5 (diff)
downloadcachepc-039144b8e7f7fb4074883e8037787d420e86f70c.tar.gz
cachepc-039144b8e7f7fb4074883e8037787d420e86f70c.zip
fixup! Event batching
Diffstat (limited to 'test/kvm-step.c')
-rw-r--r--test/kvm-step.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/kvm-step.c b/test/kvm-step.c
index e82ab24..2d24598 100644
--- a/test/kvm-step.c
+++ b/test/kvm-step.c
@@ -146,6 +146,7 @@ main(int argc, const char **argv)
if (ret && errno == EAGAIN) continue;
if (ret) err(1, "KVM_CPC_POLL_EVENT");
+ printf("%lu\n", event.id);
if (event.type == CPC_EVENT_PAUSE) break;
ret = ioctl(kvm_dev, KVM_CPC_ACK_EVENT, &event.id);