From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 31 Jan 2013 18:43:15 +0000 Subject: Re: [PATCH 8/8] KVM:PPC:booke: Allow debug interrupt injection to guest Message-Id: <1359657795.31540.5@snotra> List-Id: References: In-Reply-To: (from agraf@suse.de on Thu Jan 31 12:21:07 2013) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: Bhushan Bharat-R65777 , "kvm-ppc@vger.kernel.org" , "kvm@vger.kernel.org" On 01/31/2013 12:21:07 PM, Alexander Graf wrote: > How about something like this? Then both targets at least suck as > much :). I'm not sure that should be the goal... > Thanks to e500mc's awful hardware design, we don't know who sets the > MSR_DE bit. Once we forced it onto the guest, we have no change to > know whether the guest also set it or not. We could only guess. MSRP[DEP] can prevent the guest from modifying MSR[DE] -- but we still need to set it in the first place. According to ISA V2.06B, the hypervisor should set DBCR0[EDM] to let the guest know that the debug resources are not available, and that "the value of MSR[DE] is not specified and not modifiable". -Scott