qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Alexander Graf <agraf@suse.de>
Cc: Andre Przywara <andre.przywara@amd.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] omit 3DNOW! CPUID bits from qemu64 CPU model
Date: Thu, 16 Jul 2009 17:36:02 +0100	[thread overview]
Message-ID: <20090716163602.GH16461@shareable.org> (raw)
In-Reply-To: <F4B7F692-9D21-427B-9924-69EDD6BBCCD2@suse.de>

Alexander Graf wrote:
> >safe32 => common between KVM and TCG, 32-bit
> >safe64 => common between KVM and TCG, 64-bit
> 
> Yeah. Maybe only "safe" and always assume x86_64? But then comes  
> Intel ... sigh.

Why x86_64?  Some of use run KVM on 32-bit host CPUs.
They're not antiques yet :-)

-- Jamie

> >>That would also make it easier to know where to put other fancy
> >>features like "SVM" :-)
> >
> >Can't we use SVM emulation with TCG and KVM both?
> 
> We can use SVM emulation with TCG and KVM on SVM.

Yay!  Oh, wait, I have VMX instead :-/

> We can't on KVM with VMX and Xen HVM. For KVM it's fine though,
> because the feature gets masked out if it's not supported.

Ok.  I'm a bit surprised SVM isn't just easy to emulate on VMX, if
it's done by emulating instructions and state transitions.  Is SVM
particularly good for nesting so that you don't need much emulation
code in KVM's in-kernel minimal emulator?

I'm biased as I was hoping to run nested KVMs on my VMX 32-bit Intel :-D

> Still, SVM isn't migratable on KVM atm, so let's better disable it for  
> "safe".

I agree, non-migratable things should be disabled for "safe".

Is it because there's hidden state, or simply unimplemented save/load code?

-- Jamie

  reply	other threads:[~2009-07-16 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 12:49 [Qemu-devel] [PATCH] omit 3DNOW! CPUID bits from qemu64 CPU model Andre Przywara
2009-07-16 13:38 ` Alexander Graf
2009-07-16 16:01   ` Jamie Lokier
2009-07-16 16:08     ` Alexander Graf
2009-07-16 16:36       ` Jamie Lokier [this message]
2009-07-16 16:50         ` Alexander Graf
2009-07-16 21:09   ` Andre Przywara

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=20090716163602.GH16461@shareable.org \
    --to=jamie@shareable.org \
    --cc=agraf@suse.de \
    --cc=andre.przywara@amd.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).