Re: [RFC v1 3/9] KVM: x86: Implement MSR_IA32_PEBS_ENABLE read/write emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +	case MSR_IA32_PEBS_ENABLE:
> +		if (pmu->pebs_enable == data)
> +			return 0;
> +		if (!(data & pmu->pebs_enable_mask) &&
> +		     (data & MSR_IA32_PEBS_OUTPUT_MASK) ==
> +						MSR_IA32_PEBS_OUTPUT_PT) {
> +			pebs_enable_changed(pmu, data);
> +			return 0;
> +		}

Need #GP for bad values




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux