public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Glauber Costa <glommer@redhat.com>
To: kvm@vger.kernel.org
Cc: avi@redhat.com
Subject: [PATCH 1/4] remove duplicated code.
Date: Tue, 26 May 2009 17:32:58 -0400	[thread overview]
Message-ID: <1243373581-18085-2-git-send-email-glommer@redhat.com> (raw)
In-Reply-To: <1243373581-18085-1-git-send-email-glommer@redhat.com>

This is a leftover from old days. There is already a call
from this function in kvm_main_loop_cpu(), which is called
unconditionally on the end of ap_main_loop. No need to duplicate.

Signed-off-by: Glauber Costa <glommer@redhat.com>
---
 qemu-kvm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/qemu-kvm.c b/qemu-kvm.c
index fd957d9..d16917f 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -433,7 +433,6 @@ static void *ap_main_loop(void *_env)
     sigfillset(&signals);
     sigprocmask(SIG_BLOCK, &signals, NULL);
     kvm_create_vcpu(kvm_context, env->cpu_index);
-    kvm_qemu_init_env(env);
 
 #ifdef USE_KVM_DEVICE_ASSIGNMENT
     /* do ioperm for io ports of assigned devices */
-- 
1.5.6.6


  reply	other threads:[~2009-05-26 21:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 21:32 [PATCH 0/4] Fix cpu hotplug - currently broken Glauber Costa
2009-05-26 21:32 ` Glauber Costa [this message]
2009-05-26 21:32   ` [PATCH 2/4] only execute lapic load when cpu is already initialized Glauber Costa
2009-05-26 21:33     ` [PATCH 3/4] move kvm_trim_features where it belongs Glauber Costa
2009-05-26 21:33       ` [PATCH 4/4] make sure kvm_vpu_init is the last thing called in cpu initialization Glauber Costa
2009-05-31  9:40 ` [PATCH 0/4] Fix cpu hotplug - currently broken Avi Kivity
2009-05-31 13:30   ` Glauber Costa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243373581-18085-2-git-send-email-glommer@redhat.com \
    --to=glommer@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox