From 69b66e49779bb87edb6c6bb5bac2b3527f7dbb71 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Mon, 31 May 2021 09:32:55 +0200 Subject: hw/display/macfb: Classify the "nubus-macfb" as display device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "nubus-macfb" currently shows up as uncategorized device in the output of "-device help". Put it into the display category to fix this ugliness. Signed-off-by: Thomas Huth Reviewed-by: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210531073255.46286-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- hw/display/macfb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') diff --git a/hw/display/macfb.c b/hw/display/macfb.c index ff8bdb846b..d8183b9bbd 100644 --- a/hw/display/macfb.c +++ b/hw/display/macfb.c @@ -450,6 +450,7 @@ static void macfb_nubus_class_init(ObjectClass *klass, void *data) dc->desc = "Nubus Macintosh framebuffer"; dc->reset = macfb_nubus_reset; dc->vmsd = &vmstate_macfb; + set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories); device_class_set_props(dc, macfb_nubus_properties); } -- cgit v1.2.3