qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Andre Przywara <andre.przywara@amd.com>
Cc: avi@redhat.com, aurelien@aurel32.net, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] resent: x86/cpuid: Add kvm32 CPU model
Date: Tue, 01 Jun 2010 13:28:45 -0500	[thread overview]
Message-ID: <4C05515D.70102@codemonkey.ws> (raw)
In-Reply-To: <1274428251-10836-1-git-send-email-andre.przywara@amd.com>

On 05/21/2010 02:50 AM, Andre Przywara wrote:
> Create a kvm32 CPU model that describes a least common denominator
> for KVM capable guest CPUs. Useful for migration purposes.
>
> Signed-off-by: Andre Przywara<andre.przywara@amd.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> ---
>   target-i386/cpuid.c |   14 ++++++++++++++
>   1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c
> index a80baa4..76b897d 100644
> --- a/target-i386/cpuid.c
> +++ b/target-i386/cpuid.c
> @@ -363,6 +363,20 @@ static x86_def_t builtin_x86_defs[] = {
>           .model_id = "QEMU Virtual CPU version " QEMU_VERSION,
>       },
>       {
> +        .name = "kvm32",
> +        .level = 5,
> +        .family = 15,
> +        .model = 6,
> +        .stepping = 1,
> +        .features = PPRO_FEATURES |
> +            CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA | CPUID_PSE36,
> +        .ext_features = CPUID_EXT_SSE3,
> +        .ext2_features = PPRO_FEATURES&  EXT2_FEATURE_MASK,
> +        .ext3_features = 0,
> +        .xlevel = 0x80000008,
> +        .model_id = "Common 32-bit KVM processor"
> +    },
> +    {
>           .name = "coreduo",
>           .level = 10,
>           .family = 6,
>    

      reply	other threads:[~2010-06-01 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  7:50 [Qemu-devel] [PATCH] resent: x86/cpuid: Add kvm32 CPU model Andre Przywara
2010-06-01 18:28 ` Anthony Liguori [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=4C05515D.70102@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=andre.przywara@amd.com \
    --cc=aurelien@aurel32.net \
    --cc=avi@redhat.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).