On 9/3/25 12:06, Philippe Mathieu-Daudé wrote:
hv_vcpu_config_create() is documented in <Hypervisor/hv_vcpu_config.h>
as:

   /*!
    @abstract Creates a vcpu configuration object.
    @result A new vcpu configuration object. This should be released with 
os_release when no longer used.
    */
   OS_OBJECT_RETURNS_RETAINED OS_WARN_RESULT
   hv_vcpu_config_t hv_vcpu_config_create(void);

Release the memory allocated by hv_vcpu_config_create() with
os_release().

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  target/arm/hvf/hvf.c | 2 ++
  1 file changed, 2 insertions(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to