[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 0/5] libxl: call hotplug scripts from libxl

On 23.04.2012 15:31, Roger Pau Monne wrote:
> Marek Marczykowski escribiÃ:
>> On 20.04.2012 15:23, Roger Pau Monne wrote:
>>> This series removes the use of udev rules to call hotplug scripts when using
>>> libxl. Scripts are directly called from the toolstack at the necessary 
>>> points,
>>> making use of the new event library and it's fork support.
>> What about non-dom0 backends? There will be no simple way to execute script
>> there by libxl without help from udev...
> A new config option has been added on this series (disable_xl_vif_scripts)
> that allows the user to keep executing vif scripts from udev, so this
> functionality is not lost.
>> In Qubes-OS we heavily use network backend in domU: dom0 have no network at
>> all, all NICs are attached (as PCI device) to some domU - called NetVM, where
>> network backend resides.
> There should be no problem with that, you will just need to use the new 
> option.
>> Also vbd backend in domU is used - eg to boot HVM from iso, which is stored 
>> in
>> some domU.
> I didn't know you where able to use vbd from driver domains with xl, if so I
> will have to add a similar option for vbd devices (disable_xl_vbd_scripts).

When starting domU using xl create, I needed to slightly modify disk config
syntax in xl_cmdimpl.c to add backend field (still using xen 4.1, backend
added as the end of disk spec). But everything else worked fine. Especially xl
block-attach, which allow to specify backend domain.
So disable_xl_vbd_scripts option will be helpful.

Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab

Attachment: signature.asc
Description: OpenPGP digital signature

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.