Skip to content

Commit

Permalink
xen: Set max SCHEDOP_shutdown events to 100
Browse files Browse the repository at this point in the history
Set max SCHEDOP_shutdown events to 100 to give the guest a chance to
refresh its output.
  • Loading branch information
chp-io committed Nov 7, 2024
1 parent 4d8ffab commit 50c8a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmm/src/xen/vcpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ bool xen_vcpu::handle_sched_op()
*/
m_uv_vcpu->set_rax(-EINVAL);

if (++m_max_shutdown_events == 3) {
if (++m_max_shutdown_events == 100) {
return false;
} else {
return true;
Expand Down

0 comments on commit 50c8a5a

Please sign in to comment.