xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [BUG] libxenstore and xentop confused by renamed VIF interfaces
@ 2014-05-21  7:52 Jacek Konieczny
  2014-05-21  8:15 ` [BUG] libxenstat " Jacek Konieczny
  2014-05-21 10:29 ` [BUG] libxenstore " Ian Campbell
  0 siblings, 2 replies; 8+ messages in thread
From: Jacek Konieczny @ 2014-05-21  7:52 UTC (permalink / raw)
  To: xen-devel; +Cc: Mariusz Mazur

Hi,

I have noticed a strange behaviour on 'xl top' – it would show no
network statistics for some of my domU. It turned out that 'xl top'
shows no network ('NETS', 'NETTX(k)', 'NETRX(k)' all '0') when the
domU VIF has been renamed by using the 'vifname' option in its xl.cfg
file.

The 'vifname' option is very useful to have predictable interface names
for firewall configuration or network monitoring. The problem is
libxenstore under Linux parses /proc/net/dev to extract 'vif.${domid}.*'
interfaces, which won't be there, when the interfaces have been renamed.

I think the solution would be to look-up the actual interface name or
index in sysfs, e.g. under /sys/devices/vif-${domind}-*.

Greets,
	Jacek

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-21 14:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-21  7:52 [BUG] libxenstore and xentop confused by renamed VIF interfaces Jacek Konieczny
2014-05-21  8:15 ` [BUG] libxenstat " Jacek Konieczny
2014-05-21 10:29 ` [BUG] libxenstore " Ian Campbell
2014-05-21 10:48   ` [BUG] libxenstat " Jacek Konieczny
2014-05-21 10:53     ` Ian Campbell
2014-05-21 11:35   ` Jacek Konieczny
2014-05-21 11:52     ` Ian Campbell
2014-05-21 14:01       ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).