[libvirt] [PATCH 0/2] lxc: allow using 802.11 wireless interfaces in LXC domains

Lubomir Rintel lkundrak at v3.sk
Tue Apr 14 16:21:42 UTC 2015


Hi,

I'm using libvirt-lxc with mac80211_hwsim to construct virtual wireless network 
for NetworkManager testing. Currently, I have to move the interfaces to the
domains manually, as sharing wan 802.11 wireless link with a LXC namespace does
not work:

<hostdev mode='capabilities' type='net'>
	<source><interface>wlan0</interface></source>
</hostdev>

The wireless links can only be associated to namespaces by moving the 
underlying PHY instead of the network interface.

I'm following up with patches that fix the problem for me; please take a look.

Thank you
Lubo





More information about the libvir-list mailing list