diff options
author | Gonglei | 2014-12-05 04:33:37 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2014-12-16 15:14:42 +0100 |
commit | 46817e86fc1d97af0a7d9e4060730f7b00183083 (patch) | |
tree | 23136278f8f3927916ac0d971446e21651e554a2 /hw/display/vga-pci.c | |
parent | move hw cursor pos from cirrus to vga (diff) | |
download | qemu-46817e86fc1d97af0a7d9e4060730f7b00183083.tar.gz qemu-46817e86fc1d97af0a7d9e4060730f7b00183083.tar.xz qemu-46817e86fc1d97af0a7d9e4060730f7b00183083.zip |
vga: set catagory bit for secondary vga device
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga-pci.c')
-rw-r--r-- | hw/display/vga-pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index db922f1843..53739e4f79 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -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 = { |