Re: [PATCH 0 of 4] [kvm-userspace][test] consolidate test libs to libcflat

2008-07-05 Thread Jerone Young
On Sat, 2008-07-05 at 12:28 +0300, Avi Kivity wrote: Jerone Young wrote: On Sun, 2008-06-29 at 16:24 +0300, Avi Kivity wrote: Avi Kivity wrote: Jerone Young wrote: This set of patches are to consolidate test libraries into a single library archive. This lib archive

[PATCH] Fix x86-64 test complication for libcflat patch series

2008-07-05 Thread Jerone Young
This patch fixes test case access.c which is compiled only during x86-64 compilation of test cases. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/test/x86/access.c b/user/test/x86/access.c index daeb272..24708c2 100644 --- a/user/test/x86/access.c +++ b/user/test/x86/access.c

Re: [PATCH 0 of 4] [kvm-userspace][test] consolidate test libs to libcflat

2008-07-05 Thread Jerone Young
Just got this email, after sending the access.c fix. On Sat, 2008-07-05 at 20:36 +0300, Avi Kivity wrote: Jerone Young wrote: On Sat, 2008-07-05 at 12:28 +0300, Avi Kivity wrote: Jerone Young wrote: On Sun, 2008-06-29 at 16:24 +0300, Avi Kivity wrote: Avi Kivity

[PATCH] Consilidate test libs to libcflat for single lib for all arch

