Re: [PATCH 8/8] KVM:PPC:booke: Allow debug interrupt injection to guest

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

 



On 01/31/2013 06:04:29 AM, Alexander Graf wrote:

On 30.01.2013, at 12:12, Bhushan Bharat-R65777 wrote:

> On bookehv this is how I am controlling the MSR_DE in hardware MSR.
>
>> And why is this whole thing only executed on HV?
>
> On e500v2 we always enable MSR_DE using vcpu->arch.shadow_msr in e500.c
> #ifndef CONFIG_KVM_BOOKE_HV
> -       vcpu->arch.shadow_msr = MSR_USER | MSR_IS | MSR_DS;
> +       vcpu->arch.shadow_msr = MSR_USER | MSR_DE | MSR_IS | MSR_DS;

Why? How is e500v2 any different wrt debug? And why wouldn't that work for e500mc?

shadow_msr isn't used at all on bookehv.

-Scott
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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