kgdb in crosvm

26 views
Skip to first unread message

Jeff Xu

unread,
Nov 19, 2022, 5:29:45 PM11/19/22
to crosvm-dev
Hi, 
Is there a way to enable kgdb in crosvm ? 
For example: with betty image in chromeOS on cloudtop instance. 

Thanks
Jeff

Daniel Verkamp

unread,
Nov 28, 2022, 6:03:59 PM11/28/22
to Jeff Xu, crosvm-dev
Hi Jeff,

If you're looking for info about cros_vm (aka running ChromeOS in a
VM) rather than crosvm (the VMM that is used to run Crostini, ARCVM,
etc.), you might have better luck on the general chromium-os-dev@
list.

crosvm is not used in running betty aside from running another guest
VM like Crostini inside the ChromiumOS image. We don't currently have
a way to use kgdb to debug those guests as far as I know (CONFIG_KGDB
is not enabled at least in the Crostini kernel config, among other
things).

https://chromium.googlesource.com/chromiumos/docs/+/HEAD/cros_vm.md

Thanks,
-- Daniel
> --
> You received this message because you are subscribed to the Google Groups "crosvm-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to crosvm-dev+...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crosvm-dev/74aef88d-0042-4b97-b3b5-5c140ba3eb55n%40chromium.org.
> For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Reply all
Reply to author
Forward
0 new messages