Re: Can "throttle-group"(added by "object-add") be lively updated through QMP cmd?

2024-01-16 Thread Alberto Garcia
On Tue, Jan 16, 2024 at 09:37:48AM +, Chun Feng Wu wrote: > * Is there any reason QEMU doesn’t provide QMP cmd like > “object-set” to update object? You can use qom-set for throttle-group, here's a simple example: https://github.com/qemu/qemu/blob/v8.2.0/tests/qemu-iotests/184#L108 Be

Can "throttle-group"(added by "object-add") be lively updated through QMP cmd?

2024-01-16 Thread Chun Feng Wu
Hi, I am verifying “The 'throttle' block filter” mentioned at https://github.com/qemu/qemu/blob/master/docs/throttle.txt, and it works well with the following sample, however, it seems that I cannot update throttle lively without disruption(detaching disk, “object-del”, and then “object-add” w