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

Re: [Xen-devel] set the eflags.tf of VM



On Tue, 9 Jul 2013 16:59:27 +0800
yandong han <toyandong@xxxxxxxxx> wrote:

> hi,all
>     has anyone  set the eflags.TF of vm?
>     I want to introdeuce a VM into  single-step by setting  the
> eflags.TF of vm, then I disassemble the bytes at RIP to figure out
> what's going on . I have set the trap flag ,but I didn't achieve what
> I want. First, I only get hlt,mov, rdtsc, clts, in, out . Second, the
> VM always  crash. does anyone have experience and  give me some help?
> ----------------------------------------------------------
> best regards,
> yandong

If it's HVM, look at MTF, otherwise look at debugger_trap_entry and it's
callers. Can't you just use gdbsx in tools/debugger/gdbsx? You can look
at gdbsx source too...

Mukesh

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.