mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Yinghai Lu" <yhlu.kernel@gmail.com>
To: "Avi Kivity" <avi@qumranet.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: kvm: no hardware support
Date: Sun, 10 Feb 2008 22:42:14 -0800	[thread overview]
Message-ID: <86802c440802102242g2d871a1bwea088eda86be5c9@mail.gmail.com> (raw)

I enable vmx and svm option for KVM in .config

on amd SVM enable system

vmx get tried at first

and get
kvm: no hardware support

Calling initcall 0xffffffff80c2d465: vmx_init+0x0/0x119()
kvm: no hardware support
initcall 0xffffffff80c2d465: vmx_init+0x0/0x119() returned -95.
initcall 0xffffffff80c2d465 ran for 2 msecs: vmx_init+0x0/0x119()
initcall at 0xffffffff80c2d465: vmx_init+0x0/0x119(): returned with
error code -95

Calling initcall 0xffffffff80c2d57e: svm_init+0x0/0x13()
initcall 0xffffffff80c2d57e: svm_init+0x0/0x13() returned 0.
initcall 0xffffffff80c2d57e ran for 0 msecs: svm_init+0x0/0x13()

suggest you add .name in ops like "vmx" or "svm"

and that message can become
kvm: no hardware support for vmx
or
kvm: no hardware support for svm

or just remove that line.
        }

        if (!ops->cpu_has_kvm_support()) {
-                printk(KERN_ERR "kvm: no hardware support\n");
                r = -EOPNOTSUPP;
                goto out;
        }


YH

                 reply	other threads:[~2008-02-11  6:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=86802c440802102242g2d871a1bwea088eda86be5c9@mail.gmail.com \
    --to=yhlu.kernel@gmail.com \
    --cc=avi@qumranet.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®