WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: config dependency in stable-2.6.32.x

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: config dependency in stable-2.6.32.x
From: M A Young <m.a.young@xxxxxxxxxxxx>
Date: Thu, 13 May 2010 19:40:31 +0100 (BST)
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 May 2010 11:41:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1005071211250.11380@kaball-desktop>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.LFD.2.00.1005062059520.3747@xxxxxxxxxxxxxxx> <alpine.LFD.2.00.1005062256090.3747@xxxxxxxxxxxxxxx> <alpine.DEB.2.00.1005071211250.11380@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)
On Fri, 7 May 2010, Stefano Stabellini wrote:

On Thu, 6 May 2010, M A Young wrote:
On Thu, 6 May 2010, M A Young wrote:
As manage.c is built if CONFIG_XEN is selected and the do_hvm_suspend code
segment is active if CONFIG_PM_SLEEP (which is on by default) is selected,
this means that the current kernel won't build in this case unless
CONFIG_XEN_XENBUS_FRONTEND=y as well to supply the xenbus references.

The attached patch is a quick fix for the problem as
CONFIG_XEN_XENBUS_FRONTEND can't be set directly. Having done this I get
the error below so it looks like there are some problems with the
XEN_PLATFORM_PCI code (I was building it with CONFIG_XEN_PLATFORM_PCI=m ).


this is due to the newly added pv on hvm support, the root cause of the
issue is that I am working on 2.6.32 and there is no
CONFIG_XEN_XENBUS_FRONTEND there: xenbus_suspend and xenbus_resume are
implemented in drivers/xen/xenbus/xenbus_probe.c that is always compiled
when CONFIG_XEN is selected.
I think that on pvops "select CONFIG_XEN_XENBUS_FRONTEND" needs to be
added to XEN_PLATFORM_PCI rather than to CONFIG_XEN.

That doesn't help you on stable-2.6.32.x if XEN_PLATFORM_PCI=m or =n because the relevant lines in manage.c drivers/xen/manage.c are conditional on CONFIG_XEN and CONFIG_PM_SLEEP, and not on XEN_PLATFORM_PCI .

        Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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