On 2015/9/2 19:38, Christoffer Dall wrote:
>
> I really think that we should read the register, clear the bits you care
> about (MDBGen and HDBGen) and then write back the register.
>
> So, if I recall correctly, this is to avoid having to set HDCR_TDE
> below?
>
> Given Will's concerns about
On Mon, Aug 10, 2015 at 09:25:53PM +0800, Zhichao Huang wrote:
> Hardware debugging in guests is not intercepted currently, it means
> that a malicious guest can bring down the entire machine by writing
> to the debug registers.
>
> This patch enable trapping of all debug registers, preventing the
Hardware debugging in guests is not intercepted currently, it means
that a malicious guest can bring down the entire machine by writing
to the debug registers.
This patch enable trapping of all debug registers, preventing the guests
to access the debug registers.
This patch also disable the debug