vga: set catagory bit for secondary vga device
Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
22382bb96c
commit
46817e86fc
@ -321,6 +321,7 @@ static void secondary_class_init(ObjectClass *klass, void *data)
|
||||
dc->vmsd = &vmstate_vga_pci;
|
||||
dc->props = secondary_pci_properties;
|
||||
dc->reset = pci_secondary_vga_reset;
|
||||
set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
|
||||
}
|
||||
|
||||
static const TypeInfo vga_info = {
|
||||
|
Loading…
Reference in New Issue
Block a user