Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9432ba60 authored by Alexander Graf's avatar Alexander Graf Committed by Avi Kivity
Browse files

KVM: PPC: Add papr_enabled flag



When running a PAPR guest, some things change. The privilege level drops
from hypervisor to supervisor, SDR1 gets treated differently and we interpret
hypercalls. For bisectability sake, add the flag now, but only enable it when
all the support code is there.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent db507c30
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -389,6 +389,7 @@ struct kvm_vcpu_arch {
	u8 dcr_is_write;
	u8 dcr_is_write;
	u8 osi_needed;
	u8 osi_needed;
	u8 osi_enabled;
	u8 osi_enabled;
	u8 papr_enabled;
	u8 hcall_needed;
	u8 hcall_needed;


	u32 cpr0_cfgaddr; /* holds the last set cpr0_cfgaddr */
	u32 cpr0_cfgaddr; /* holds the last set cpr0_cfgaddr */