All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Using qemu to debug arm64 linux kernel
@ 2014-03-03  9:28 ` Xuebing wang
  0 siblings, 0 replies; 2+ messages in thread
From: Xuebing wang @ 2014-03-03  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi community,

I can think of 2 ways to use gdb+qemu to remotely debug arm64 kernel, by 
enabling gdbstub within qemu to communicate with gdb.

I am wondering in the real-world practice, is this debug technique 
helpful for debugging arm64 kernel?

Options are:

1) Host environment: qemu is running as kvm hypervisor

i) armv8 foundation model running arm64 kernel
ii) or a real armv8 Linux machine running arm64 kernel

Qemu guest environment: arm64 kernel

2) Host environment: x86 linux machine running qemu as tcg aarch64 emulator

Qemu guest environment: arm64 kernel

Prerequisite: qemu-aarch64 needs to be reliable.

-- Thanks,
Xuebing Wang

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

* [Qemu-devel]  Using qemu to debug arm64 linux kernel
@ 2014-03-03  9:28 ` Xuebing wang
  0 siblings, 0 replies; 2+ messages in thread
From: Xuebing wang @ 2014-03-03  9:28 UTC (permalink / raw)
  To: QEMU Developers; +Cc: linux-arm-kernel

Hi community,

I can think of 2 ways to use gdb+qemu to remotely debug arm64 kernel, by 
enabling gdbstub within qemu to communicate with gdb.

I am wondering in the real-world practice, is this debug technique 
helpful for debugging arm64 kernel?

Options are:

1) Host environment: qemu is running as kvm hypervisor

i) armv8 foundation model running arm64 kernel
ii) or a real armv8 Linux machine running arm64 kernel

Qemu guest environment: arm64 kernel

2) Host environment: x86 linux machine running qemu as tcg aarch64 emulator

Qemu guest environment: arm64 kernel

Prerequisite: qemu-aarch64 needs to be reliable.

-- Thanks,
Xuebing Wang

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

end of thread, other threads:[~2014-03-03  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03  9:28 [Qemu-devel] Using qemu to debug arm64 linux kernel Xuebing wang
2014-03-03  9:28 ` Xuebing wang

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.