summaryrefslogtreecommitdiff
path: root/sound/oss/mpu401.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-09-02 06:14:43 (GMT)
committerAlexander Graf <agraf@suse.de>2014-09-22 08:11:34 (GMT)
commit9333e6c4c15a4084dd5f4336cd4379afbf99e458 (patch)
treed4c481c68d9d776bac8398be769d553f5662831c /sound/oss/mpu401.h
parentb754c739ee8cd0101dc3f5a24e8c2ff76ee7eff9 (diff)
downloadlinux-9333e6c4c15a4084dd5f4336cd4379afbf99e458.tar.xz
KVM: PPC: Book3S HV: Only accept host PVR value for guest PVR
Since the guest can read the machine's PVR (Processor Version Register) directly and see the real value, we should disallow userspace from setting any value for the guest's PVR other than the real host value. Therefore this makes kvm_arch_vcpu_set_sregs_hv() check the supplied PVR value and return an error if it is different from the host value, which has been put into vcpu->arch.pvr at vcpu creation time. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'sound/oss/mpu401.h')
0 files changed, 0 insertions, 0 deletions