[LiSA-Devel] LiSA and libvirt

Andreea-Cristina Hodea andreea.cristina.hodea at gmail.com
Wed Jun 5 16:51:11 EEST 2013


Hi,

I have written a few paragraphs about libvirt into the wiki page [1].
There it's still more to write, but I would like to share what I've
learned and I would also need some feedback on the idea below (to
avoid going in a totally wrong direction).

I'm thinking to have libvirt and LiSA both running on a host and one
or two guests. Now, in order to construct a LAN between the hosts and
the guests, libvirt creates a bridge on the host and configures a
corresponding interface for the guest [2]. In order to integrate LiSA
in this scenario I guess that instead of creating the bridge through
SIOCBRADDBR ioctl (virnetdevbridge.c libvirt source file), for
example, I should call sw_ops->vif_add(). Is that correct?

As shown here [4], for each VM, the host has to create a bridge (the
old bridge story). Well, if the host runs LiSA, there is no need to do
that anymore, right? So, if you ask me, it is feasible to integrate
LiSA and libvirt.

Next steps would be to propose a solution for integrating some
commands of swcli into virtual shell of libvirt (virsh) [3]. I refer
to iface_add and related commands.

Thanks,
Andreea

[1] https://github.com/lisa-project/lisa-user/wiki/Integrating-libvirt
[2] http://wiki.libvirt.org/page/Networking
[3] http://libvirt.org/sources/virshcmdref/html
[4] http://libvirt.org/archnetwork.html


More information about the LiSA-Devel mailing list