From 084bf4b41d40ead572e45c47c6e5fca5b3eb997c Mon Sep 17 00:00:00 2001 From: BALATON Zoltan Date: Sat, 9 Jan 2021 21:16:36 +0100 Subject: vt82c686: Set user_creatable=false for VT82C686B_PM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This device is part of the multifunction VIA superio/south bridge chip so not useful in itself. Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Jiaxun Yang Message-Id: Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/vt82c686.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/isa') diff --git a/hw/isa/vt82c686.c b/hw/isa/vt82c686.c index cb2f714260..5e2bf6d16c 100644 --- a/hw/isa/vt82c686.c +++ b/hw/isa/vt82c686.c @@ -200,8 +200,9 @@ static void via_pm_class_init(ObjectClass *klass, void *data) k->revision = 0x40; dc->reset = vt82c686b_pm_reset; dc->desc = "PM"; + /* Reason: part of VIA south bridge, does not exist stand alone */ + dc->user_creatable = false; dc->vmsd = &vmstate_acpi; - set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); } static const TypeInfo via_pm_info = { -- cgit v1.2.3