On 14/5/25 10:49, Zhao Liu wrote:
The QOM types of QemuTextConsole and QemuFixedTextConsole are declared
by OBJECT_DECLARE_SIMPLE_TYPE, which means they don't need the class!
Therefore, use OBJECT_DEFINE_SIMPLE_TYPE to implement the type, then
there's no need for class definition.
Cc: "Marc-André Lureau" <marcandre.lur...@redhat.com>
Signed-off-by: Zhao Liu <zhao1....@intel.com>
---
ui/console-vc.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>