Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-26 Thread Hu Yaohui
On Thu, Sep 26, 2013 at 3:20 PM, Hu Yaohui wrote: > > > On Thu, Sep 26, 2013 at 3:07 PM, Jan Kiszka wrote: > >> On 2013-09-26 20:53, Hu Yaohui wrote: >> > Hi Jan, >> > I am working on some Nested VM related projects. Some other teammates >> have >> > made the modifications to the kvm module. >>

Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-26 Thread Hu Yaohui
On Thu, Sep 26, 2013 at 3:07 PM, Jan Kiszka wrote: > On 2013-09-26 20:53, Hu Yaohui wrote: > > Hi Jan, > > I am working on some Nested VM related projects. Some other teammates > have > > made the modifications to the kvm module. > > And these modifications cannot cause the misguided INT3? > No

Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-26 Thread Hu Yaohui
Hi Jan, I am working on some Nested VM related projects. Some other teammates have made the modifications to the kvm module. Most of my work depends on his. If I could not use Qemu Debug method. Could you please suggest some other debugging methods to debug the L2 guest OS(printk, hijack kernel fun

Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-26 Thread Jan Kiszka
On 2013-09-26 20:53, Hu Yaohui wrote: > Hi Jan, > I am working on some Nested VM related projects. Some other teammates have > made the modifications to the kvm module. And these modifications cannot cause the misguided INT3? > Most of my work depends on his. > If I could not use Qemu Debug meth

Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-26 Thread Jan Kiszka
On 2013-09-26 16:14, Hu Yaohui wrote: > Hi Jan, > Thanks for your reply. > On Thu, Sep 26, 2013 at 2:08 AM, Jan Kiszka wrote: > >> On 2013-09-25 20:08, Hu Yaohui wrote: >>> Hi All, >>> I am trying to debug guest OS through qemu with kvm enabled. >>> Following is what I have done: >>> 1: fire the

Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-26 Thread Hu Yaohui
Hi Jan, Thanks for your reply. On Thu, Sep 26, 2013 at 2:08 AM, Jan Kiszka wrote: > On 2013-09-25 20:08, Hu Yaohui wrote: > > Hi All, > > I am trying to debug guest OS through qemu with kvm enabled. > > Following is what I have done: > > 1: fire the qemu-kvm > > > > sudo qemu-system-x86_64 -hda

Re: [Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-25 Thread Jan Kiszka
On 2013-09-25 20:08, Hu Yaohui wrote: > Hi All, > I am trying to debug guest OS through qemu with kvm enabled. > Following is what I have done: > 1: fire the qemu-kvm > > sudo qemu-system-x86_64 -hda vdisk.img -m 4096 -smp 2 -vnc :2 -boot c -s > > > 2: wait until login into guest OS (ubuntu 10.0

[Qemu-devel] Fwd: Guest VM debug (Int 3 panic)

2013-09-25 Thread Hu Yaohui
Hi All, I am trying to debug guest OS through qemu with kvm enabled. Following is what I have done: 1: fire the qemu-kvm sudo qemu-system-x86_64 -hda vdisk.img -m 4096 -smp 2 -vnc :2 -boot c -s 2: wait until login into guest OS (ubuntu 10.04) 3: fire gdb gdb vmlinux target remote :1234 b do_fo