linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Implement Functions in boot.c
       [not found] <54AC04CA.1000102@gmail.com>
@ 2015-01-07  2:01 ` Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2015-01-07  2:01 UTC (permalink / raw)
  To: nick; +Cc: x86, ak, JBeulich, lguest, linux-kernel

nick <xerofoify@gmail.com> writes:
> Greetings Rusty,
> I am wondering why we haven't implementing the below functions:
>  /* Let's just say, I wouldn't do debugging under a Guest. */
>  static unsigned long lguest_get_debugreg(int regno)
> {
>          /* FIXME: Implement */
>          return 0;
> }
>
>  static void lguest_set_debugreg(int regno, unsigned long value)
> {
>          /* FIXME: Implement */
> }
> Seems to me that this are needed for various areas in the lguest subsystem and should
> be implemented for debugging ease of use in the lguest subsystem.

Well, normal use of gdb works.  It can't use hardware watchpoints,
though.

To fix this, hypercalls would have to be added to manipulate the debug
registers, and these registers would have to be saved and restored in
the world switcher code.

Patches welcome!
Rusty.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-07  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <54AC04CA.1000102@gmail.com>
2015-01-07  2:01 ` Implement Functions in boot.c Rusty Russell

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).