qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] arm: move KVM breakpoints helpers


From: Francesco Cagnin
Subject: Re: [PATCH 1/3] arm: move KVM breakpoints helpers
Date: Wed, 9 Nov 2022 13:55:11 +0100

> I was planning to move hypervisor-specific code to target/arm/$hypervisor/, 
> but here Francesco wants to re-use the same code
> between 2 hypervisors... Maybe move it to target/arm/hyp_gdbstub.c
> and let meson add it conditionally?

Something like this?

-arm_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c', 'kvm64.c'),
if_false: files('kvm-stub.c'))
+arm_ss.add(when: 'CONFIG_KVM', if_true: files('hyp_gdbstub.c',
'kvm.c', 'kvm64.c'), if_false: files('kvm-stub.c'))
+arm_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c'))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]