On Thursday, December 19, 2013 1:54:52 pm Roger Pau Monne wrote:
> Introduce a Xen specific nexus that is going to be in charge for
> attaching Xen specific devices. Remove the identify routine from Xen
> devices and instead attach them from the nexus (PV/PVH) or xenpci
> (HVM).

As with my previous mail, I would encourage you to create a xenpv0 device and 
have the xen nexus be very minimal.  This would let you leave the existing 
identify routines in place (which is cleaner / more extensible than a static 
table of devices that you explicitly add), but by having the PV-specific 
drivers attach as children of xenpv0, their identify routines would only be 
invoked when xenpv0 attached.  You can even use an identify routine for CPUs 
(see cpu_identify in sys/x86/x86/legacy.c).

-- 
John Baldwin
_______________________________________________
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to