Re: [Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-09-23 Thread Anthony Liguori
On 09/21/2011 10:42 AM, Lluís Vilanova wrote: Implementation with 'CONFIG_USER_ONLY' is moved into new file 'cpus-user.c'. Signed-off-by: Lluís Vilanovavilan...@ac.upc.edu --- Makefile.objs |1 + cpus-user.c |8 qemu-common.h |4 3 files changed, 9

[Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-09-21 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- qemu-common.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/qemu-common.h b/qemu-common.h index 404c421..fca101e 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -297,7 +297,9 @@ struct qemu_work_item { };

Re: [Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-09-21 Thread Lluís Vilanova
Please ignore these patches. Implementation of 'qemu_init_vcpu' in CONFIG_USER_ONLY must be moved into a C file to avoid an include loop between trace.h and qemu-common.h Ideas on which file this is supposed to go? Lluis Lluís Vilanova writes: Signed-off-by: Lluís Vilanova

[Qemu-devel] [PATCH 1/3] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-09-21 Thread Lluís Vilanova
Implementation with 'CONFIG_USER_ONLY' is moved into new file 'cpus-user.c'. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Makefile.objs |1 + cpus-user.c |8 qemu-common.h |4 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 cpus-user.c