qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Benoît Canet" <benoit.canet@irqsave.net>
To: Gleb Natapov <gleb@redhat.com>
Cc: "Benoît Canet" <benoit.canet@irqsave.net>,
	pbonzini@redhat.com, qemu-devel@nongnu.org,
	"Eduardo Habkost" <ehabkost@redhat.com>
Subject: Re: [Qemu-devel] KVM guest cpu L3 cache and cpufreq
Date: Mon, 26 Aug 2013 18:45:27 +0200	[thread overview]
Message-ID: <20130826164526.GB5418@irqsave.net> (raw)
In-Reply-To: <20130826143320.GA22899@redhat.com>

> Talk to Eduardo since this is related to cpuid configuration and he is
> an expert.

I found the following in target-i386/cpu.c

    case 0x80000006:
        /* cache info (L2 cache) */
        *eax = 0;
        *ebx = 0x42004200;
        *ecx = 0x02008140;
        *edx = 0;
        break;

>From the AMD cpuid book it look like the L3 settings are not defined (edx).

Eduardo: A user I know want to be able to set the size of the guest L3 cache.
I am ok to write a patch to do so.

Do you have some recommandations regarding the other fields of the edx register ?
What would be an acceptable user interface to set this ?

Best regards

Benoît

  reply	other threads:[~2013-08-26 16:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 18:17 [Qemu-devel] KVM guest cpu L3 cache and cpufreq Benoît Canet
2013-08-26 12:40 ` Gleb Natapov
2013-08-26 12:49   ` Benoît Canet
2013-08-26 14:33     ` Gleb Natapov
2013-08-26 16:45       ` Benoît Canet [this message]
2013-08-26 20:47         ` Eduardo Habkost
2013-08-27 13:18           ` Benoît Canet
2013-08-27 13:17             ` Gleb Natapov
2013-08-27 13:20               ` Gleb Natapov
2013-08-27 13:35                 ` Benoît Canet
2013-08-27 13:39                   ` Gleb Natapov
2013-08-27 13:37             ` Eduardo Habkost

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=20130826164526.GB5418@irqsave.net \
    --to=benoit.canet@irqsave.net \
    --cc=ehabkost@redhat.com \
    --cc=gleb@redhat.com \
    --cc=pbonzini@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).