From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Simpson Subject: Re: Setting nx bit in virtual CPU Date: Wed, 07 Apr 2010 21:38:10 +0100 Message-ID: <4BBCED32.30304@huskydog.org.uk> References: <4BB126AC.8040401@huskydog.org.uk> <4BB45CA2.5040304@redhat.com> <4BB65C9D.3070505@huskydog.org.uk> <4BB99F03.3020208@redhat.com> <4BBBB63B.60007@huskydog.org.uk> <4BBC1A86.6080506@redhat.com> <4BBC7645.2070904@huskydog.org.uk> <4BBC7958.9010903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from server1.huskydog.org.uk ([81.187.172.195]:55989 "EHLO gordon.huskydog.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751798Ab0DGUiO (ORCPT ); Wed, 7 Apr 2010 16:38:14 -0400 In-Reply-To: <4BBC7958.9010903@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/04/10 13:23, Avi Kivity wrote: > On 04/07/2010 03:10 PM, Richard Simpson wrote: >> On 07/04/10 06:39, Avi Kivity wrote: >> >>> On 04/07/2010 01:31 AM, Richard Simpson wrote: >>> >>>> >>>>> 2.6.27 should be plenty fine for nx. Really the important bit is that >>>>> the host kernel has nx enabled. Can you check if that is so? >>> The attached script should verify it. >> IOError: [Errno 2] No such file or directory: '/dev/msr0' > > Run as root, please. And check first that you have a file named > /dev/cpu/0/msr. Doh! gordon Code # ./check-nx nx: enabled gordon Code # OK, seems to be enabled just fine. Any other ideas? I am beginning to get that horrible feeling that there isn't a real problem and it is just me being dumb!