This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] [patch] monitor_table is getting set to 0 for domux86_64

To: "Scott Parish" <srparish@xxxxxxxxxx>
Subject: RE: [Xen-devel] [patch] monitor_table is getting set to 0 for domux86_64
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Sat, 18 Jun 2005 16:48:23 -0700
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 18 Jun 2005 23:47:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcV0Xg9kGGmD69sUTkidOoNnhrq/GAAASGFw
Thread-topic: [Xen-devel] [patch] monitor_table is getting set to 0 for domux86_64
Scott Parish wrote:
> On Sat, Jun 18, 2005 at 07:49:11PM +0000, Scott Parish wrote:
>> While the attached patch takes care of the problem, and i don't
>> understand everything i know about TF_kernel_mode and
>> guest_table_user, so likely a better solution is in order. If
>> somebody wouldn't mind saying a few words about either of these, i'd
>> appreciate it. 
> I retract said patch--after understanding more of what i knew about
> TF_kernel_mode, and looking into the syscall problem, it seems clear
> that the problem is that TF_kernel_mode isn't set.
> So now the question is, why is TF_kernel_mode is getting cleared by
> arch_set_info_guest()? (or why isn't VGCF_IN_KERNEL set?)

I think you need to set VGCF_IN_KERNEL for x86_64 domains in
xc_linux_build.c for initialization.

For example, we are setting VGCF_VMX_GUEST in the builder
(libxc/xc_vmx_build.c) like
    ctxt->flags = VGCF_VMX_GUEST; 
> sRp

Intel Open Source Technology Center

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>