Re: [PATCH 5/6] KVM: PPC: BOOKE: Allow guest to change MSR_DE

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

 




On 29.07.14 00:01, Scott Wood wrote:
On Fri, 2014-07-11 at 14:09 +0530, Bharat Bhushan wrote:
When userspace is debugging guest then MSR_DE is always set and
MSRP_DEP is set so that guest cannot change MSR_DE.
Guest debug resources are not yet emulated, So there seems no reason
we should stop guest controlling MSR_DE.
Also a followup patch will enable debug emulation and that requires
guest to control MSR_DE.
Why does it matter whether we emulate debug resources?  We still don't
want the guest to be able to clear MSR[DE] and thus break host debug.

The patch description is misleading. This patch changes the default of DEP to "guest controlled" when it boots up. Once QEMU wants control over the debug registers, it gets switched to "QEMU controlled" (that code is already there).


Alex

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




[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux