From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935015AbcJZUuq (ORCPT ); Wed, 26 Oct 2016 16:50:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43652 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932333AbcJZUun (ORCPT ); Wed, 26 Oct 2016 16:50:43 -0400 From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Paolo Bonzini , Laszlo Ersek Subject: [PATCH 0/2] KVM: x86: emulate fxsave and fxrstor Date: Wed, 26 Oct 2016 22:50:12 +0200 Message-Id: <20161026205014.19801-1-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 26 Oct 2016 20:50:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [1/2] adds the emulation (and could be split into two patches if you'd like), [2/2] just refactors the code. This should fix an issue that users are hitting. Laszlo found several reports: - https://bugs.launchpad.net/qemu/+bug/1623276 - https://bugzilla.proxmox.com/show_bug.cgi?id=1182 - https://bugs.archlinux.org/task/50778 I have only tested it with a simple kvm-unit-tests, though. Reproducing the iPXE issue is on the way ... Radim Krčmář (2): KVM: x86: emulate fxsave and fxrstor KVM: x86: save one bit in ctxt->d arch/x86/kvm/emulate.c | 110 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 94 insertions(+), 16 deletions(-) -- 2.10.1