On Tue, Aug 19, 2025 at 18:22:13 +0200, Andrea Bolognani via Devel wrote:
> We assign the USB controller model without first checking
> whether the corresponding QEMU device is available, and that
> results in a late error instead of an early one.
> 
> Be consistent with how we do things in all other cases and
> check the presence of the capability before attempting to set
> the model.
> 
> Signed-off-by: Andrea Bolognani <[email protected]>
> ---
>  src/qemu/qemu_postparse.c                                      | 3 ++-
>  ...ontroller-automatic-unavailable-realview.aarch64-latest.err | 2 +-
>  ...ontroller-automatic-unavailable-realview.aarch64-latest.xml | 2 +-
>  ...troller-automatic-unavailable-versatilepb.armv7l-latest.err | 2 +-
>  ...troller-automatic-unavailable-versatilepb.armv7l-latest.xml | 2 +-
>  5 files changed, 6 insertions(+), 5 deletions(-)

Reviewed-by: Peter Krempa <[email protected]>

Reply via email to