Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756389AbaDLUeS (ORCPT ); Sat, 12 Apr 2014 16:34:18 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:42335 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755567AbaDLUeQ (ORCPT ); Sat, 12 Apr 2014 16:34:16 -0400 MIME-Version: 1.0 In-Reply-To: <20140412201126.GC30694@pd.tnic> References: <6f5f98f2-aa96-433f-9ee8-5ba216624957@email.android.com> <20140412193541.GA30697@pd.tnic> <21a22ace-fbc3-4f97-a277-9cdf4f2253eb@email.android.com> <20140412201126.GC30694@pd.tnic> Date: Sat, 12 Apr 2014 16:34:14 -0400 Message-ID: Subject: Re: [tip:x86/urgent] x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels From: Brian Gerst To: Borislav Petkov Cc: "H. Peter Anvin" , Linus Torvalds , Ingo Molnar , Linux Kernel Mailing List , Thomas Gleixner , stable , "H. Peter Anvin" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 12, 2014 at 4:11 PM, Borislav Petkov wrote: > On Sat, Apr 12, 2014 at 12:44:42PM -0700, H. Peter Anvin wrote: >> Run a 32-bit VM. The 32-bit kernel does this right. > > Yes, even better. > >> I suspect it would also work fine in a Qemu user mode guest (is >> this supported by KVM?), in a ReactOS VM, or some other number of >> combinations. > > Right. > > So basically, there a lot of different virt scenarios which can all take > care of those use cases *without* encumbering some insane solutions on > 64-bit. > >> The real question is how many real users are actually affected. > > And if they are, virtualize them, for chrissake. It is time we finally > used virt for maybe one of its major use cases - virtualize old/obscure > hw. It should be pretty reliable by now. > > :-P > > -- > Regards/Gruss, > Boris. > > Sent from a fat crate under my desk. Formatting is fine. > -- My experience with kvm so far is that is slow and clunky. It may be OK for a server environment, but interactively it's difficult to use. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/