diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-03 09:35:33 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-03 15:47:47 +0200 |
commit | 566abdb4d90d73728f37cd5dcced0fbef84a63db (patch) | |
tree | d54984a0dd0970e5e7c743bdb8dcbc9f39be2dd6 /hw/virtio/vhost-user-input-pci.c | |
parent | 957f583b7cb4d317fb694ca45350de6d9d2bd1b8 (diff) | |
download | qemu-566abdb4d90d73728f37cd5dcced0fbef84a63db.zip qemu-566abdb4d90d73728f37cd5dcced0fbef84a63db.tar.gz qemu-566abdb4d90d73728f37cd5dcced0fbef84a63db.tar.bz2 |
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>
Diffstat (limited to 'hw/virtio/vhost-user-input-pci.c')
0 files changed, 0 insertions, 0 deletions