From: Jan Kiszka <jan.kiszka@siemens.com>
To: Simon <verucasaltuk@hotmail.co.uk>
Cc: kvm@vger.kernel.org
Subject: Re: Possible APIC conflict with 2.6.38.8 Kernel
Date: Tue, 07 Feb 2012 17:14:26 +0100 [thread overview]
Message-ID: <4F314DE2.7040608@siemens.com> (raw)
In-Reply-To: <loom.20120207T161020-496@post.gmane.org>
On 2012-02-07 16:25, Simon wrote:
> We're building a virtual windows 7 x64 model on top of a custom Linux OS.
> We're currently using 2.6.38.8 kernel.
> I was rather attracted to the new kvm-apic/qemu-kvm merge you've currently
> made available, as this may hold the answer to a stubborn problem;
> every time we load or attempt to create a windows 7 image while
> our RTAI(real time) base is running, at an early stage of loading
> windows the real time breaks and stops dead.
>
> We suspect this is due to APIC conflicts between RTAI and Qemu-kvm.
>
> I've read with interest your internal debate on making kvm-apic options
> available, and I wonder if these now exist and if so, what they are
> (the online help may not have kept pace).
> Note that these are 64-bit OS's. With older kernels and 0.13.0
> with 32 bit XP, we didn't have this problem.
That's Russian roulette. You can't simply use KVM (or any other
virtualization subsystem) on an I-pipe-patched host kernel. See [1] for
the requirements on I-pipe (will be contained a bit differently in
upcoming 3.x patches for x86) and [2] for the real-time extension on
top. We implemented it for Xenomai, but RTAI should be patchable as well
- in principle.
Note that there is potentially a FPU-related guest corruption with these
patches remaining, but I wasn't able to reproduce it yet. May depend on
host CPU features.
Just to clarify: this is not really a topic of KVM or upstream Linux -
or even QEMU. The I-pipe patch changes the semantics of low-level
interrupt masking in Linux and opens new context switching points. Thus,
it is responsible for making the KVM subsystem aware of this and for
coordination with the real-time extension.
Jan
[1] http://thread.gmane.org/gmane.linux.kernel.adeos.general/1898
[2]
http://git.xenomai.org/?p=xenomai-2.6.git;a=commitdiff;h=35505fe10c0dae3d1eab8a409b978d338b84b89e
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
prev parent reply other threads:[~2012-02-07 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 15:25 Possible APIC conflict with 2.6.38.8 Kernel Simon
2012-02-07 16:14 ` Jan Kiszka [this message]
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=4F314DE2.7040608@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=verucasaltuk@hotmail.co.uk \
/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.