Searched hist:"566 abdb4d90d73728f37cd5dcced0fbef84a63db" (Results 1 – 1 of 1) sorted by relevance
/qemu/target/ppc/ |
H A D | kvm.c | 566abdb4d90d73728f37cd5dcced0fbef84a63db Fri May 03 07:35:33 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> kvm: ppc: disable sPAPR code if CONFIG_PSERIES is disabled
target/ppc/kvm.c calls out to code in hw/ppc/spapr*.c; that code is not present and fails to link if CONFIG_PSERIES is not enabled. Adjust kvm.c to depend on CONFIG_PSERIES instead of TARGET_PPC64, and compile out anything that requires cap_papr, because only the pseries machine will call kvmppc_set_papr().
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|