Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1517535

[PATCH v3 0/4] KVM: x86: emulate FXSAVE and FXRSTOR

From Radim Krčmář <rkrcmar@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/4] KVM: x86: emulate FXSAVE and FXRSTOR
Date 2016-11-08 21:00 +0100
Message-ID <sBkIO-5kY-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


v2: http://www.spinics.net/lists/kvm/msg139681.html

v3 brings compatibility with old compilers and has been compile-tested
with GCC-4.4 on Debian Wheezy, GCC-4.4 on RHEL 6, and GCC-4.1 on RHEL 5.

[4/4] still has the hidden assumption that guest and host CPUID match.
Emulating a guest that does not deprecaste FCS and FDS on a host that
does (a modern host) will not necessarily cause a problem, which is why
patches don't handle the case.
Enforcing the equality in CPUID update would be best, but another series
could do that as Linux doesn't even have the CPUID bit defined yet.


Radim Krčmář (4):
  KVM: x86: add Align16 instruction flag
  KVM: x86: save one bit in ctxt->d
  KVM: x86: add asm_safe wrapper
  KVM: x86: emulate FXSAVE and FXRSTOR

 arch/x86/kvm/emulate.c | 184 +++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 157 insertions(+), 27 deletions(-)

-- 
2.10.2

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 0/4] KVM: x86: emulate FXSAVE and FXRSTOR Radim Krčmář <rkrcmar@redhat.com> - 2016-11-08 21:00 +0100

csiph-web