[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v12 08/18] xen/pvh: Load GDT/GS in early PV bootup code for BSP.



> > +           loadsegment(es, 0);
> > +           loadsegment(ds, 0);
> > +           loadsegment(fs, 0);
> > +#else
> > +           /* PVH: TODO Implement. */
> > +           BUG();
> > +#endif
> > +           return;    <==============
> > +   }
> >     pv_cpu_ops.write_gdt_entry = xen_write_gdt_entry_boot;
> >     pv_cpu_ops.load_gdt = xen_load_gdt_boot;
> 
> If PVH uses native GDT why are these (and possibly other?) GDT ops needed?

They aren't. There is a 'return' there. I marked it for you with
'<======'.


> 
> David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.