All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-kvm: Drop kvm optimization from code_gen_alloc
@ 2011-09-28 14:50 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2011-09-28 14:50 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: kvm

We no longer get here if KVM is enabled.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 exec.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/exec.c b/exec.c
index f188549..83ffa39 100644
--- a/exec.c
+++ b/exec.c
@@ -470,9 +470,6 @@ static uint8_t static_code_gen_buffer[DEFAULT_CODE_GEN_BUFFER_SIZE]
 
 static void code_gen_alloc(unsigned long tb_size)
 {
-    if (kvm_enabled())
-        return;
-
 #ifdef USE_STATIC_CODE_GEN_BUFFER
     code_gen_buffer = static_code_gen_buffer;
     code_gen_buffer_size = DEFAULT_CODE_GEN_BUFFER_SIZE;
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-28 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28 14:50 [PATCH] qemu-kvm: Drop kvm optimization from code_gen_alloc Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.