From: Gleb Natapov <gleb@redhat.com>
To: avi@redhat.com
Cc: kvm@vger.kernel.org
Subject: [PATCH] don't call kvm_init_vcpu() twice
Date: Mon, 9 Feb 2009 14:24:00 +0200 [thread overview]
Message-ID: <20090209122400.GC28969@redhat.com> (raw)
kvm_init_vcpu() is called from pc_new_cpu()
Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c
index b998225..7ec9161 100644
--- a/qemu/hw/acpi.c
+++ b/qemu/hw/acpi.c
@@ -779,9 +779,6 @@ void qemu_system_cpu_hot_add(int cpu, int state)
fprintf(stderr, "cpu %d creation failed\n", cpu);
return;
}
-#ifdef USE_KVM
- kvm_init_vcpu(env);
-#endif
}
qemu_set_irq(pm_state->irq, 1);
--
Gleb.
next reply other threads:[~2009-02-09 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 12:24 Gleb Natapov [this message]
2009-02-09 13:45 ` [PATCH] don't call kvm_init_vcpu() twice Avi Kivity
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=20090209122400.GC28969@redhat.com \
--to=gleb@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 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.