From: Xiaojuan Yang Date: Wed, 10 Aug 2022 07:38:03 +0000 (+0800) Subject: hw/loongarch: Remove vga device when loongarch init X-Git-Tag: v7.2.0-rc0~86^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ff17902c48bfb4e7ce20acf6f00c33fb6e0ed60;p=thirdparty%2Fqemu.git hw/loongarch: Remove vga device when loongarch init Remove the vga device when loongarch machine init and we will support other display device in the future. Signed-off-by: Xiaojuan Yang Acked-by: Song Gao Message-Id: <20220908094623.73051-2-yangxiaojuan@loongson.cn> Signed-off-by: Song Gao --- diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig index a99aa387c33..73c52b093ed 100644 --- a/hw/loongarch/Kconfig +++ b/hw/loongarch/Kconfig @@ -2,7 +2,6 @@ config LOONGARCH_VIRT bool select PCI select PCI_EXPRESS_GENERIC_BRIDGE - imply VGA_PCI imply VIRTIO_VGA imply PCI_DEVICES select ISA_BUS diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index 5cc0b055384..b56820ecdae 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -378,9 +378,6 @@ static void loongarch_devices_init(DeviceState *pch_pic, LoongArchMachineState * pci_nic_init_nofail(nd, pci_bus, nd->model, NULL); } - /* VGA setup */ - pci_vga_init(pci_bus); - /* * There are some invalid guest memory access. * Create some unimplemented devices to emulate this.