qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does "-object" support structured options now?


From: Chun Feng Wu
Subject: Does "-object" support structured options now?
Date: Mon, 4 Mar 2024 06:43:19 +0000

Hi,

 

I noticed that throttle-group can be created with “-object”, however, per qemu doc(https://github.com/qemu/qemu/blob/master/docs/throttle.txt), “-object” doesn’t support structured options at that moment:


A throttle-group can also be created with the -object command line

option but at the moment there is no way to pass a 'limits' parameter

that contains a ThrottleLimits structure. The solution is to set the

individual values directly, like in this example:

 

   -object throttle-group,id=group0,x-iops-total=1000,x-bps-write=2097152

 

Note however that this is not a stable API (hence the 'x-' prefixes) and

will disappear when -object gains support for structured options and

enables use of 'limits'.

 

Does anybody know if the latest qemu code still lacks of such support(structured options for -object)? If so, is there any plan to support it(instead of non-stable API)?

 

 

-- 

Thanks and Regards,

 

Wu

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]