Bugzilla – Attachment 49376 Details for
Bug 105178
XEN doesn't work at all
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Ugly hack for adding vifX.Y to the bridge...
vif2bridge-hack-mt1.dif (text/plain), 1009 bytes, created by
Marius Tomaschewski
on 2005-09-09 12:42:54 UTC
(
hide
)
Description:
Ugly hack for adding vifX.Y to the bridge...
Filename:
MIME Type:
Creator:
Marius Tomaschewski
Created:
2005-09-09 12:42:54 UTC
Size:
1009 bytes
patch
obsolete
>Complete path in running system is: > >/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py > >--- XendDomainInfo.py >+++ XendDomainInfo.py 2005-09-09 14:29:10.000000000 +0200 >@@ -49,6 +49,8 @@ > from xen.xend.uuid import getUuid > from xen.xend.xenstore import DBVar, XenNode, DBMap > >+from xen.xend.Vifctl import vifctl >+ > """Shutdown code for poweroff.""" > DOMAIN_POWEROFF = 0 > >@@ -479,6 +481,17 @@ > > db.saveDB(save=True) > >+ # >+ # mt: _UGLY_ hack adding domU interfaces to bridge in dom0 >+ # >+ # The resulting vif name is vif<domainID>.<number> to >+ # support multiple interfaces per domU, but it is tested >+ # with one vifX.Y and one xenbr0 bridge interface only!! >+ # >+ vifctl("up", vif="vif%i.%i" % (self.id, devnum), >+ script=script, domain=self.name, >+ mac=mac, bridge=bridge, ipaddr=ipaddr) >+ > return > > if type == 'vtpm':
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 105178
:
47987
| 49376