From c0ed89573524c2a241d6c4c2c7a4160ba69d0c29 Mon Sep 17 00:00:00 2001 From: xiongmengbiao Date: Wed, 22 Jan 2025 18:18:54 +0800 Subject: [PATCH] [Bug] Fix psp device is not enabled to #IBJD4R add CONFIG_PSP_DEV=y to configs/devices/x86_64-softmmu/x86_64-rh-devices.mak Signed-off-by: xiongmengbiao --- 1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch | 21 +++++++++++++++++++++ qemu-kvm.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch diff --git a/1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch b/1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch new file mode 100644 index 0000000..d48171b --- /dev/null +++ b/1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch @@ -0,0 +1,21 @@ +From 92f7136d51842831aa6e99aa08e6b080ecdef34d Mon Sep 17 00:00:00 2001 +From: xiongmengbiao +Date: Wed, 22 Jan 2025 13:13:03 +0800 +Subject: [PATCH] Enable CONFIG_PSP_DEV for x86_64 + +--- + configs/devices/x86_64-softmmu/x86_64-rh-devices.mak | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak b/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak +index ee1df7aa5..3a277d097 100644 +--- a/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak ++++ b/configs/devices/x86_64-softmmu/x86_64-rh-devices.mak +@@ -103,3 +103,4 @@ CONFIG_TPM_EMULATOR=y + CONFIG_TPM_PASSTHROUGH=y + CONFIG_SGX=y + CONFIG_CSV=y ++CONFIG_PSP_DEV=y +-- +2.41.0 + diff --git a/qemu-kvm.spec b/qemu-kvm.spec index 755f58a..b18cb67 100644 --- a/qemu-kvm.spec +++ b/qemu-kvm.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.3 +%define anolis_release .0.4 %global SLOF_gittagdate 20191022 %global SLOF_gittagcommit 899d9883 @@ -1034,6 +1034,7 @@ Patch1125: 1125-i386-Avoid-explicitly-using-KVM_CAP_HYGON_COCO_EXT_C.patch Patch1126: 1126-target-i386-sev-Return-0-if-sev_send_get_packet_len-.patch Patch1127: 1127-target-i386-csv-The-CSV2-guest-running-on-the-recipi.patch Patch1128: 1128-virtio-net-Fix-network-stall-at-the-host-side-waitin.patch +Patch1129: 1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch BuildRequires: wget BuildRequires: rpm-build @@ -2272,6 +2273,10 @@ sh %{_sysconfdir}/sysconfig/modules/kvm.modules &> /dev/null || : %endif %changelog +* Wed Jan 22 2025 xiongmengbiao - 6.2.0-53.0.1.4 +- fix psp device is not enabled +- 1129-Enable-CONFIG_PSP_DEV-for-x86_64.patch + * Thu Jan 09 2025 Xuchun Shang - 6.2.0-53.0.1.3 - Sync Patch from source repo - 1120-qapi-qom-target-i386-csv-guest-Introduce-secret-head.patch -- Gitee