diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-03-18 05:50:42 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 14:02:51 +0300 |
commit | 31217db720186edc7ae3c4354e5fa5848bb28358 (patch) | |
tree | b18b49ccbf98cc9d2c50cc7cb53903decc7bb5ae /virt | |
parent | ef697a712a6165aea7779c295604b099e8bfae2e (diff) | |
download | linux-31217db720186edc7ae3c4354e5fa5848bb28358.tar.xz |
KVM: PPC: Create a virtual-mode only TCE table handlers
Upcoming in-kernel VFIO acceleration needs different handling in real
and virtual modes which makes it hard to support both modes in
the same handler.
This creates a copy of kvmppc_rm_h_stuff_tce and kvmppc_rm_h_put_tce
in addition to the existing kvmppc_rm_h_put_tce_indirect.
This also fixes linker breakage when only PR KVM was selected (leaving
HV KVM off): the kvmppc_h_put_tce/kvmppc_h_stuff_tce functions
would not compile at all and the linked would fail.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions