On Sun, 24 Feb 2008 00:41:39 -0500
Tom Horsley <tom.horsley@xxxxxxx> wrote:
> Hey! Maybe I can just use "xm network-attach" with Dom0 as both
> the front and back end (but would infinite recursion happen
> trying to run this command from inside the network setup script? :-).
Hmmm... I tried it on my existing network-bridge xen just to see what would
happen (figuring an extra ethernet shouldn't hurt anything).
I get new vif0.N devices showing up in brctl, but no new ethN showing
up in the Dom0.
There are no error or success entries of any kind referring to domain/0
in the xen-hotplug.log file
I do see this in xend.log:
[2008-02-24 00:53:55 4416] DEBUG (__init__:1072) XendDomainInfo.device_create:
['vif']
[2008-02-24 00:53:55 4416] DEBUG (__init__:1072) XendDomainInfo.device_create:
{'mac': '00:16:3e:79:86:09', 'uuid': 'bd1f4502-7e3b-a2f3-2b2f-550ed5852f90'}
[2008-02-24 00:53:55 4416] DEBUG (__init__:1072) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:79:86:09', 'handle': '0', 'state': '1',
'backend': '/local/domain/0/backend/vif/0/0'} to /local/domain/0/device/vif/0.
[2008-02-24 00:53:55 4416] DEBUG (__init__:1072) DevController: writing
{'domain': 'Domain-0', 'handle': '0', 'uuid':
'bd1f4502-7e3b-a2f3-2b2f-550ed5852f90', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/0/device/vif/0', 'mac': '00:16:3e:79:86:09', 'online': '1',
'frontend-id': '0'} to /local/domain/0/backend/vif/0/0.
[2008-02-24 00:53:55 4416] DEBUG (__init__:1072) Waiting for 0.
[2008-02-24 00:53:55 4416] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/0/0/hotplug-status.
[2008-02-24 00:53:56 4416] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/0/0/hotplug-status.
[2008-02-24 00:53:56 4416] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) XendDomainInfo.device_create:
['vif', ['bridge', 'eth0'], ['backend', '0']]
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) XendDomainInfo.device_create:
{'bridge': 'eth0', 'mac': '00:16:3e:52:ef:e6', 'uuid':
'd6b7889c-24cb-f1f9-6786-50c6cca4b151', 'backend': '0'}
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) DevController: writing
{'backend-id': '0', 'mac': '00:16:3e:52:ef:e6', 'handle': '1', 'state': '1',
'backend': '/local/domain/0/backend/vif/0/1'} to /local/domain/0/device/vif/1.
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) DevController: writing
{'bridge': 'eth0', 'domain': 'Domain-0', 'handle': '1', 'uuid':
'd6b7889c-24cb-f1f9-6786-50c6cca4b151', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/0/device/vif/1', 'mac': '00:16:3e:52:ef:e6', 'online': '1',
'frontend-id': '0'} to /local/domain/0/backend/vif/0/1.
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) Waiting for 1.
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/0/1/hotplug-status.
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/0/1/hotplug-status.
[2008-02-24 00:56:09 4416] DEBUG (__init__:1072) hotplugStatusCallback 1.
(That was from two separate tries).
Does the fact that eth0 already exists screw it up? (I also have an eth1 that
is a real nic).
Maybe if I tried it one more time eth2 would actually show up? :-).
Nah, just tried it, merely have another vif0.N, but no eth2.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|