* QMP command set-vcpu-dirty-limit hangs
@ 2023-03-23 6:54 Markus Armbruster
2023-03-23 10:02 ` Hyman Huang
0 siblings, 1 reply; 3+ messages in thread
From: Markus Armbruster @ 2023-03-23 6:54 UTC (permalink / raw)
To: Hyman Huang; +Cc: qemu-devel, Peter Xu, David Alan Gilbert
Watch this:
$ qemu-system-x86_64 -S -display none -qmp stdio -accel kvm,dirty-ring-size=1024
{"QMP": {"version": {"qemu": {"micro": 90, "minor": 2, "major": 7}, "package": "v8.0.0-rc0-15-g918ee397b6-dirty"}, "capabilities": ["oob"]}}
{"execute": "qmp_capabilities"}
{"return": {}}
{"execute": "set-vcpu-dirty-limit","arguments": {"dirty-rate": 200}
Hangs.
If I'm using it incorrectly (I have no idea), it should fail, not hang.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: QMP command set-vcpu-dirty-limit hangs
2023-03-23 6:54 QMP command set-vcpu-dirty-limit hangs Markus Armbruster
@ 2023-03-23 10:02 ` Hyman Huang
2023-03-23 10:33 ` Markus Armbruster
0 siblings, 1 reply; 3+ messages in thread
From: Hyman Huang @ 2023-03-23 10:02 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel, Peter Xu, David Alan Gilbert
在 2023/3/23 14:54, Markus Armbruster 写道:
> Watch this:
>
> $ qemu-system-x86_64 -S -display none -qmp stdio -accel kvm,dirty-ring-size=1024
> {"QMP": {"version": {"qemu": {"micro": 90, "minor": 2, "major": 7}, "package": "v8.0.0-rc0-15-g918ee397b6-dirty"}, "capabilities": ["oob"]}}
> {"execute": "qmp_capabilities"}
> {"return": {}}
> {"execute": "set-vcpu-dirty-limit","arguments": {"dirty-rate": 200}
>
> Hangs.
>
> If I'm using it incorrectly (I have no idea), it should fail, not hang.
Indeed, it seems that the command syntax is right.
Would you please get the Qemu backtrace when it hang?
I'll reproduce it and update the process in the coming days.
Thanks for posting this issue.
>
--
Best regard
Hyman Huang(黄勇)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: QMP command set-vcpu-dirty-limit hangs
2023-03-23 10:02 ` Hyman Huang
@ 2023-03-23 10:33 ` Markus Armbruster
0 siblings, 0 replies; 3+ messages in thread
From: Markus Armbruster @ 2023-03-23 10:33 UTC (permalink / raw)
To: Hyman Huang; +Cc: qemu-devel, Peter Xu, David Alan Gilbert
Hyman Huang <huangy81@chinatelecom.cn> writes:
> 在 2023/3/23 14:54, Markus Armbruster 写道:
>> Watch this:
>> $ qemu-system-x86_64 -S -display none -qmp stdio -accel kvm,dirty-ring-size=1024
>> {"QMP": {"version": {"qemu": {"micro": 90, "minor": 2, "major": 7}, "package": "v8.0.0-rc0-15-g918ee397b6-dirty"}, "capabilities": ["oob"]}}
>> {"execute": "qmp_capabilities"}
>> {"return": {}}
>> {"execute": "set-vcpu-dirty-limit","arguments": {"dirty-rate": 200}}
>> Hangs.
>> If I'm using it incorrectly (I have no idea), it should fail, not hang.
> Indeed, it seems that the command syntax is right.
No, it isn't, the closing brace is missing. Ignore me while I look for
a place to hide!
[...]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-23 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23 6:54 QMP command set-vcpu-dirty-limit hangs Markus Armbruster
2023-03-23 10:02 ` Hyman Huang
2023-03-23 10:33 ` Markus Armbruster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).