* [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB
@ 2009-05-21 7:51 Jan Kiszka
2009-05-21 7:53 ` Avi Kivity
2009-05-21 10:57 ` Aneesh Kumar K.V
0 siblings, 2 replies; 4+ messages in thread
From: Jan Kiszka @ 2009-05-21 7:51 UTC (permalink / raw)
To: Avi Kivity; +Cc: Aneesh Kumar K.V, kvm-devel
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
This fixes the recently reported gdbstub regression of qemu-kvm.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
qemu-kvm.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/qemu-kvm.c b/qemu-kvm.c
index 98c7cd7..bc3d7db 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -606,13 +606,11 @@ int kvm_main_loop(void)
qemu_system_powerdown();
else if (qemu_reset_requested())
qemu_kvm_system_reset();
-#ifdef CONFIG_GDBSTUB
else if (kvm_debug_cpu_requested) {
gdb_set_stop_cpu(kvm_debug_cpu_requested);
vm_stop(EXCP_DEBUG);
kvm_debug_cpu_requested = NULL;
}
-#endif
}
pause_all_threads();
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB
2009-05-21 7:51 [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB Jan Kiszka
@ 2009-05-21 7:53 ` Avi Kivity
2009-05-21 10:57 ` Aneesh Kumar K.V
1 sibling, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2009-05-21 7:53 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Aneesh Kumar K.V, kvm-devel
Jan Kiszka wrote:
> This fixes the recently reported gdbstub regression of qemu-kvm.
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB
2009-05-21 7:51 [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB Jan Kiszka
2009-05-21 7:53 ` Avi Kivity
@ 2009-05-21 10:57 ` Aneesh Kumar K.V
2009-05-21 11:09 ` Aneesh Kumar K.V
1 sibling, 1 reply; 4+ messages in thread
From: Aneesh Kumar K.V @ 2009-05-21 10:57 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Avi Kivity, kvm-devel
On Thu, May 21, 2009 at 09:51:11AM +0200, Jan Kiszka wrote:
> This fixes the recently reported gdbstub regression of qemu-kvm.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
> qemu-kvm.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/qemu-kvm.c b/qemu-kvm.c
> index 98c7cd7..bc3d7db 100644
> --- a/qemu-kvm.c
> +++ b/qemu-kvm.c
> @@ -606,13 +606,11 @@ int kvm_main_loop(void)
> qemu_system_powerdown();
> else if (qemu_reset_requested())
> qemu_kvm_system_reset();
> -#ifdef CONFIG_GDBSTUB
> else if (kvm_debug_cpu_requested) {
> gdb_set_stop_cpu(kvm_debug_cpu_requested);
> vm_stop(EXCP_DEBUG);
> kvm_debug_cpu_requested = NULL;
> }
> -#endif
> }
>
> pause_all_threads();
>
Applied this patch to qemu-kvm tree and I get the error
" Remote 'g' packet reply is too long". Is there any other pathches i
should try ?
-aneesh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB
2009-05-21 10:57 ` Aneesh Kumar K.V
@ 2009-05-21 11:09 ` Aneesh Kumar K.V
0 siblings, 0 replies; 4+ messages in thread
From: Aneesh Kumar K.V @ 2009-05-21 11:09 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Avi Kivity, kvm-devel
On Thu, May 21, 2009 at 04:27:38PM +0530, Aneesh Kumar K.V wrote:
> On Thu, May 21, 2009 at 09:51:11AM +0200, Jan Kiszka wrote:
> > This fixes the recently reported gdbstub regression of qemu-kvm.
> >
> > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> > ---
> >
> > qemu-kvm.c | 2 --
> > 1 files changed, 0 insertions(+), 2 deletions(-)
> >
> > diff --git a/qemu-kvm.c b/qemu-kvm.c
> > index 98c7cd7..bc3d7db 100644
> > --- a/qemu-kvm.c
> > +++ b/qemu-kvm.c
> > @@ -606,13 +606,11 @@ int kvm_main_loop(void)
> > qemu_system_powerdown();
> > else if (qemu_reset_requested())
> > qemu_kvm_system_reset();
> > -#ifdef CONFIG_GDBSTUB
> > else if (kvm_debug_cpu_requested) {
> > gdb_set_stop_cpu(kvm_debug_cpu_requested);
> > vm_stop(EXCP_DEBUG);
> > kvm_debug_cpu_requested = NULL;
> > }
> > -#endif
> > }
> >
> > pause_all_threads();
> >
>
>
> Applied this patch to qemu-kvm tree and I get the error
> " Remote 'g' packet reply is too long". Is there any other pathches i
> should try ?
>
Works fine with the below patches
http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=159c7d73428c7df3167babf8253d618aea253338
http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=c84899b311ac882c4f73299ad90b88ed3302b813
http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=125f74afaf973ff4faf6b4a8a4c8262df373fe49
http://git.kiszka.org/?p=kvm-userspace.git;a=commit;h=9d5bc0241268ceea7975ae9e4562fe21484afb68
-aneesh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-21 11:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 7:51 [PATCH] qemu-kvm: Drop obsolete CONFIG_GDBSTUB Jan Kiszka
2009-05-21 7:53 ` Avi Kivity
2009-05-21 10:57 ` Aneesh Kumar K.V
2009-05-21 11:09 ` Aneesh Kumar K.V
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox