On Fri, Feb 07, 2025 at 04:59:49 -0000, Harikumar Rajkumar wrote:
It is an implementation detail how that is achieved, based on what qemu
provides:
- explicitly request qemu to revert to default
- query the default and set the same value as default
- refuse to do something that is not possible
The API needs to allow a way that overwrites the full config including a
way to return to the default.
We have changed the implementation to allowing full config SET.
Below six fields are set to default 1 by QEMU if omitted by user, are you suggesting to
store this default value in XML by query the default in QEMU while SET?
total_bytes_sec_max_length: 1
read_bytes_sec_max_length: 1
write_bytes_sec_max_length: 1
total_iops_sec_max_length: 1
read_iops_sec_max_length: 1
write_iops_sec_max_length: 1