From: Andre Przywara <andre.przywara@amd.com>
To: Brian Jackson <iggy@theiggy.com>,
"Govender, Sashan" <Sashan.Govender@au.unisys.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Opteron AMD-V support
Date: Fri, 4 Jun 2010 15:47:16 +0200 [thread overview]
Message-ID: <4C0903E4.7030404@amd.com> (raw)
In-Reply-To: <201006032147.35712.iggy@theiggy.com>
Brian Jackson wrote:
> On Thursday 03 June 2010 21:33:24 Govender, Sashan wrote:
>> Hi
>>
>> We bumped into this issue with VMWare ESX 4 where it doesn't support
>> hardware virtualization if the processor is an AMD Athlon/Opteron
>> (http://communities.vmware.com/docs/DOC-9150). Does linux-kvm have a
>> similar issue? More specifically will the the module kvm_amd.ko support
>> AMD-V on an Opteron 2218?
> Yes, KVM doesn't try to be too smart. If you have svm/vt, it runs. If you
> don't, it falls back to tcg (qemu's normal/slow mode). The kvm-amd module will
> load as long as the bios and the CPU both support and enable svm.
That's right. Please note that KVM depends on hardware virtualization,
so it does not have the choice like VMware has. Falling back to QEMU/TCG
is not comparable to VMware's binary translation, because their approach
is highly optimized and limited to x86 on x86, whereas QEMU wants to
emulate each supported architecture on each host architecture, so it
naturally cannot be as sophisticated as the VMware approach.
Nested paging has been supported by KVM for a long time, if it's there
it will be automatically used.
BTW, every Opteron with a four-digit number supports AMD-V, and KVM will
run on every such processor. I am not aware of any _Opteron_ boards not
allowing AMD-V, but there are some desktop/notebook systems where the
BIOS denies AMD-V (although the processor has it).
There presence of the "svm" flag in /proc/cpuinfo is a safe indicator
for the usability of KVM.
Regards,
Andre.
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448-3567-12
prev parent reply other threads:[~2010-06-04 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 2:33 Opteron AMD-V support Govender, Sashan
2010-06-04 2:47 ` Brian Jackson
2010-06-04 13:47 ` Andre Przywara [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=4C0903E4.7030404@amd.com \
--to=andre.przywara@amd.com \
--cc=Sashan.Govender@au.unisys.com \
--cc=iggy@theiggy.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox