From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: question on #UD emulation
Date: Sun, 16 Dec 2007 13:32:40 +0200 [thread overview]
Message-ID: <47650CD8.5060401@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A02858E27-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
Dong, Eddie wrote:
> Avi/Anthony:
> Following commit added #UD trap in KVM and do emulation in KVM.
> It is good to avoid the mis hypercall instruction issue, but I am not
> sure if it will have any serious side effect. I am blind to AMD
> instruction, I assume, for example, AMD 3D now instruction may use
> different binary and thus invalid_ops in Intel platform. If an
> application with 3D now instructions is executed in Intel platform, now
> KVM get #UD and may do emulation inside, will that cause problem rather
> then we inject #UD to guest? If this suspicion is true, then probably we
> need to do something more to this commitment, i.e. to emulate
> cross-architecturally VMCALL instruction only for this purpose.
>
>
Since we don't emulate 3Dnow instructions, a #UD will be injected instead.
The plan for having mixed vendor migration is to disable such extensions
in cpuid, so the guest won't even try to execute them. In other words,
the cpuid in a virtualization farm will be set to the greatest common
subset of cpu features.
> BTW, do we need to support live migrating an AMD VM to Intel platform or
> vice versa
Yes, it allows users to buy the machines with the best cost/performance
ratio, rather than continue to buy machines from the same vendor all the
time.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
next prev parent reply other threads:[~2007-12-16 11:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-16 10:01 question on #UD emulation Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02858E27-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-16 11:32 ` Avi Kivity [this message]
[not found] ` <47650CD8.5060401-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-16 12:33 ` Joerg Roedel
[not found] ` <20071216123318.GB31298-5C7GfCeVMHo@public.gmane.org>
2007-12-16 12:49 ` Dor Laor
[not found] ` <47651EDB.2010601-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-16 14:42 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02858E8C-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-16 15:04 ` Avi Kivity
2007-12-16 14:44 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A02858E8E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-16 15:07 ` 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=47650CD8.5060401@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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