mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
KVM: PPC: Expose fixup hcall capability
New kvm versions expose a PPC_FIXUP_HCALL capability. Make it visible to machine code so we can take decisions based on it. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
b061808d39
commit
87a91de61a
2 changed files with 13 additions and 0 deletions
|
@ -50,6 +50,7 @@ void kvmppc_hash64_free_pteg(uint64_t token);
|
|||
|
||||
void kvmppc_hash64_write_pte(CPUPPCState *env, target_ulong pte_index,
|
||||
target_ulong pte0, target_ulong pte1);
|
||||
bool kvmppc_has_cap_fixup_hcalls(void);
|
||||
|
||||
#else
|
||||
|
||||
|
@ -223,6 +224,11 @@ static inline void kvmppc_hash64_write_pte(CPUPPCState *env,
|
|||
abort();
|
||||
}
|
||||
|
||||
static inline bool kvmppc_has_cap_fixup_hcalls(void)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_KVM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue