From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Zhao, Yunfeng" <yunfeng.zhao-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: kvm-45 problems
Date: Wed, 10 Oct 2007 12:58:18 +0200 [thread overview]
Message-ID: <470CB04A.2010303@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A02125F5A-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
Zhao, Yunfeng wrote:
> This fix cannot resolve this issue.
> Against latest kvm commits, SMP linux with 4 vcpus still cannot boot up.
> But the issue will not happen , if adding "-smp4 -no-acpi".
>
Can you try the attached patch?
--
error compiling committee.c: too many arguments to function
[-- Attachment #2: remote-flush-test.patch --]
[-- Type: text/x-patch, Size: 574 bytes --]
diff --git a/kernel/kvm_main.c b/kernel/kvm_main.c
index 0b2894a..61d931e 100644
--- a/kernel/kvm_main.c
+++ b/kernel/kvm_main.c
@@ -235,11 +235,7 @@ void kvm_flush_remote_tlbs(struct kvm *kvm)
* to complete.
*/
for (cpu = first_cpu(cpus); cpu != NR_CPUS; cpu = next_cpu(cpu, cpus))
- smp_call_function_single(cpu, ack_flush, &completed, 1, 0);
- while (atomic_read(&completed) != needed) {
- cpu_relax();
- barrier();
- }
+ smp_call_function_single(cpu, ack_flush, &completed, 1, 1);
}
int kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id)
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
[-- 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
next prev parent reply other threads:[~2007-10-10 10:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 15:36 kvm-45 problems Farkas Levente
[not found] ` <47065A1A.9070607-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-08 23:55 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A014E8AFF-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-09 6:45 ` Farkas Levente
[not found] ` <470B2381.7080302-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-09 7:30 ` Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F53-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-09 9:50 ` Avi Kivity
[not found] ` <470B4ED5.4060607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-09 9:52 ` Farkas Levente
[not found] ` <470B4F6B.6030900-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-09 9:54 ` Avi Kivity
[not found] ` <470B4FCF.9070703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-09 9:56 ` Farkas Levente
[not found] ` <470B506B.8090905-lWVWdrzSO4GHXe+LvDLADg@public.gmane.org>
2007-10-09 9:57 ` Avi Kivity
2007-10-09 10:18 ` Avi Kivity
[not found] ` <470B557A.9030602-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-09 11:00 ` Zhao, Yunfeng
2007-10-10 2:47 ` Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F5A-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-10 10:58 ` Avi Kivity [this message]
[not found] ` <470CB04A.2010303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 11:23 ` Laurent Vivier
2007-10-12 2:53 ` Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02125F6D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-10-12 6:05 ` 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=470CB04A.2010303@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=yunfeng.zhao-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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