aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-pci.c
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-12-05 11:33:37 +0800
committerGerd Hoffmann <kraxel@redhat.com>2014-12-16 15:14:42 +0100
commit46817e86fc1d97af0a7d9e4060730f7b00183083 (patch)
tree23136278f8f3927916ac0d971446e21651e554a2 /hw/display/vga-pci.c
parent22382bb96c8bd88370c1ff0cb28c3ee6bee79ed3 (diff)
downloadqemu-46817e86fc1d97af0a7d9e4060730f7b00183083.zip
qemu-46817e86fc1d97af0a7d9e4060730f7b00183083.tar.gz
qemu-46817e86fc1d97af0a7d9e4060730f7b00183083.tar.bz2
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c
index db922f1..53739e4 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 = {