diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-12-05 11:33:37 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-12-16 15:14:42 +0100 |
commit | 46817e86fc1d97af0a7d9e4060730f7b00183083 (patch) | |
tree | 23136278f8f3927916ac0d971446e21651e554a2 /hw | |
parent | 22382bb96c8bd88370c1ff0cb28c3ee6bee79ed3 (diff) | |
download | hqemu-46817e86fc1d97af0a7d9e4060730f7b00183083.zip hqemu-46817e86fc1d97af0a7d9e4060730f7b00183083.tar.gz |
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')
-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 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 = { |