diff --git a/BinDir.tar.gz b/BinDir.tar.gz index c5fd94ff5c324056f7f4eccf80b77820ea272314..0002bef9622d3e84b6139726fcd14a56ac72a938 100644 Binary files a/BinDir.tar.gz and b/BinDir.tar.gz differ diff --git a/Delete-the-default-vga-graphics-card-and-update-the-.patch b/Delete-the-default-vga-graphics-card-and-update-the-.patch new file mode 100644 index 0000000000000000000000000000000000000000..ef6e250ce742c87119bd9f1634020841fef60334 --- /dev/null +++ b/Delete-the-default-vga-graphics-card-and-update-the-.patch @@ -0,0 +1,44 @@ +From 3ef066307a3ecc8064eda6c74ed1c8b9325b93db Mon Sep 17 00:00:00 2001 +From: lixianglai +Date: Sun, 5 Nov 2023 22:08:10 -0500 +Subject: [PATCH] Delete the default vga graphics card and update the firmware. + +Add a virtio-gpu driver to the firmware +so that when using virtio-gpu, +images can also be displayed in the bios stage. +Remove the default vga video card in qemu. + +Signed-off-by: lixianglai +--- + configs/devices/loongarch64-softmmu/default.mak | 1 - + hw/loongarch/larch_3a.c | 2 -- + 2 files changed, 3 deletions(-) + +diff --git a/configs/devices/loongarch64-softmmu/default.mak b/configs/devices/loongarch64-softmmu/default.mak +index c4cc246833..5f72bbfb89 100644 +--- a/configs/devices/loongarch64-softmmu/default.mak ++++ b/configs/devices/loongarch64-softmmu/default.mak +@@ -93,7 +93,6 @@ CONFIG_VGA_ISA=y + CONFIG_VGA_ISA_MM=y + CONFIG_VGA_CIRRUS=y + CONFIG_VMWARE_VGA=y +-CONFIG_VIRTIO_VGA=y + CONFIG_SERIAL=y + CONFIG_SERIAL_ISA=y + CONFIG_PARALLEL=y +diff --git a/hw/loongarch/larch_3a.c b/hw/loongarch/larch_3a.c +index cd82e898ae..e2317ba581 100644 +--- a/hw/loongarch/larch_3a.c ++++ b/hw/loongarch/larch_3a.c +@@ -1842,8 +1842,6 @@ static void ls3a5k_init(MachineState *args) + + /*network card*/ + network_init(pci_bus); +- /* VGA setup. Don't bother loading the bios. */ +- pci_vga_init(pci_bus); + + sysbus_realize_and_unref(SYS_BUS_DEVICE(qdev_new("iocsr")), &error_fatal); + +-- +2.27.0 + diff --git a/qemu.spec b/qemu.spec index b74cb14aac0f29d6a6a782bb03864e680cf49096..ad9a0d31ebea102fa6cd64934071e6e61141258f 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 6.2.0 -Release: 80 +Release: 81 Epoch: 10 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -590,6 +590,7 @@ Patch0578: disas-riscv-Fix-the-typo-of-inverted-order-of-pmpadd.patch Patch0579: softmmu-dirtylimit-Add-parameter-check-for-hmp-set_v.patch Patch0580: tests-Fix-printf-format-string-in-acpi-utils.c.patch Patch0581: hw-virtio-virtio-pmem-Replace-impossible-check-by-as.patch +Patch0582: Delete-the-default-vga-graphics-card-and-update-the-.patch BuildRequires: flex BuildRequires: gcc @@ -1146,6 +1147,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Fri Nov 3 2023 - 10:6.2.0-81 +- Delete the default vga graphics card and update the firmware. + * Mon Oct 30 2023 - 10:6.2.0-80 - hw/virtio/virtio-pmem: Replace impossible check by assertion - tests: Fix printf format string in acpi-utils.c