[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xl remus - Invoking scripts from xl
On Thu, Jul 18, 2013 at 9:33 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
Only this can go into the host config toolstack.
the ifbX is an example.. the ifb module names the interfaces ifb0 to ifbN where N is determined by modprobe ifb numifbs=N. Now, lets say we have 10 ifbs in the system. which ones do we pick for the guest ?
if the VM has 3 interfaces, we need 3 ifbs, ifb0-2. Thats easy. What if there are two remus streams in the same system ? then we need to maintain a list of ifbs that are being used and which ones are free. The current remus python code
(tools/python/xen/remus/device.py) has some code to do this ("class Netbufpool"). Something similar needs to go into libxl.
They don't belong in the vif-hotplug script. Adding these lines means that all egress traffic from the VM will be routed via the IFB device
whether or not Remus is running. I don't think people would want that. Perhaps based on a new vif parameter to specify See previous explanation on finding a free IFB device. If we throw the responsibility of specifying IFB devices onto the admin, libxl can basically
do two system() calls, as stated above and install the plug_qdisc and move on. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |