* [PATCH] Moving tpr-patch routine to x86 arch.
@ 2008-01-05 12:31 Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCBB7F87-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Zhang, Xiantao @ 2008-01-05 12:31 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Avi Kivity
[-- Attachment #1: Type: text/plain, Size: 3293 bytes --]
From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Date: Sat, 5 Jan 2008 20:20:14 +0800
Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to qemu-kvm-x86.c
Since tpr patching routine only needed in x86 side, moving it
qemu-kvm-arch.
Signed-off-by: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
qemu/Makefile.target | 4 ++--
qemu/qemu-kvm-x86.c | 8 ++++++++
qemu/qemu-kvm.c | 11 ++++-------
qemu/qemu-kvm.h | 2 ++
4 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/qemu/Makefile.target b/qemu/Makefile.target
index 289cd18..88213eb 100644
--- a/qemu/Makefile.target
+++ b/qemu/Makefile.target
@@ -299,7 +299,7 @@ OBJS+= libqemu.a
# cpu emulator library
LIBOBJS=exec.o kqemu.o qemu-kvm.o translate-op.o translate-all.o
cpu-exec.o\
- translate.o op.o host-utils.o qemu-kvm-helper.o kvm-tpr-opt.o
+ translate.o op.o host-utils.o qemu-kvm-helper.o
ifdef CONFIG_SOFTFLOAT
LIBOBJS+=fpu/softfloat.o
else
@@ -309,7 +309,7 @@ CPPFLAGS+=-I$(SRC_PATH)/fpu
ifeq ($(TARGET_ARCH), i386)
LIBOBJS+=helper.o helper2.o
-LIBOBJS+=qemu-kvm-x86.o
+LIBOBJS+=qemu-kvm-x86.o kvm-tpr-opt.o
endif
ifeq ($(TARGET_ARCH), x86_64)
diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c
index d86fec3..c79ca36 100644
--- a/qemu/qemu-kvm-x86.c
+++ b/qemu/qemu-kvm-x86.c
@@ -625,4 +625,12 @@ void kvm_arch_update_regs_for_sipi(CPUState *env)
env->eip = 0;
kvm_arch_load_regs(env);
}
+
+int handle_tpr_access(void *opaque, int vcpu,
+ uint64_t rip, int is_write)
+{
+ kvm_tpr_access_report(cpu_single_env, rip, is_write);
+ return 0;
+}
+
#endif
diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index 9aee903..8e1ba7a 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -327,7 +327,9 @@ static int kvm_main_loop_cpu(CPUState *env)
env->ready_for_interrupt_injection = 1;
cpu_single_env = env;
+#ifdef TARGET_I386
kvm_tpr_opt_setup(env);
+#endif
while (1) {
while (!has_work(env))
kvm_main_loop_wait(env, 10);
@@ -512,13 +514,6 @@ static int kvm_shutdown(void *opaque, int vcpu)
return 1;
}
-static int handle_tpr_access(void *opaque, int vcpu,
- uint64_t rip, int is_write)
-{
- kvm_tpr_access_report(cpu_single_env, rip, is_write);
- return 0;
-}
-
static struct kvm_callbacks qemu_kvm_ops = {
.debug = kvm_debug,
.inb = kvm_inb,
@@ -535,7 +530,9 @@ static struct kvm_callbacks qemu_kvm_ops = {
.try_push_interrupts = try_push_interrupts,
.post_kvm_run = post_kvm_run,
.pre_kvm_run = pre_kvm_run,
+#ifdef TARGET_I386
.tpr_access = handle_tpr_access,
+#endif
};
int kvm_qemu_init()
diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h
index ca3132a..e4aeb3a 100644
--- a/qemu/qemu-kvm.h
+++ b/qemu/qemu-kvm.h
@@ -45,6 +45,8 @@ extern int kvm_irqchip;
void kvm_tpr_opt_setup(CPUState *env);
void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write);
+int handle_tpr_access(void *opaque, int vcpu,
+ uint64_t rip, int is_write);
#define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
#define BITMAP_SIZE(m) (ALIGN(((m)>>TARGET_PAGE_BITS), HOST_LONG_BITS)
/ 8)
--
1.5.2
[-- Attachment #2: 0001-kvm-qemu-Moving-tpr-patch-routine-to-qemu-kvm-x86.patch --]
[-- Type: application/octet-stream, Size: 3197 bytes --]
From ee28b280a8c8ee989ef951d7ee02c80884196287 Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <xiantao.zhang@intel.com>
Date: Sat, 5 Jan 2008 20:20:14 +0800
Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to qemu-kvm-x86.c
Since tpr patching routine only needed in x86 side, moving it
qemu-kvm-arch.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
---
qemu/Makefile.target | 4 ++--
qemu/qemu-kvm-x86.c | 8 ++++++++
qemu/qemu-kvm.c | 11 ++++-------
qemu/qemu-kvm.h | 2 ++
4 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/qemu/Makefile.target b/qemu/Makefile.target
index 289cd18..88213eb 100644
--- a/qemu/Makefile.target
+++ b/qemu/Makefile.target
@@ -299,7 +299,7 @@ OBJS+= libqemu.a
# cpu emulator library
LIBOBJS=exec.o kqemu.o qemu-kvm.o translate-op.o translate-all.o cpu-exec.o\
- translate.o op.o host-utils.o qemu-kvm-helper.o kvm-tpr-opt.o
+ translate.o op.o host-utils.o qemu-kvm-helper.o
ifdef CONFIG_SOFTFLOAT
LIBOBJS+=fpu/softfloat.o
else
@@ -309,7 +309,7 @@ CPPFLAGS+=-I$(SRC_PATH)/fpu
ifeq ($(TARGET_ARCH), i386)
LIBOBJS+=helper.o helper2.o
-LIBOBJS+=qemu-kvm-x86.o
+LIBOBJS+=qemu-kvm-x86.o kvm-tpr-opt.o
endif
ifeq ($(TARGET_ARCH), x86_64)
diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c
index d86fec3..c79ca36 100644
--- a/qemu/qemu-kvm-x86.c
+++ b/qemu/qemu-kvm-x86.c
@@ -625,4 +625,12 @@ void kvm_arch_update_regs_for_sipi(CPUState *env)
env->eip = 0;
kvm_arch_load_regs(env);
}
+
+int handle_tpr_access(void *opaque, int vcpu,
+ uint64_t rip, int is_write)
+{
+ kvm_tpr_access_report(cpu_single_env, rip, is_write);
+ return 0;
+}
+
#endif
diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index 9aee903..8e1ba7a 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -327,7 +327,9 @@ static int kvm_main_loop_cpu(CPUState *env)
env->ready_for_interrupt_injection = 1;
cpu_single_env = env;
+#ifdef TARGET_I386
kvm_tpr_opt_setup(env);
+#endif
while (1) {
while (!has_work(env))
kvm_main_loop_wait(env, 10);
@@ -512,13 +514,6 @@ static int kvm_shutdown(void *opaque, int vcpu)
return 1;
}
-static int handle_tpr_access(void *opaque, int vcpu,
- uint64_t rip, int is_write)
-{
- kvm_tpr_access_report(cpu_single_env, rip, is_write);
- return 0;
-}
-
static struct kvm_callbacks qemu_kvm_ops = {
.debug = kvm_debug,
.inb = kvm_inb,
@@ -535,7 +530,9 @@ static struct kvm_callbacks qemu_kvm_ops = {
.try_push_interrupts = try_push_interrupts,
.post_kvm_run = post_kvm_run,
.pre_kvm_run = pre_kvm_run,
+#ifdef TARGET_I386
.tpr_access = handle_tpr_access,
+#endif
};
int kvm_qemu_init()
diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h
index ca3132a..e4aeb3a 100644
--- a/qemu/qemu-kvm.h
+++ b/qemu/qemu-kvm.h
@@ -45,6 +45,8 @@ extern int kvm_irqchip;
void kvm_tpr_opt_setup(CPUState *env);
void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write);
+int handle_tpr_access(void *opaque, int vcpu,
+ uint64_t rip, int is_write);
#define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
#define BITMAP_SIZE(m) (ALIGN(((m)>>TARGET_PAGE_BITS), HOST_LONG_BITS) / 8)
--
1.5.2
[-- Attachment #3: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #4: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
^ permalink raw reply related [flat|nested] 5+ messages in thread[parent not found: <42DFA526FC41B1429CE7279EF83C6BDCBB7F87-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] Moving tpr-patch routine to x86 arch. [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCBB7F87-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2008-01-06 9:17 ` Avi Kivity [not found] ` <47809CB3.2000503-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Avi Kivity @ 2008-01-06 9:17 UTC (permalink / raw) To: Zhang, Xiantao; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Zhang, Xiantao wrote: > From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > Date: Sat, 5 Jan 2008 20:20:14 +0800 > Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to qemu-kvm-x86.c > > Since tpr patching routine only needed in x86 side, moving it > qemu-kvm-arch. > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <47809CB3.2000503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH] Moving tpr-patch routine to x86 arch. [not found] ` <47809CB3.2000503-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2008-01-06 9:56 ` Avi Kivity [not found] ` <4780A5EB.3080308-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Avi Kivity @ 2008-01-06 9:56 UTC (permalink / raw) To: Zhang, Xiantao; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Avi Kivity wrote: > Zhang, Xiantao wrote: >> From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> >> Date: Sat, 5 Jan 2008 20:20:14 +0800 >> Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to qemu-kvm-x86.c >> >> Since tpr patching routine only needed in x86 side, moving it >> qemu-kvm-arch. >> > > Applied, thanks. > It broke x86 build, so I unapplied it. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <4780A5EB.3080308-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH] Moving tpr-patch routine to x86 arch. [not found] ` <4780A5EB.3080308-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2008-01-06 10:24 ` Zhang, Xiantao [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCBB7FC3-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Zhang, Xiantao @ 2008-01-06 10:24 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1: Type: text/plain, Size: 3917 bytes --] Avi Kivity wrote: > Avi Kivity wrote: >> Zhang, Xiantao wrote: >>> From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> >>> Date: Sat, 5 Jan 2008 20:20:14 +0800 >>> Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to >>> qemu-kvm-x86.c >>> >>> Since tpr patching routine only needed in x86 side, moving it >>> qemu-kvm-arch. >>> >> >> Applied, thanks. >> > > It broke x86 build, so I unapplied it. Please use the new one:) From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Date: Sun, 6 Jan 2008 18:14:56 +0800 Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to qemu-kvm-x86.c Since tpr patching routine only needed in x86 side, moving it qemu-kvm-arch. Signed-off-by: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> --- qemu/Makefile.target | 6 +++--- qemu/qemu-kvm-x86.c | 8 ++++++++ qemu/qemu-kvm.c | 11 ++++------- qemu/qemu-kvm.h | 2 ++ 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/qemu/Makefile.target b/qemu/Makefile.target index 289cd18..bb7be0f 100644 --- a/qemu/Makefile.target +++ b/qemu/Makefile.target @@ -299,7 +299,7 @@ OBJS+= libqemu.a # cpu emulator library LIBOBJS=exec.o kqemu.o qemu-kvm.o translate-op.o translate-all.o cpu-exec.o\ - translate.o op.o host-utils.o qemu-kvm-helper.o kvm-tpr-opt.o + translate.o op.o host-utils.o qemu-kvm-helper.o ifdef CONFIG_SOFTFLOAT LIBOBJS+=fpu/softfloat.o else @@ -309,12 +309,12 @@ CPPFLAGS+=-I$(SRC_PATH)/fpu ifeq ($(TARGET_ARCH), i386) LIBOBJS+=helper.o helper2.o -LIBOBJS+=qemu-kvm-x86.o +LIBOBJS+=qemu-kvm-x86.o kvm-tpr-opt.o endif ifeq ($(TARGET_ARCH), x86_64) LIBOBJS+=helper.o helper2.o -LIBOBJS+=qemu-kvm-x86.o +LIBOBJS+=qemu-kvm-x86.o kvm-tpr-opt.o endif ifeq ($(TARGET_BASE_ARCH), ppc) diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c index d86fec3..c79ca36 100644 --- a/qemu/qemu-kvm-x86.c +++ b/qemu/qemu-kvm-x86.c @@ -625,4 +625,12 @@ void kvm_arch_update_regs_for_sipi(CPUState *env) env->eip = 0; kvm_arch_load_regs(env); } + +int handle_tpr_access(void *opaque, int vcpu, + uint64_t rip, int is_write) +{ + kvm_tpr_access_report(cpu_single_env, rip, is_write); + return 0; +} + #endif diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index 9aee903..8e1ba7a 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -327,7 +327,9 @@ static int kvm_main_loop_cpu(CPUState *env) env->ready_for_interrupt_injection = 1; cpu_single_env = env; +#ifdef TARGET_I386 kvm_tpr_opt_setup(env); +#endif while (1) { while (!has_work(env)) kvm_main_loop_wait(env, 10); @@ -512,13 +514,6 @@ static int kvm_shutdown(void *opaque, int vcpu) return 1; } -static int handle_tpr_access(void *opaque, int vcpu, - uint64_t rip, int is_write) -{ - kvm_tpr_access_report(cpu_single_env, rip, is_write); - return 0; -} - static struct kvm_callbacks qemu_kvm_ops = { .debug = kvm_debug, .inb = kvm_inb, @@ -535,7 +530,9 @@ static struct kvm_callbacks qemu_kvm_ops = { .try_push_interrupts = try_push_interrupts, .post_kvm_run = post_kvm_run, .pre_kvm_run = pre_kvm_run, +#ifdef TARGET_I386 .tpr_access = handle_tpr_access, +#endif }; int kvm_qemu_init() diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h index ca3132a..e4aeb3a 100644 --- a/qemu/qemu-kvm.h +++ b/qemu/qemu-kvm.h @@ -45,6 +45,8 @@ extern int kvm_irqchip; void kvm_tpr_opt_setup(CPUState *env); void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write); +int handle_tpr_access(void *opaque, int vcpu, + uint64_t rip, int is_write); #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1)) #define BITMAP_SIZE(m) (ALIGN(((m)>>TARGET_PAGE_BITS), HOST_LONG_BITS) / 8) -- 1.5.2 [-- Attachment #2: 0001-kvm-qemu-Moving-tpr-patch-routine-to-qemu-kvm-x86.patch --] [-- Type: application/octet-stream, Size: 3337 bytes --] From a256565ae379df5dbbcaae5274015e001ffeacd1 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <xiantao.zhang@intel.com> Date: Sun, 6 Jan 2008 18:14:56 +0800 Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to qemu-kvm-x86.c Since tpr patching routine only needed in x86 side, moving it qemu-kvm-arch. Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> --- qemu/Makefile.target | 6 +++--- qemu/qemu-kvm-x86.c | 8 ++++++++ qemu/qemu-kvm.c | 11 ++++------- qemu/qemu-kvm.h | 2 ++ 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/qemu/Makefile.target b/qemu/Makefile.target index 289cd18..bb7be0f 100644 --- a/qemu/Makefile.target +++ b/qemu/Makefile.target @@ -299,7 +299,7 @@ OBJS+= libqemu.a # cpu emulator library LIBOBJS=exec.o kqemu.o qemu-kvm.o translate-op.o translate-all.o cpu-exec.o\ - translate.o op.o host-utils.o qemu-kvm-helper.o kvm-tpr-opt.o + translate.o op.o host-utils.o qemu-kvm-helper.o ifdef CONFIG_SOFTFLOAT LIBOBJS+=fpu/softfloat.o else @@ -309,12 +309,12 @@ CPPFLAGS+=-I$(SRC_PATH)/fpu ifeq ($(TARGET_ARCH), i386) LIBOBJS+=helper.o helper2.o -LIBOBJS+=qemu-kvm-x86.o +LIBOBJS+=qemu-kvm-x86.o kvm-tpr-opt.o endif ifeq ($(TARGET_ARCH), x86_64) LIBOBJS+=helper.o helper2.o -LIBOBJS+=qemu-kvm-x86.o +LIBOBJS+=qemu-kvm-x86.o kvm-tpr-opt.o endif ifeq ($(TARGET_BASE_ARCH), ppc) diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c index d86fec3..c79ca36 100644 --- a/qemu/qemu-kvm-x86.c +++ b/qemu/qemu-kvm-x86.c @@ -625,4 +625,12 @@ void kvm_arch_update_regs_for_sipi(CPUState *env) env->eip = 0; kvm_arch_load_regs(env); } + +int handle_tpr_access(void *opaque, int vcpu, + uint64_t rip, int is_write) +{ + kvm_tpr_access_report(cpu_single_env, rip, is_write); + return 0; +} + #endif diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index 9aee903..8e1ba7a 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -327,7 +327,9 @@ static int kvm_main_loop_cpu(CPUState *env) env->ready_for_interrupt_injection = 1; cpu_single_env = env; +#ifdef TARGET_I386 kvm_tpr_opt_setup(env); +#endif while (1) { while (!has_work(env)) kvm_main_loop_wait(env, 10); @@ -512,13 +514,6 @@ static int kvm_shutdown(void *opaque, int vcpu) return 1; } -static int handle_tpr_access(void *opaque, int vcpu, - uint64_t rip, int is_write) -{ - kvm_tpr_access_report(cpu_single_env, rip, is_write); - return 0; -} - static struct kvm_callbacks qemu_kvm_ops = { .debug = kvm_debug, .inb = kvm_inb, @@ -535,7 +530,9 @@ static struct kvm_callbacks qemu_kvm_ops = { .try_push_interrupts = try_push_interrupts, .post_kvm_run = post_kvm_run, .pre_kvm_run = pre_kvm_run, +#ifdef TARGET_I386 .tpr_access = handle_tpr_access, +#endif }; int kvm_qemu_init() diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h index ca3132a..e4aeb3a 100644 --- a/qemu/qemu-kvm.h +++ b/qemu/qemu-kvm.h @@ -45,6 +45,8 @@ extern int kvm_irqchip; void kvm_tpr_opt_setup(CPUState *env); void kvm_tpr_access_report(CPUState *env, uint64_t rip, int is_write); +int handle_tpr_access(void *opaque, int vcpu, + uint64_t rip, int is_write); #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1)) #define BITMAP_SIZE(m) (ALIGN(((m)>>TARGET_PAGE_BITS), HOST_LONG_BITS) / 8) -- 1.5.2 [-- Attachment #3: Type: text/plain, Size: 228 bytes --] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [-- Attachment #4: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <42DFA526FC41B1429CE7279EF83C6BDCBB7FC3-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] Moving tpr-patch routine to x86 arch. [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCBB7FC3-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2008-01-07 8:44 ` Avi Kivity 0 siblings, 0 replies; 5+ messages in thread From: Avi Kivity @ 2008-01-07 8:44 UTC (permalink / raw) To: Zhang, Xiantao; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Zhang, Xiantao wrote: > Avi Kivity wrote: > >> Avi Kivity wrote: >> >>> Zhang, Xiantao wrote: >>> >>>> From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> >>>> Date: Sat, 5 Jan 2008 20:20:14 +0800 >>>> Subject: [PATCH] kvm: qemu: Moving tpr-patch routine to >>>> qemu-kvm-x86.c >>>> >>>> Since tpr patching routine only needed in x86 side, moving it >>>> qemu-kvm-arch. >>>> >>>> >>> Applied, thanks. >>> >>> >> It broke x86 build, so I unapplied it. >> > > Please use the new one:) > > Thanks, applied. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-07 8:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-05 12:31 [PATCH] Moving tpr-patch routine to x86 arch Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCBB7F87-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2008-01-06 9:17 ` Avi Kivity
[not found] ` <47809CB3.2000503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-06 9:56 ` Avi Kivity
[not found] ` <4780A5EB.3080308-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-06 10:24 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCBB7FC3-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2008-01-07 8:44 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox