Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

xen/store: do not store local values in xen_start_info

There's no need to store the xenstore page or event channel in
xen_start_info if they are locally initialized.

This also fixes PVH local xenstore initialization due to the lack of
xen_start_info in that case.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>

authored by

Roger Pau Monne and committed by
Juergen Gross
515e6541 24a94b3c

+2 -3
+2 -3
drivers/xen/xenbus/xenbus_probe.c
··· 710 710 if (!page) 711 711 goto out_err; 712 712 713 - xen_store_gfn = xen_start_info->store_mfn = virt_to_gfn((void *)page); 713 + xen_store_gfn = virt_to_gfn((void *)page); 714 714 715 715 /* Next allocate a local port which xenstored can bind to */ 716 716 alloc_unbound.dom = DOMID_SELF; ··· 722 722 goto out_err; 723 723 724 724 BUG_ON(err); 725 - xen_store_evtchn = xen_start_info->store_evtchn = 726 - alloc_unbound.port; 725 + xen_store_evtchn = alloc_unbound.port; 727 726 728 727 return 0; 729 728