mbox series

[v2,0/4] target/ppc: Prohibit target specific KVM prototypes on user emulation

Message ID 20231003070427.69621-1-philmd@linaro.org
Headers show
Series target/ppc: Prohibit target specific KVM prototypes on user emulation | expand

Message

Philippe Mathieu-Daudé Oct. 3, 2023, 7:04 a.m. UTC
Since v1:
- Addressed Michael review comments,
- Added Daniel R-b tag.

Implement Kevin's suggestion to remove KVM declarations
for user emulation builds, so if KVM prototype are used
we directly get a compile failure.

Philippe Mathieu-Daudé (4):
  sysemu/kvm: Restrict kvmppc_get_radix_page_info() to ppc targets
  hw/ppc/e500: Restrict ppce500_init_mpic_kvm() to KVM
  target/ppc: Restrict KVM objects to system emulation
  target/ppc: Prohibit target specific KVM prototypes on user emulation

 include/sysemu/kvm.h   |  1 -
 target/ppc/kvm_ppc.h   |  4 ++++
 hw/ppc/e500.c          |  4 ++++
 target/ppc/kvm-stub.c  | 19 -------------------
 target/ppc/kvm.c       |  4 ++--
 target/ppc/meson.build |  2 +-
 6 files changed, 11 insertions(+), 23 deletions(-)
 delete mode 100644 target/ppc/kvm-stub.c

Comments

Philippe Mathieu-Daudé Oct. 12, 2023, 6:42 p.m. UTC | #1
On 3/10/23 09:04, Philippe Mathieu-Daudé wrote:
> Since v1:
> - Addressed Michael review comments,
> - Added Daniel R-b tag.
> 
> Implement Kevin's suggestion to remove KVM declarations
> for user emulation builds, so if KVM prototype are used
> we directly get a compile failure.
> 
> Philippe Mathieu-Daudé (4):
>    sysemu/kvm: Restrict kvmppc_get_radix_page_info() to ppc targets
>    hw/ppc/e500: Restrict ppce500_init_mpic_kvm() to KVM
>    target/ppc: Restrict KVM objects to system emulation
>    target/ppc: Prohibit target specific KVM prototypes on user emulation

Ping?