* HVM-PV & xenbus: how to load the proper xen-XXXfront modules?
@ 2013-04-04 6:38 AL13N
2013-04-04 10:24 ` Andrew Cooper
0 siblings, 1 reply; 4+ messages in thread
From: AL13N @ 2013-04-04 6:38 UTC (permalink / raw)
To: xen-devel
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HVM-PV & xenbus: how to load the proper xen-XXXfront modules?
2013-04-04 6:38 HVM-PV & xenbus: how to load the proper xen-XXXfront modules? AL13N
@ 2013-04-04 10:24 ` Andrew Cooper
2013-04-04 11:00 ` AL13N
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2013-04-04 10:24 UTC (permalink / raw)
To: AL13N; +Cc: xen-devel@lists.xen.org
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.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HVM-PV & xenbus: how to load the proper xen-XXXfront modules?
2013-04-04 10:24 ` Andrew Cooper
@ 2013-04-04 11:00 ` AL13N
2013-04-10 10:37 ` Ian Campbell
0 siblings, 1 reply; 4+ messages in thread
From: AL13N @ 2013-04-04 11:00 UTC (permalink / raw)
To: xen-devel@lists.xen.org; +Cc: Andrew Cooper
> 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?
is it really just checking if it's a xen and just probe all the modules
and see which ones work? or is there a better way?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HVM-PV & xenbus: how to load the proper xen-XXXfront modules?
2013-04-04 11:00 ` AL13N
@ 2013-04-10 10:37 ` Ian Campbell
0 siblings, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2013-04-10 10:37 UTC (permalink / raw)
To: AL13N; +Cc: Andrew Cooper, xen-devel@lists.xen.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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-10 10:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 6:38 HVM-PV & xenbus: how to load the proper xen-XXXfront modules? AL13N
2013-04-04 10:24 ` Andrew Cooper
2013-04-04 11:00 ` AL13N
2013-04-10 10:37 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.