[Pkg-libvirt-maintainers] Bug#900538: virt-manager: Please allow ability to set vlan tag in GUI for SR-IOV pools.

Peter.Chubb at data61.csiro.au Peter.Chubb at data61.csiro.au
Fri Jun 1 02:30:48 BST 2018


Package: virt-manager
Version: 1:1.4.3-1
Severity: wishlist

Dear Maintainer,

I want to use an SR-IOV-capable NIC to provide different interfaces to a 
VM using KVM.  I have set up a network:
<network>
  <name>eno1-pool</name>
  <forward mode='hostdev' managed='yes'>
    <driver name='vfio'/>
    <pf dev='eno1'/>
  </forward>
</network>

and have allocated a NIC from the pool for virt-manager.

I can use virsh edit to add a vlan tag:
    <interface type='network'>
      <source network='eno1-pool'/>
      <vlan>
        <tag id='102'/>
      </vlan>
    </interface>
but:
   -- there's no way to view or change the vlan tag in virt-manager
   -- virt-manager adds a bogus `model' tag --- the actual model of NIC
      is passed through from the virtual function.

Please:
   1. Add ability to change the VLAN tag for this kind of interface.
   2. Grey out or otherwise disable the `device model' UI element,
      and don't add the <model> tag to the XML description (it's confusing)


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-1-amd64 (SMP w/56 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virt-manager depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.28.0-2
ii  gir1.2-gtk-3.0                               3.22.29-3
ii  gir1.2-gtk-vnc-2.0                           0.7.2-1
ii  gir1.2-libosinfo-1.0                         1.1.0-1
ii  gir1.2-libvirt-glib-1.0                      1.0.0-1
ii  gir1.2-vte-2.91                              0.52.0-1
ii  librsvg2-common                              2.40.20-2
ii  python                                       2.7.15~rc1-1
ii  python-dbus                                  1.2.8-2
ii  python-gi                                    3.28.2-1
ii  python-gi-cairo                              3.28.2-1
ii  python-libvirt                               4.0.0-1
ii  python-requests                              2.18.4-2
ii  python2.7                                    2.7.15-1
ii  virtinst                                     1:1.4.3-1

Versions of packages virt-manager recommends:
ii  gir1.2-spiceclientglib-2.0  0.34-1.1
ii  gir1.2-spiceclientgtk-3.0   0.34-1.1
ii  libvirt-daemon-system       4.3.0-1

Versions of packages virt-manager suggests:
pn  gir1.2-secret-1  <none>
pn  gnome-keyring    <none>
pn  python-guestfs   <none>
pn  ssh-askpass      <none>
ii  virt-viewer      6.0-2

-- no debconf information

-- 
Dr Peter Chubb         Tel: +61 2 9490 5852      http://ts.data61.csiro.au/
Trustworthy Systems Group                     Data61, CSIRO (formerly NICTA)


More information about the Pkg-libvirt-maintainers mailing list