Padraig O'Sullivan wrote:
> Thanks for the reply but I don't think I phrased my original question very 
> well (apologies for that). I understand that I can use mdb as you stated 
> inside a guest domain.
>
> My question is whether it is possible to use mdb on the control domain to 
> debug a guest domain and do things like set a breakpoint on the domain being 
> debugged (as 1 example of what should be possible if I could do this)? This 
> could be a stupid question but I thought it would be a cool thing to try out. 
> If there is some reason why it is not possible to do this, I'd appreciate if 
> anyone could explain why to me.
>   
I don't think you can debug a running domain from dom0 using mdb at this 
point.
AFAIK, dom0 cannot freely access memory pages which belongs to a domU.
Explicit access permission needs to be granted by the domU before dom0 
can access the page (map it into dom0's address space and write to it, 
say, set a break point).

Max
> I don't expect this to be possible if the guest domain is running Linux, 
> Windows, etc. since I would be surprised if mdb supports these targets but in 
> theory, I thought it could be possible to do if the guest domain is running 
> Solaris.
>
> -Padraig
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> xen-discuss mailing list
> [email protected]
>   
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to