Skip to contentSkip to conversation

qemu-kvm: Drop kvm optimization from code_gen_alloc

PATCH New Jan Kiszka 1 participant 1 message Sep 28, 2011 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 qemu-kvm: Drop kvm optimization from code_gen_alloc

We no longer get here if KVM is enabled.

---
 exec.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
exec.c +0 -3
index f188549..83ffa39 100644
@@ -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;
Signature · 1 line
1.7.3.4