[PATCH 5/5] kvmppc: guest debug init

2009-08-04 Thread Liu Yu
440(BOOKE) supports 4 hardware breakpoints, while e500 supports 2. Signed-off-by: Liu Yu --- target-ppc/kvm.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index 97a0737..82e7897 100644 --- a/target-ppc/kvm.c +++ b/target-p

[PATCH 4/5] kvmppc: Translate eaddr for fsl_booke mmu

2009-08-04 Thread Liu Yu
Signed-off-by: Liu Yu --- target-ppc/helper.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 6eca2e5..07e56a4 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -22,6 +22,7 @@ #include #includ

[PATCH 3/5] kvmppc: Guest debug support

2009-08-04 Thread Liu Yu
Signed-off-by: Liu Yu --- target-ppc/kvm.c | 203 ++ 1 files changed, 203 insertions(+), 0 deletions(-) diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index b53d6e9..97a0737 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -8,6 +8,9 @

[PATCH 2/5] kvmppc: Synchronize booke registers

2009-08-04 Thread Liu Yu
Commit 8d2ba1fb9c8e7006e10d71fa51a020977f14c8b0 introduces a new new reset order. So that we have to synchronize the register after updating them. Signed-off-by: Liu Yu --- hw/ppc440_bamboo.c |2 ++ hw/ppce500_mpc8544ds.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff

[PATCH v2 0/5] kvmppc: Add guest debug support

2009-08-04 Thread Liu Yu
The whole patchset add guest debug support for kvmppc. patch 1: fix kvmppc build error patch 2: fix kvmppc init error patch 3: add guest debug support patch 4: translate eaddr for fsl_booke mmu patch 5: guest debug init [v2]: 1. use cpu_synchronize_state() instead of kvm_arch_put_registers() 2. mo

[PATCH 1/5] kvmppc: Fix build error

2009-08-04 Thread Liu Yu
like this: /home/liuyu/git/qemu.git/target-ppc/kvm_ppc.c: In function 'kvmppc_read_host_property': /home/liuyu/git/qemu.git/target-ppc/kvm_ppc.c:55: error: label 'out' defined but not used Signed-off-by: Liu Yu --- target-ppc/kvm_ppc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-)