All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Alexander Graf <agraf@suse.de>
Cc: "deshantm@gmail.com" <deshantm@gmail.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Nested KVM
Date: Tue, 23 Dec 2008 19:05:22 +0200	[thread overview]
Message-ID: <49511A52.3000906@redhat.com> (raw)
In-Reply-To: <C0EE1EE1-81F1-4DED-83E3-EB4AB9CF52A5@suse.de>

Alexander Graf wrote:
>
>> I have successfully built the latest kvm, kvm-userspace from git.
>>
>> I loaded the kvm_amd module with the nested=1 option.
>>
>> The kvm guest that I am working with has an older version
>> of kvm (Ubuntu 8.10 + kvm package) and during boot I get:
>>
>> [   23.673107] Pid: 4278, comm: modprobe Tainted: G S        
>> 2.6.27-7-generic #1
>> [   23.673107] RIP: 0010:[<ffffffff8022d35a>]  [<ffffffff8022d35a>]
>> native_write_msr_safe+0xa/0x10
>> [   23.673107] RSP: 0018:ffff880018dc3dd8  EFLAGS: 00010002
>> [   23.673107] RAX: 0000000000001d01 RBX: ffff880018dc3e04 RCX: 
>> 00000000c0000080
>>
>> Maybe it is just that a newer version of KVM is needed?
>>
>> I will also try to build a newer version of KVM and test.
>>
>> Thanks for any comments.
>
> Your guest is writing to an MSR that is unknown to the kvm msr 
> emulation. What does dmesg on the host say?
>

You can actually see that it's writing to EFER (rcx = 0xc00000080).  But 
that should always be implemented on AMD.  It's probably complaining 
about the svme bit, but that can only happen if nested=0?

-- 
error compiling committee.c: too many arguments to function


  parent reply	other threads:[~2008-12-23 17:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-23  2:55 Nested KVM Todd Deshane
2008-12-23  6:26 ` Todd Deshane
2008-12-23  9:00 ` Alexander Graf
2008-12-23 16:35   ` Todd Deshane
2008-12-23 17:04     ` Alexander Graf
2008-12-24  4:18       ` Todd Deshane
2008-12-24  9:20         ` Alexander Graf
2008-12-25  9:59           ` Avi Kivity
2008-12-25 13:49             ` Alexander Graf
2008-12-29 23:47           ` Todd Deshane
2008-12-30 17:19             ` Todd Deshane
2008-12-31 15:17               ` Alexander Graf
2008-12-23 17:05   ` Avi Kivity [this message]
2008-12-23 17:10     ` Alexander Graf
2008-12-23 17:18       ` Avi Kivity

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=49511A52.3000906@redhat.com \
    --to=avi@redhat.com \
    --cc=agraf@suse.de \
    --cc=deshantm@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.