public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 77271] CPUID Leaf 0x40000000 return 0 in eax
Date: Tue, 03 Jun 2014 20:44:52 +0000	[thread overview]
Message-ID: <bug-77271-28872-DvQdJ6d1iF@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-77271-28872@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=77271

Alex Williamson <alex.williamson@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.williamson@redhat.com

--- Comment #1 from Alex Williamson <alex.williamson@redhat.com> ---
Further up in cpuid.txt is the statement:

"This is not always guaranteed to work, since userspace can
mask-out some, or even all KVM-related cpuid features before launching
a guest."

Which is exactly what is happening here.  QEMU sets eax = 0 for this leaf:

target-i386/kvm.c
    memcpy(signature, "KVMKVMKVM\0\0\0", 12);
    c = &cpuid_data.entries[cpuid_i++];
    c->function = KVM_CPUID_SIGNATURE | kvm_base;
    c->eax = 0;
    c->ebx = signature[0];
    c->ecx = signature[1];
    c->edx = signature[2];

So I don't think there's a bug here.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

  reply	other threads:[~2014-06-03 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03 19:48 [Bug 77271] New: CPUID Leaf 0x40000000 return 0 in eax bugzilla-daemon
2014-06-03 20:44 ` bugzilla-daemon [this message]
2014-06-04  0:28 ` [Bug 77271] " bugzilla-daemon
2014-06-04  0:36 ` bugzilla-daemon
2014-06-04  1:11 ` bugzilla-daemon

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=bug-77271-28872-DvQdJ6d1iF@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.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