From: "Jan Beulich" Subject: Re: Bisected Xen-unstable: "Segment register inaccessible for d1v0" when starting HVM guest on intel Date: Wed, 02 Jul 2014 13:34:54 +0100 Message-ID: <53B4188E020000780001F81E@mail.emea.novell.com> References: <1057886355.20140628222158@eikelenboom.it> <53B1A244020000780001EA4D@mail.emea.novell.com> <1081819750.20140630183750@eikelenboom.it> <53B19EEB.4060603@citrix.com> <53B27902020000780001ED8B@mail.emea.novell.com> <53B29E03020000780001EF03@mail.emea.novell.com> <53B3CA8A020000780001F4B4@mail.emea.novell.com> <53B3D5D2020000780001F4F8@mail.emea.novell.com> <53B3ECEE020000780001F61F@mail.emea.novell.com> <53B3D491.1080907@citrix.com> <53B3F324020000780001F66B@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X2JkY-00051e-Bf for xen-devel@lists.xenproject.org; Wed, 02 Jul 2014 12:34:58 +0000 In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Feng Wu Cc: Andrew Cooper , "xen-devel@lists.xenproject.org" , Sander Eikelenboom List-Id: xen-devel@lists.xenproject.org >>> On 02.07.14 at 14:08, wrote: >> From: Jan Beulich [mailto:JBeulich@suse.com] >> Just like copy_to_user() would produce -EFAULT for a hypercall >> when used on a non-present page or a non-canonical address, it >> should (and afaict will with how things are right now) similarly >> produce -EFAULT for an attempted access to a guest-accessible > > Do you mean user-accessible here? Oh yes, of course. Jan >> page when the current mode of the guest is supervisor. >> >> To me it is a logical extension to also fail accesses outside of >> hypercalls or emulation. >> >> Jan