On 11/12/2026 5:30 AM, Daniel P. Berrangé wrote:
> The Machine base class implements TYPE_TARGET_SPECIFIC since
> its children will almost all be target specific.
> 
> When the 'targets' field is set to a non-zero value on a
> machine type, it will block creation of an instance of the
> machine unless the current selected target matches. This
> allows the current 'is_available' callback to be removed.
> 
> Eventually only the 'none' machine is likely to leave the
> 'targets' field set to 0, since it is universally creatable.
> 
> Signed-off-by: Daniel P. Berrangé <[email protected]>
> ---
>  hw/core/machine.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to