hw/loongarch: Remove vga device when loongarch init
authorXiaojuan Yang <yangxiaojuan@loongson.cn>
Wed, 10 Aug 2022 07:38:03 +0000 (15:38 +0800)
committerSong Gao <gaosong@loongson.cn>
Mon, 19 Sep 2022 12:01:36 +0000 (20:01 +0800)
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>
hw/loongarch/Kconfig
hw/loongarch/virt.c

index a99aa387c33b61c130fc101f8dcb21fe1520ee32..73c52b093edd58372fc5aa2e114f67698df17990 100644 (file)
@@ -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
index 5cc0b05538434c7ffe891597bb942e342790cd53..b56820ecdaee86677e1db19b0177fb97bbed0c30 100644 (file)
@@ -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.