Daniel Stekloff
2005-Oct-27 23:20 UTC
[Xen-devel] VT-VMX: monitor_table not zeroed when entering alloc_monitor_pagetable
I''m hitting an ASSERT in alloc_monitor_pagetable() with debug=y and I
can reproduce the condition when debug isn''t on. The monitor_table is
not zeroed when entering alloc_monitor_pagetable() - this happens when I
create a vmx guest. I''m not sure why this happening at first glance.
File: xen/arch/x86/shadow32.c
Line: 689
System: VT/VMX FC3 x86_32 (I can reproduce on FC4 x86_64 too)
ASSERT(pagetable_get_paddr(v->arch.monitor_table) == 0);
The monitor_table should be zeroed before coming into this function by
free_monitor_pagetable(), unless monitor_vtable is already zeroed.
File: xen/arch/x86/shadow32.c
Line: 935
if ( v->arch.monitor_vtable )
{
free_monitor_pagetable(v);
}
if ( mode & SHM_external )
{
alloc_monitor_pagetable(v);
}
Is anyone else seeing this problem?
Thanks,
Dan
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Khoa Huynh
2005-Oct-28 16:06 UTC
Re: [Xen-devel] VT-VMX: monitor_table not zeroed when entering alloc_monitor_pagetable
xen-devel-bounces@lists.xensource.com wrote on 10/27/2005 06:20:34 PM:> > I''m hitting an ASSERT in alloc_monitor_pagetable() with debug=y and I > can reproduce the condition when debug isn''t on. The monitor_table is > not zeroed when entering alloc_monitor_pagetable() - this happens when I > create a vmx guest. I''m not sure why this happening at first glance. > > File: xen/arch/x86/shadow32.c > Line: 689 > System: VT/VMX FC3 x86_32 (I can reproduce on FC4 x86_64 too) > > ASSERT(pagetable_get_paddr(v->arch.monitor_table) == 0); > > The monitor_table should be zeroed before coming into this function by > free_monitor_pagetable(), unless monitor_vtable is already zeroed. > > File: xen/arch/x86/shadow32.c > Line: 935 > > if ( v->arch.monitor_vtable ) > { > free_monitor_pagetable(v); > } > if ( mode & SHM_external ) > { > alloc_monitor_pagetable(v); > } > > > Is anyone else seeing this problem?Yes, I see this on my VT box running FC3/Xen as well. I am currently looking into this. Thanks. Regards, Khoa _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel