On Jan 16, 2008 9:43 AM, Arie Goldfeld <arik.goldfeld@gmail.com> wrote:
> Hi all,
>
> I use *xm network-detach <domain> <devid> *to delete
domU''s network
> interfaces. But it seems to be broken, as the vifs are not really deleted.
> For example, if I detach device 0, and then attach a device to that domain
> again, its number is 1, as if 0 is still exists. Even more strange, after
> reboot all the detached devices are somehow resurrected and show up again
in
> both domU as eth0, eth1, ..., and dom0 as vif/0, vif/1, ...!
> Any ideas?
>
First, when you detach, the guest probably already has an entry for eth0
that udev or hotplug is naming eth0 and not releasing when the device is
detached. This might just be a bug with udev or possibly a kernel problem.
Second, detaching a device doesn''t remove it from the config, once you
re-create the guest whatever vifs were originally assigned will show up.
Does that help?
Regards,
Todd
> Thanks
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users