From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Li, Xin B" <xin.b.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: SMP guest boots
Date: Wed, 13 Jun 2007 19:25:35 +0300 [thread overview]
Message-ID: <46701A7F.1090800@qumranet.com> (raw)
In-Reply-To: <B30DA1341B0CFA4893EF8A36B40B5C5D01433C79-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
Li, Xin B wrote:
> I've just got x86_64 Linux 2.6.20.3 SMP guest boots on KVM with 2 vCPUs
> (I'm using a x86_64 RHEL5 image but the RHEL5 kernel can't boot.),
>
I found that an issue with x86-64 is that the mmu picks up an nx shadow
page for a non-nx guest pte. This is unrelated to smp, but only shows
up there. It is easily fixed but meanwhile a workaround is to disable
nx in cpuid.
I have a patch for userspace which does the following:
- set up a kvm main loop outside vl.c and cpu-exec.c.
- disable signals on ap threads, so that timer and network signals are
only handled on vcpu 0
- set up locking so that qemu code is never executed on more than one thread
- hack qemu's apic so it can sipi and ipi other vcpus
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-06-13 16:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-13 9:17 SMP guest boots Li, Xin B
[not found] ` <B30DA1341B0CFA4893EF8A36B40B5C5D01433C79-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-13 11:26 ` Gregory Haskins
[not found] ` <1181734005.26394.18.camel-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
2007-06-13 12:53 ` Li, Xin B
[not found] ` <B30DA1341B0CFA4893EF8A36B40B5C5D01433CD2-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-13 13:03 ` Gregory Haskins
2007-06-13 16:25 ` Avi Kivity [this message]
[not found] ` <46701A7F.1090800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-14 1:52 ` Li, Xin B
[not found] ` <B30DA1341B0CFA4893EF8A36B40B5C5D01433E81-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-14 8:30 ` 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=46701A7F.1090800@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=xin.b.li-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