xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* set the eflags.tf of VM
@ 2013-07-09  8:59 yandong han
  2013-07-09 19:38 ` Mukesh Rathor
  0 siblings, 1 reply; 2+ messages in thread
From: yandong han @ 2013-07-09  8:59 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 478 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 874 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: set the eflags.tf of VM
  2013-07-09  8:59 set the eflags.tf of VM yandong han
@ 2013-07-09 19:38 ` Mukesh Rathor
  0 siblings, 0 replies; 2+ messages in thread
From: Mukesh Rathor @ 2013-07-09 19:38 UTC (permalink / raw)
  To: yandong han; +Cc: xen-devel

On Tue, 9 Jul 2013 16:59:27 +0800
yandong han <toyandong@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-09 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09  8:59 set the eflags.tf of VM yandong han
2013-07-09 19:38 ` Mukesh Rathor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).