From: Jamie Lokier <jamie@shareable.org>
To: Mulyadi Santosa <mulyadi.santosa@gmail.com>
Cc: Gerhard Wiesinger <lists@wiesinger.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Problem with QEMU on KVM
Date: Mon, 12 Apr 2010 13:07:39 +0100 [thread overview]
Message-ID: <20100412120739.GC18075@shareable.org> (raw)
In-Reply-To: <o2uf284c33d1004120216za6ec44d3o11cd69dd3f1f2942@mail.gmail.com>
Mulyadi Santosa wrote:
> Hi Gerhard...
>
> On Sun, Apr 11, 2010 at 20:52, Gerhard Wiesinger <lists@wiesinger.com> wrote:
> > OK, uses the following ports:
> > Port 0x20: 8259 interrupt controller
> > Port 0x40: 8253 timer
> >
> > Interrupt 0x1A:
> > ah=0x00: fetches system timer counters
> > ah=0x02: reads the clock
> > ah=0x04: fetches date
> >
> > So there must be something wrong with KVM with the above functionality (I
> > guess the timers).
>
> Hmm, my silly guess is, maybe the timer is seen as decremented....or
> at least "stuck".
>
> I have very little knowledge about git, but maybe you can start doing
> git bisect to narrow which git commit that introduce such behaviour.
> Meanwhile, let's wait for comments from one of the KVM developers.
There are various -no-kvm-XXX options to try:
-no-kvm-irqchip disable KVM kernel mode PIC/IOAPIC/LAPIC
-no-kvm-pit disable KVM kernel mode PIT
-no-kvm-pit-reinjection disable KVM kernel mode PIT interrupt reinjection
Any of them might be causing this problem.
They disable in-kernel emulation of the interrupt controller and timer
chips, and force the qemu version to be used. It's possible the
in-kernel emulation is buggier than the qemu version.
-- Jamie
next prev parent reply other threads:[~2010-04-12 12:07 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-10 20:09 [Qemu-devel] Problem with QEMU on KVM Gerhard Wiesinger
2010-04-11 10:19 ` Mulyadi Santosa
2010-04-11 13:52 ` Gerhard Wiesinger
2010-04-12 9:16 ` Mulyadi Santosa
2010-04-12 12:07 ` Jamie Lokier [this message]
2010-04-13 0:28 ` Mulyadi Santosa
2010-04-13 16:32 ` [Qemu-devel] " Jan Kiszka
2010-04-19 6:45 ` Gerhard Wiesinger
2010-04-19 10:39 ` Jan Kiszka
2010-04-13 19:38 ` [Qemu-devel] " Gerhard Wiesinger
2010-04-19 18:37 ` Gerhard Wiesinger
2010-04-21 0:36 ` Jamie Lokier
2010-04-21 18:20 ` Gerhard Wiesinger
2010-04-22 10:47 ` Gerd Hoffmann
2010-04-23 19:50 ` Gerhard Wiesinger
2010-04-24 6:58 ` Gerhard Wiesinger
2010-05-04 5:09 ` Gerhard Wiesinger
2010-05-04 13:32 ` Anthony Liguori
2010-05-04 21:30 ` [Qemu-devel] Problem with QEMU / KVM K D
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=20100412120739.GC18075@shareable.org \
--to=jamie@shareable.org \
--cc=lists@wiesinger.com \
--cc=mulyadi.santosa@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).