public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* guest hardware breakpoint
@ 2008-10-31  5:01 Michael Le
  2008-10-31 10:11 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Le @ 2008-10-31  5:01 UTC (permalink / raw)
  To: kvm

Hi,

I'm trying to set a hardware breakpoint inside the guest using gdb. This 
doesn't seem to work. Execution just skips right over it. I've have also 
tried writing some code to set a breakpoint by directly accessing the db 
registers from the guest. This also did not cause a breakpoint to be 
generated in the guest. Is it possible to use hardware breakpoints 
inside the guest? Is there some configuration that must be set in qemu 
or in the kvm modules?

The guest vm is running linux 2.6.18.

I'm using kvm-77 with linux kernel 2.6.27. I used the kvm kernel modules 
that came with the linux kernel and not from kvm-77. I have an x86 
machine. The command I use to run the vm is the following:

../kvm/qemu-system-x86_64 main.img -m 512 -vnc :0

Thanks,
Michael Le

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

end of thread, other threads:[~2008-10-31 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31  5:01 guest hardware breakpoint Michael Le
2008-10-31 10:11 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox