All of lore.kernel.org
 help / color / mirror / Atom feed
* debugging windows guests
@ 2009-12-15  0:25 Raindog
  2009-12-15 15:29 ` Yan Vugenfirer
  2009-12-15 23:39 ` Jan Kiszka
  0 siblings, 2 replies; 11+ messages in thread
From: Raindog @ 2009-12-15  0:25 UTC (permalink / raw)
  To: kvm

Hello,

I am researching KVM as a malware analysis platform and had some 
questions about debugging the guest OS. In my case I intend to use 
windows guests. So my questsions are as follows:

Questions:

1. What instrumentation facilities are their available?

2. Is it possible to extend the debugging interface so that debugging is 
more transparent to the guest OS? IE: there is still a limit of 4 HW 
breakpoints (which makes me wonder why a LIST is used for them...)

3. I'm not finding any published API for interfacing with KVM/KQEMU/QEMU 
at a low level, for example, for writing custom tracers, etc. Is there 
one? Or is there something similar?


Bugs:

1. I hit a bug w/ instruction logging using a RAM based temp folder. If 
I ran w/ the following command line:
(Version info: QEMU PC emulator version 0.10.50 (qemu-kvm-devel-88))

qemu-system-x86_64 -hda debian.img -enable-nesting -d in_asm

It would successfully log to the tmp log file, but obviously, KVM would 
be disabled.

If I use sudo, it won't log to the file, is this a known issue?

2. -enable-nesting on AMD hardware using a xen guest OS causes xen to 
GPF somewhere in svm_cpu_up. Is nesting supposed to work w/ Xen based 
guests?



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

end of thread, other threads:[~2009-12-17  8:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15  0:25 debugging windows guests Raindog
2009-12-15 15:29 ` Yan Vugenfirer
2009-12-15 23:39 ` Jan Kiszka
2009-12-16  4:07   ` Raindog
2009-12-16  8:12     ` Jan Kiszka
2009-12-16  8:14   ` Vadim Rozenfeld
2009-12-16  9:38     ` Alexander Graf
2009-12-16 22:06   ` Raindog
2009-12-17  5:36     ` Avi Kivity
2009-12-17  7:05       ` Raindog
2009-12-17  8:37         ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.