[Pkg-libvirt-maintainers] Bug#597170: virt-manager: Can not select e1000 nic model for XEN

Boris Savelev boris.savelev at gmail.com
Fri Sep 17 09:28:35 UTC 2010


Package: virt-manager
Version: 0.8.4-7
Severity: normal

from xen 3.4 XEN hvm, like kvm, allow to use net_model=e1000, but virt-managet
not allow to do this

http://wiki.xensource.com/xenwiki/XenCommonProblems#head-
590a79b0e53661f0a8f2521b06fc4a2b4ef8fce8


I solved this problem with editing uihelpers.py

--- virtManager/uihelpers.py.orig       2010-09-17 13:27:02.000000000 +0400
+++ virtManager/uihelpers.py    2010-09-17 13:26:49.000000000 +0400
@@ -185,9 +185,9 @@
     # [xml value, label]
     model.append([None, _("Hypervisor default")])
     if vm.is_hvm():
-        mod_list = [ "rtl8139", "ne2k_pci", "pcnet" ]
+        mod_list = [ "rtl8139", "ne2k_pci", "pcnet", "e1000" ]
         if vm.get_hv_type() == "kvm":
-            mod_list.append("e1000")
+#            mod_list.append("e1000")
             mod_list.append("virtio")
         mod_list.sort()




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virt-manager depends on:
ii  gconf2                        2.28.1-3   GNOME configuration database syste
ii  librsvg2-common               2.26.3-1   SAX-based renderer library for SVG
ii  python                        2.6.6-1    interactive high-level object-orie
ii  python-dbus                   0.83.1-1   simple interprocess messaging syst
ii  python-glade2                 2.17.0-4   GTK+ bindings: Glade support
ii  python-gnome2                 2.28.1-1   Python bindings for the GNOME desk
ii  python-gtk-vnc                0.4.1-3    A VNC viewer widget for GTK+ (Pyth
ii  python-gtk2                   2.17.0-4   Python bindings for the GTK+ widge
ii  python-libvirt                0.8.3-1    libvirt Python bindings
ii  python-support                1.0.10     automated rebuilding support for P
ii  python-urlgrabber             3.9.1-4    A high-level cross-protocol url-gr
ii  python-vte                    1:0.24.3-1 Python bindings for the VTE widget
ii  virtinst                      0.500.3-2  Programs to create and clone virtu

Versions of packages virt-manager recommends:
ii  gnome-icon-theme              2.30.3-1   GNOME Desktop icon theme
ii  libvirt-bin                   0.8.3-1    the programs for the libvirt libra

Versions of packages virt-manager suggests:
pn  ssh-askpass                   <none>     (no description available)
ii  virt-viewer                   0.2.1-1    Displaying the graphical console o

-- debconf-show failed





More information about the Pkg-libvirt-maintainers mailing list