diff options
author | Laszlo Ersek | 2016-10-27 00:13:51 +0200 |
---|---|---|
committer | Michael Brown | 2016-11-08 18:40:01 +0100 |
commit | b991c67c1d91574ef22336cc3a5944d1e63230c9 (patch) | |
tree | 6e8bfcb5b669ba1e96f850157505139df55dee1f /src/config/qemu | |
parent | [librm] Conditionalize the workaround for the Tivoli VMM's SSE garbling (diff) | |
download | ipxe-b991c67c1d91574ef22336cc3a5944d1e63230c9.tar.gz ipxe-b991c67c1d91574ef22336cc3a5944d1e63230c9.tar.xz ipxe-b991c67c1d91574ef22336cc3a5944d1e63230c9.zip |
[build] Disable TIVOLI_VMM_WORKAROUND in the qemu configuration
This prevents KVM guests from crashing that run iPXE on host CPUs
without "unrestricted_guest" support.
Once KVM gets the FXSAVE / FXRSTOR emulation feature (*), and the
feature becomes widely available to users, we can back out this change
from iPXE.
(*) Already in progress by Radim:
[PATCH 0/2] KVM: x86: emulate fxsave and fxrstor
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1258895.html
https://www.spinics.net/lists/kernel/msg2370327.html
Cc: Bandan Das <bsd@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Greg <rollenwiese@yahoo.com>
Cc: Michael Brown <mcb30@ipxe.org>
Cc: Michael Prokop <launchpad@michael-prokop.at>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Pickford <arch@netremedies.ca>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Ref: https://bugs.archlinux.org/task/50778
Ref: https://bugs.launchpad.net/qemu/+bug/1623276
Ref: https://bugzilla.proxmox.com/show_bug.cgi?id=1182
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1356762
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/qemu')
-rw-r--r-- | src/config/qemu/general.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/qemu/general.h b/src/config/qemu/general.h index 30f60d3f..a0844973 100644 --- a/src/config/qemu/general.h +++ b/src/config/qemu/general.h @@ -8,3 +8,8 @@ /* Work around missing EFI_PXE_BASE_CODE_PROTOCOL */ #define EFI_DOWNGRADE_UX + +/* The Tivoli VMM workaround causes a KVM emulation failure on hosts + * without unrestricted_guest support + */ +#undef TIVOLI_VMM_WORKAROUND |