From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Marczykowski Subject: Re: [PATCH v3 0/5] libxl: call hotplug scripts from libxl Date: Mon, 23 Apr 2012 15:47:32 +0200 Message-ID: <4F955D74.8060602@invisiblethingslab.com> References: <1334928211-29856-1-git-send-email-roger.pau@citrix.com> <4F954747.9030305@invisiblethingslab.com> <4F955999.3030500@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4993532945491766084==" Return-path: In-Reply-To: <4F955999.3030500@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: Joanna Rutkowska , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============4993532945491766084== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9EB1A250486AD74FA46E96B0" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9EB1A250486AD74FA46E96B0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 23.04.2012 15:31, Roger Pau Monne wrote: > Marek Marczykowski escribi=C3=B3: >> On 20.04.2012 15:23, Roger Pau Monne wrote: >>> This series removes the use of udev rules to call hotplug scripts whe= n using >>> libxl. Scripts are directly called from the toolstack at the necessar= y 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 s= cript >> there by libxl without help from udev... >=20 > A new config option has been added on this series (disable_xl_vif_scrip= ts) > that allows the user to keep executing vif scripts from udev, so this > functionality is not lost. >=20 >> In Qubes-OS we heavily use network backend in domU: dom0 have no netwo= rk at >> all, all NICs are attached (as PCI device) to some domU - called NetVM= , where >> network backend resides. >=20 > There should be no problem with that, you will just need to use the new= option. >=20 >> Also vbd backend in domU is used - eg to boot HVM from iso, which is s= tored in >> some domU. >=20 > 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_scrip= ts). When starting domU using xl create, I needed to slightly modify disk conf= ig 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. Especial= ly xl block-attach, which allow to specify backend domain. So disable_xl_vbd_scripts option will be helpful. --=20 Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab --------------enig9EB1A250486AD74FA46E96B0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPlV10AAoJENuP0xzK19csTXIH/0oNC1Ay/6uFqY/BFS3Uy1pj OSRwELqlS8RxNUVcQlzzjtDeQLB4MYNPAPvJyvZa8gRjg5zb/ZVqBEEcZpK63E8L Bj67Kb/bZSav2M/BtFrD/ojZOe5v2WAYn0Zf93AC5iJ6cSeWctPHorU6TAJJZSor Pm/bkD3q0sE77IemlWqHnvyezvPFfe8NaZXu347X+z/kiEK+E5jvY0Z5N+qvkwMP yqVtLDDm1Pi4e2PChq3tvZ3nE8TiNh6ZByOtwKoeYklumGzqOnQAiS8UiVpDnEA/ vZQHp6pjmHEDozFPevDQ3lK6s5Ius55Qqn4gRastQMyfzCpru4oT29EXe23S1vY= =lnnc -----END PGP SIGNATURE----- --------------enig9EB1A250486AD74FA46E96B0-- --===============4993532945491766084== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4993532945491766084==--