On Sun, Mar 02, 2025 at 02:00:11PM -0800, Dongli Zhang wrote: > Date: Sun, 2 Mar 2025 14:00:11 -0800 > From: Dongli Zhang <dongli.zhang@xxxxxxxxxx> > Subject: [PATCH v2 03/10] [DO NOT MERGE] kvm: Introduce > kvm_arch_pre_create_vcpu() > X-Mailer: git-send-email 2.43.5 > > From: Xiaoyao Li <xiaoyao.li@xxxxxxxxx> > > Introduce kvm_arch_pre_create_vcpu(), to perform arch-dependent > work prior to create any vcpu. This is for i386 TDX because it needs > call TDX_INIT_VM before creating any vcpu. > > The specific implemnet of i386 will be added in the future patch. > > Signed-off-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx> > Acked-by: Gerd Hoffmann <kraxel@xxxxxxxxxx> Your Signed-off is missing... (When you send the patch, it's better to attach your own Signed-off :-)) > --- > I used to send a version: > https://lore.kernel.org/all/20221119122901.2469-2-dongli.zhang@xxxxxxxxxx/ > Just pick the one from Xiaoyao's patchset as Dapeng may use this version > as well. > https://lore.kernel.org/all/20250124132048.3229049-8-xiaoyao.li@xxxxxxxxx/ > > accel/kvm/kvm-all.c | 5 +++++ > include/system/kvm.h | 1 + > target/arm/kvm.c | 5 +++++ > target/i386/kvm/kvm.c | 5 +++++ > target/loongarch/kvm/kvm.c | 5 +++++ > target/mips/kvm.c | 5 +++++ > target/ppc/kvm.c | 5 +++++ > target/riscv/kvm/kvm-cpu.c | 5 +++++ > target/s390x/kvm/kvm.c | 5 +++++ > 9 files changed, 41 insertions(+) Reviewed-by: Zhao Liu <zhao1.liu@xxxxxxxxx>