[xen-tools-discuss] xen-shell, bandwith and vifname issues

Steve Kemp steve at steve.org.uk
Sun Sep 13 17:12:07 CEST 2009


On Sun Sep 13, 2009 at 15:35:48 +0100, Joao Inacio wrote:

> I am not sure this is the appropriate place, but here it goes 8-)

  Probably the best place.

> I have recently updated my debian machine to lenny, and somehow i can
> no longer set vifname to use use the same name as the guest domU:

  That sounds odd.

> $ xm create host1.cfg
> "Error "Device 0 (vif) could not be connected"
> $ dmesg
> kobject 'vif15.0' cannot be renamed to 'host1' as 'host1' is already
> in existence.

  Have you checked to see if a running guest already has the "wrong"
 vifname setup?

> I havent found the cause yet, but as a quick solution i changed
> vifname to 'vifhost1' and the guest booted fine.

  Great.  (You can use --vifname=xxx to specify this explicitly)

> however, as a side effect, bandwidth monitoring with vnstat no longer
> works as expected

  Right.

> Is there some kind of way to change the bandwidth monitoring interface name?

  You'd need to chance the source in xen-shell I'm afraid..

Steve
--




More information about the xen-tools-discuss mailing list