[kvm-devel] [PATCH] Make sure to sync registers in monitor/gdbstub (v2)

2007-07-02 Thread Anthony Liguori
This patch adds support to gdbstub and the monitor to sync CPU state before and after the user views/changes it. I also added kvm_allowed guards to kvm_{load,save}_registers. I chose to do it here so that callers didn't need to use the guards. We should probably provide nop implementations so

Re: [kvm-devel] [PATCH] Make sure to sync registers in monitor/gdbstub

2007-07-02 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: This patch adds support to gdbstub and the monitor to sync CPU state before and after the user views/changes it. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git a/qemu/gdbstub.c b/qemu/gdbstub.c index c33a66e..a3b82af 100644 ---

Re: [kvm-devel] [PATCH] Make sure to sync registers in monitor/gdbstub

2007-06-29 Thread Avi Kivity
Anthony Liguori wrote: This patch adds support to gdbstub and the monitor to sync CPU state before and after the user views/changes it. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git a/qemu/gdbstub.c b/qemu/gdbstub.c index c33a66e..a3b82af 100644 --- a/qemu/gdbstub.c +++

[kvm-devel] [PATCH] Make sure to sync registers in monitor/gdbstub

2007-06-29 Thread Anthony Liguori
This patch adds support to gdbstub and the monitor to sync CPU state before and after the user views/changes it. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff --git a/qemu/gdbstub.c b/qemu/gdbstub.c index c33a66e..a3b82af 100644 --- a/qemu/gdbstub.c +++ b/qemu/gdbstub.c @@ -30,6 +30,7 @@