Hello, how many VIF can I create in domU? my current: vif=[ ''mac=00:16:3E:77:BB:01,bridge=dombr0'', ''mac=00:16:3E:77:BB:02,bridge=locbr0'', ''mac=00:16:3E:77:BB:03,bridge=dmzbr0'',''mac=00:16:3E:77:BB:04,bridge=custbr0'', ''mac=00:16:3E:77:BB:05,bridge=fwbr0''] creates only 3 (eth0,eth1,eth2) in domU. and console during boot on domU: netfront: Initialising virtual ethernet driver. #### netfront can''t alloc rx grant refs vif vif-3: 12 creating netdev vif vif-3: 12 xenbus_dev_probe on device/vif/3 #### netfront can''t alloc rx grant refs vif vif-4: 12 creating netdev vif vif-4: 12 xenbus_dev_probe on device/vif/4 I could not find any related info in documentation. Any hint would be great. -- Robert Smol <eagtstools@dhl.com> _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robert Smol wrote:> how many VIF can I create in domU?> I could not find any related info in documentation. > Any hint would be great.The maximum number of virtual network interfaces you can create for each domU is 3 - this is clearly stated at http://wiki.xensource.com/xenwiki/XenFaq I seem to recall reading somewhere that this was because a static structure is used, instead of one which can be dynamically grown. I''m afraid I can''t remember why I got that idea from, though. The workaround for most people appears to be adding additional network cards to the physical machine and making them available directly to the domUs in question (using pichide, as recently discussed on this mailling list). Cheers Andrew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew Ross wrote:> The maximum number of virtual network interfaces you can create for each > domU is 3> I seem to recall reading somewhere that this was because a static > structure is used, instead of one which can be dynamically grown. I''m > afraid I can''t remember why I got that idea from, though.Just found this at http://lists.xensource.com/archives/html/xen-devel/2006-07/msg00424.html "We need to add a hypercall to xen to allow a guest to extend the size of it''s grant table. This should be straightforward, but in its current absence is the restriction which leads to the current ``max 3 VIF''s per guest'''' limit. Actually, this restriction could also be solved by making the allocation of grant table entries to a VIF dynamic, as already happens with the blkfront driver. We should implement both strategies forthwith." It isn''t the original source of my information, but does confirm it. Cheers Andrew _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users