Re: [Xen-devel] [PATCH] PVH: vcpu info placement, load selectors, and remove debug printk.

2013-06-05 Thread Jan Beulich
>>> On 05.06.13 at 21:17, Mukesh Rathor wrote: > On Wed, 05 Jun 2013 08:03:12 +0100 > "Jan Beulich" wrote: > >> >>> On 04.06.13 at 23:53, Mukesh Rathor >> >>> wrote: >> > Following OK? : >> > >> > if (xen_feature(XENFEAT_auto_translated_physmap)) { >> > switch_to_new_gd

Re: [Xen-devel] [PATCH] PVH: vcpu info placement, load selectors, and remove debug printk.

2013-06-05 Thread Mukesh Rathor
On Wed, 05 Jun 2013 08:03:12 +0100 "Jan Beulich" wrote: > >>> On 04.06.13 at 23:53, Mukesh Rathor > >>> wrote: > > Following OK? : > > > > if (xen_feature(XENFEAT_auto_translated_physmap)) { > > switch_to_new_gdt(0); > > > > asm volatile ( > >

Re: [Xen-devel] [PATCH] PVH: vcpu info placement, load selectors, and remove debug printk.

2013-06-05 Thread Jan Beulich
>>> On 04.06.13 at 23:53, Mukesh Rathor wrote: > Following OK? : > > if (xen_feature(XENFEAT_auto_translated_physmap)) { > switch_to_new_gdt(0); > > asm volatile ( > "pushq %%rax\n" > "leaq 1f(%%rip),%%rax\n"

Re: [Xen-devel] [PATCH] PVH: vcpu info placement, load selectors, and remove debug printk.

2013-06-04 Thread Mukesh Rathor
On Tue, 04 Jun 2013 09:27:03 +0100 "Jan Beulich" wrote: > >>> On 04.06.13 at 02:43, Mukesh Rathor > >>> wrote: > > @@ -1327,6 +1329,18 @@ static void __init > > xen_setup_stackprotector(void) /* PVH TBD/FIXME: investigate > > setup_stack_canary_segment */ if > > (xen_feature(XENFEAT_auto_transla

Re: [Xen-devel] [PATCH] PVH: vcpu info placement, load selectors, and remove debug printk.

2013-06-04 Thread Jan Beulich
>>> On 04.06.13 at 02:43, Mukesh Rathor wrote: > @@ -1327,6 +1329,18 @@ static void __init xen_setup_stackprotector(void) > /* PVH TBD/FIXME: investigate setup_stack_canary_segment */ > if (xen_feature(XENFEAT_auto_translated_physmap)) { > switch_to_new_gdt(0); > + > +

[PATCH] PVH: vcpu info placement, load selectors, and remove debug printk.

2013-06-03 Thread Mukesh Rathor
This patch addresses 3 things: - Resolve vcpu info placement fixme. - Load DS/SS/CS selectors for PVH after switching to new gdt. - Remove printk in case of failure to map pnfs in p2m. This because qemu has lot of benign failures when mapping HVM pages. Signed-off-by: Mukesh Rathor