[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v2 10/10] machine: Skip global registration for

From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v2 10/10] machine: Skip global registration for non-existing classes
Date: Thu, 23 Jun 2016 10:26:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eduardo Habkost <address@hidden> writes:

> MachineClass::compat_props may point to class names that are not
> compiled into the QEMU binary. Skip registering those as global
> properties. This will allow the qdev global property code to
> implement stricter checks on the global property values in the
> future.
> Signed-off-by: Eduardo Habkost <address@hidden>

Not sure what those stricter checks might be, but that's okay.

Doesn't this suppress detection of programming errors?  Say I fat-finger
a device name in my machine type's global properties.  Before this
patch, I get an error (a nice one since PATCH 06).

reply via email to

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