aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorXiaojuan Yang <yangxiaojuan@loongson.cn>2022-08-10 15:38:03 +0800
committerSong Gao <gaosong@loongson.cn>2022-09-19 20:01:36 +0800
commit3ff17902c48bfb4e7ce20acf6f00c33fb6e0ed60 (patch)
tree85e89c2acada1c7d15fca9d896427ff694b33753 /hw
parentd29201ff34a135cdfc197f4413c1c5047e4f58bb (diff)
downloadqemu-3ff17902c48bfb4e7ce20acf6f00c33fb6e0ed60.zip
qemu-3ff17902c48bfb4e7ce20acf6f00c33fb6e0ed60.tar.gz
qemu-3ff17902c48bfb4e7ce20acf6f00c33fb6e0ed60.tar.bz2
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 <yangxiaojuan@loongson.cn> Acked-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220908094623.73051-2-yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw')
-rw-r--r--hw/loongarch/Kconfig1
-rw-r--r--hw/loongarch/virt.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/hw/loongarch/Kconfig b/hw/loongarch/Kconfig
index a99aa38..73c52b0 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 5cc0b05..b56820e 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.