qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Ed Swierk" <eswierk@gmail.com>
To: qemu-devel@nongnu.org
Cc: Andre Pech <andre.pech@gmail.com>
Subject: Re: [Qemu-devel] kqemu version 1.3.0pre5
Date: Tue, 28 Mar 2006 11:38:20 -0800	[thread overview]
Message-ID: <c1bf1cf0603281138u220d3329u9f17c59bfa405935@mail.gmail.com> (raw)
In-Reply-To: <20060328184037.GJ8186@suse.de>

On 3/28/06, Jens Axboe <qemu@kernel.dk> wrote:
> > monitor/mwait feature present.
> > using mwait in idle threads.
>
> [snip]
>
> > invalid operand: 0000 [#1]
> > Modules linked in:
> > CPU:    0
> > EIP:    0060:[<c0101147>]    Not tainted VLI
> > EFLAGS: 00010246   (2.6.14-1.1656_FC4)
> > EIP is at mwait_idle+0x2f/0x41
>
> I don't think qemu supports PNI, which includes the monitor/mwait
> additions. I wonder why Linux detects that. You can probably get around
> it for now by either passing idle=poll as a boot parameter, or compile
> your kernel for plain i586 for instance.

It seems that with -kernel-kqemu, the guest kernel is seeing the CPUID
of the host machine rather than the one normally generated by qemu.

The workarounds you suggest do work--thanks for your help. However,
ideally kqemu would trap the CPUID instruction and mask the feature
bits for unsupported CPU features.

--Ed

  reply	other threads:[~2006-03-28 19:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27 21:30 [Qemu-devel] kqemu version 1.3.0pre5 Fabrice Bellard
2006-03-28  6:21 ` Pascal Terjan
2006-03-28  8:26 ` Brad Campbell
2006-03-28 16:00   ` sofar
2006-03-28 11:34 ` Kazu
2006-03-28 11:50   ` Brad Campbell
2006-03-28 12:04     ` Marco Matthies
2006-03-28 12:27       ` andrzej zaborowski
2006-03-28 12:33         ` Paul Brook
2006-03-28 12:54           ` Bruno Abinader
2006-03-28 12:57           ` Brad Campbell
2006-03-28 12:59         ` Jernej Simončič
2006-03-28 15:40     ` Kazu
2006-03-28 18:19 ` Ed Swierk
2006-03-28 18:39   ` Brad Campbell
2006-03-28 18:40   ` Jens Axboe
2006-03-28 19:38     ` Ed Swierk [this message]
2006-03-28 21:12       ` Fabrice Bellard
2006-03-29 15:38         ` [Qemu-devel][PATCH] add PNI user instructions Joachim Henke
2006-03-31  7:23 ` [Qemu-devel] kqemu version 1.3.0pre5 Christian MICHON
2006-03-31  7:42   ` denis.scheidt
2006-04-05 19:25 ` [Qemu-devel] qemu-0.8.0 and vde-1.5.9 question Ishwar Rattan
2006-04-05 20:15   ` Bakul Shah
2006-04-09 16:45   ` Jim C. Brown

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=c1bf1cf0603281138u220d3329u9f17c59bfa405935@mail.gmail.com \
    --to=eswierk@gmail.com \
    --cc=andre.pech@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).