2008-07-05 Thread Jerone Young
required for x86 x86-64 to use libcflat. Remove old x86 test libs, that are now appart of libcflat. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/Makefile b/user/Makefile --- a/user/Makefile +++ b/user/Makefile @@ -9,6 +9,12 @@ CFLAGS = libgcc := $(shell $(CC) --print

Re: [PATCH 0 of 4] [kvm-userspace][test] consolidate test libs to libcflat

2008-06-26 Thread Jerone Young
On Wed, 2008-06-25 at 16:27 -0500, Hollis Blanchard wrote: On Wed, 2008-06-25 at 15:39 -0500, Jerone Young wrote: This set of patches are to consolidate test libraries into a single library archive. This lib archive is libcflat. This will allow common code to be shared among archs

Re: [PATCH 4 of 4] Add initial PowerPC libcflat files make file changes

2008-06-26 Thread Jerone Young
On Wed, 2008-06-25 at 16:28 -0500, Hollis Blanchard wrote: On Wed, 2008-06-25 at 15:39 -0500, Jerone Young wrote: 4 files changed, 124 insertions(+), 1 deletion(-) user/config-powerpc.mak | 10 ++- user/test/lib/powerpc/44x/map.c | 51

[PATCH 0 of 4] [kvm-userspace][test] consolidate test libs to libcflat

2008-06-25 Thread Jerone Young
This set of patches are to consolidate test libraries into a single library archive. This lib archive is libcflat. This will allow common code to be shared among archs. Signed-off-by: Jerone Young [EMAIL PROTECTED] 26 files changed, 602 insertions(+), 427 deletions(-) user/Makefile

[PATCH 1 of 4] Consilidate libcflat for x86 to single lib for all archs

2008-06-25 Thread Jerone Young
to use libcflat functions. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/test/lib/libcflat.h b/user/test/lib/libcflat.h new file mode 100644 --- /dev/null +++ b/user/test/lib/libcflat.h @@ -0,0 +1,37 @@ +/* + * This program is free software; you can redistribute it and/or modify

[PATCH 2 of 4] Add Makefile and test changes required for x86 to use libcflat

2008-06-25 Thread Jerone Young
+-- Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/Makefile b/user/Makefile --- a/user/Makefile +++ b/user/Makefile @@ -9,6 +9,12 @@ CFLAGS = libgcc := $(shell $(CC) --print-libgcc-file-name) + +libcflat := test/lib/libcflat.a +cflatobjs := \ + test/lib/panic.o

[PATCH 4 of 4] Add initial PowerPC libcflat files make file changes

2008-06-25 Thread Jerone Young
+ Signed-off-by: Hollis Blanchard [EMAIL PROTECTED] Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/config-powerpc.mak b/user/config-powerpc.mak --- a/user/config-powerpc.mak +++ b/user/config-powerpc.mak @@ -3,6 +3,14 @@ CFLAGS += -I $(KERNELDIR)/include # for some

[PATCH] [v2] Remove use of bit fields in kvm trace structure

2008-06-24 Thread Jerone Young
. This patch fixes kvmtrace use on big endian systems. When using bit fields the compiler will lay data out in the wrong order expected when laid down into a file. This fixes it by using one variable instead of using bit fields. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/include/linux

[PATCH 0 of 3] Add ability for KVM TRACE to work on other archs

2008-06-19 Thread Jerone Young
This set of patches allows KVM TRACE to work on other architectures by moving definitions to common places and changing how variables in data structures are used. Signed-off-by: Jerone Young [EMAIL PROTECTED] 5 files changed, 66 insertions(+), 51 deletions(-) include/asm-x86/kvm.h | 22

[PATCH 1 of 3] Remove use of bit fields in kvm trace structure

2008-06-19 Thread Jerone Young
into a file. This fixes it by using one variable instead of using bit fields. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/include/linux/kvm.h b/include/linux/kvm.h --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -311,9 +311,13 @@ struct kvm_s390_interrupt { /* This structure

[PATCH 2 of 3] Move KVM TRACE DEFINITIONS to common header

2008-06-19 Thread Jerone Young
from x86 specific kvm headers to common kvm headers. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h --- a/include/asm-x86/kvm.h +++ b/include/asm-x86/kvm.h @@ -208,26 +208,4 @@ struct kvm_pit_state { struct kvm_pit_state { struct

[PATCH 1 of 3] Fix building of kvmtrace tool for all archs

2008-06-19 Thread Jerone Young
to multiple diffrering c files as with kvmctl. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/Makefile b/user/Makefile --- a/user/Makefile +++ b/user/Makefile @@ -33,6 +33,8 @@ autodepend-flags = -MMD -MF $(dir $*).$( LDFLAGS += -pthread -lrt +kvmtrace_objs= kvmtrace.o + kvmctl

[PATCH 3 of 3] Add new definitions to kvm trace format file

2008-06-19 Thread Jerone Young
1 file changed, 10 insertions(+) user/formats | 10 ++ This patch adds new defitions that are also defined in the kernel (or will be) to format file. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/formats b/user/formats --- a/user/formats +++ b/user/formats @@ -23,3

[PATCH 0 of 2] Enable other archs to build kvmtrace tool

2008-06-12 Thread Jerone Young
These patches fix up the build system in the /user dircectory so that other archs (besides x86) can build the kvm-trace tool. Signed-off-by: Jerone Young [EMAIL PROTECTED] 3 files changed, 3 insertions(+), 2 deletions(-) user/Makefile |2 ++ user/config-powerpc.mak|2

[PATCH 2 of 2] kvmtrace tool build by default for powerpc

2008-06-12 Thread Jerone Young
1 file changed, 1 insertion(+), 1 deletion(-) user/config-powerpc.mak |2 +- Patch adds kvmtrace to standard build in /user diretory for powerpc. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/config-powerpc.mak b/user/config-powerpc.mak --- a/user/config-powerpc.mak +++ b

[PATCH 1 of 2] Fix building of kvmtrace tool for all archs

2008-06-12 Thread Jerone Young
to multiple diffrering c files as with kvmctl. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/user/Makefile b/user/Makefile --- a/user/Makefile +++ b/user/Makefile @@ -33,6 +33,8 @@ autodepend-flags = -MMD -MF $(dir $*).$( LDFLAGS += -pthread -lrt +kvmtrace_objs= kvmtrace.o + kvmctl

Latest qemu tcg breakage

2008-06-09 Thread Jerone Young
to fix it as there is no CONFIG defined for tcg currently. Just something to keep in mind. Signed-off-by: Jerone Young [EMAIL PROTECTED] diff --git a/qemu/Makefile.target b/qemu/Makefile.target --- a/qemu/Makefile.target +++ b/qemu/Makefile.target @@ -196,7 +196,6 @@ LIBOBJS+=fake-exec.o LIBOBJS

Re: Latest qemu tcg breakage

2008-06-09 Thread Jerone Young
On Mon, 2008-06-09 at 16:02 -0500, Anthony Liguori wrote: Jerone Young wrote: Actually I was mistaken. While upstream qemu does compile, after doing a clean on my local directory of kvm-userspace. I'm finding that after removing cpu-emulation stuff I get a error when building exec.c

gdb removing breakpoints after first breakpoint is hit ??

2008-06-06 Thread Jerone Young
Has anyone notice with x86 that after you hit your first breakpoint and come back into gdb from kvm, gdb starts to sends commands to the qemu gdb stub to serially remove all the break points you have specified? Ultimately ending up in a state where you will have no breakpoints when you go back

[kvm-userspace] new functions on_vcpu() causing segafault when trying to use breakpoints

2008-05-30 Thread Jerone Young
New code recently added to the repository has made some modifications to the kvm_update_debugger() function in qemu-kvm.c. Where as no longer to just call kvm_guest_debug...Now there is a new fuction on_vcpu() that places things in work queues and launches them. The problem is when