Skip to content
Commit a3ff5fbc authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Ignore PIR writes



While technically it's legal to write to PIR and have the identifier changed,
we don't implement logic to do so because we simply expose vcpu_id to the guest.

So instead, let's ignore writes to PIR. This ensures that we don't inject faults
into the guest for something the guest is allowed to do. While at it, we cross
our fingers hoping that it also doesn't mind that we broke its PIR read values.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 681562cd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment