On 10.11.2009, at 14:07, Avi Kivity wrote:
On 11/10/2009 03:03 PM, Alexander Graf wrote:
Anywhere you put it the bios has a right to trample. Of course
our bios (and its maintainer) are cooperative, but there's not
reason to impose on that if we can do the right thing and load the
data at the right moment.
Right. The only thing we're missing is soft breakpoints set in gdb
when running the guest with -s -S, as the guest kernel just isn't
there by then yet.
Copying things around in int 19 would also break this.
Yeah, I'm not pro the copying idea. This was more of a general remark
wrt what regressions we introduce.
But I guess we can live without that feature, as long as the rest
works.
You can put a hardware breakpoint on the ELF entry point and then
place your soft breakpoints.
In fact when you have a working hardware breakpoint implementation you
can still set the breakpoint with -s -S.
Alex