From: Ian Campbell Subject: Re: HVM-PV & xenbus: how to load the proper xen-XXXfront modules? Date: Wed, 10 Apr 2013 11:37:48 +0100 Message-ID: <1365590268.26448.11.camel@zakaz.uk.xensource.com> References: <1544749.FRqyJEg9PJ@localhost> <515D54C1.1080708@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: AL13N Cc: Andrew Cooper , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2013-04-04 at 12:00 +0100, AL13N wrote: > > On 04/04/13 07:38, AL13N wrote: > >> Hi, > >> > >> in HVM installation: xenbus is compiled in kernel and xen-netfront and > >> xen- > >> blkfront are compiled as module... > >> > >> is there some kind of way that xenbus via udev loads the proper > >> xen-netfront > >> and xen-blkfront modules? > >> > >> how does this system work? > >> > >> should udev query the xenbus like it does the usb or pci bus? to load > >> modules? > > > > xenbus is built in because it is a pre-req for xenstore which is a > > pre-req for all xen-{net,blk,etc}{front,back} drivers. It used to be a > > module, but was causing too many problems. > > ok, i get this, but what is the correct way to load the xen-XXXfront > modules in a HVM-PV? The xen-platform-pci device must be built in, it will detect xen and enumerated the xen bus, which will generate hotplug events which will cause udev to DTWT like it does for all hardware buses and their drivers. This is no different for xenbus than any other bus (e.g. pci). Ian.