File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -2572,13 +2572,15 @@ list in 4.68.
2572
2572
:Parameters: None
2573
2573
:Returns: 0 on success, -1 on error
2574
2574
2575
- This signals to the host kernel that the specified guest is being paused by
2576
- userspace. The host will set a flag in the pvclock structure that is checked
2577
- from the soft lockup watchdog. The flag is part of the pvclock structure that
2578
- is shared between guest and host, specifically the second bit of the flags
2575
+ This ioctl sets a flag accessible to the guest indicating that the specified
2576
+ vCPU has been paused by the host userspace.
2577
+
2578
+ The host will set a flag in the pvclock structure that is checked from the
2579
+ soft lockup watchdog. The flag is part of the pvclock structure that is
2580
+ shared between guest and host, specifically the second bit of the flags
2579
2581
field of the pvclock_vcpu_time_info structure. It will be set exclusively by
2580
2582
the host and read/cleared exclusively by the guest. The guest operation of
2581
- checking and clearing the flag must an atomic operation so
2583
+ checking and clearing the flag must be an atomic operation so
2582
2584
load-link/store-conditional, or equivalent must be used. There are two cases
2583
2585
where the guest will clear the flag: when the soft lockup watchdog timer resets
2584
2586
itself or when a soft lockup is detected. This ioctl can be called any time
You can’t perform that action at this time.
0 commit comments