[virt-tools-list] [PATCH 2 of 2] Change network device for FreeBSD 8.x to e1000

Diego E. 'Flameeyes' Pettenò flameeyes at gmail.com
Mon Jul 26 10:24:08 UTC 2010


# HG changeset patch
# User Diego E. 'Flameeyes' Pettenò <flameeyes at gmail.com>
# Date 1280137796 -7200
# Node ID 2131113b03d4d6e2142b57f8067f0d414957e911
# Parent  687a4e73591c90eb7026cbeaf475864c43d23a35
Change network device for FreeBSD 8.x to e1000

Using the FreeBSD 7.x model (ne2k_pci) causes errors related to corruption
of NIC memory with both 8.0 and 8.1, while e1000 works just fine.

diff --git a/virtinst/osdict.py b/virtinst/osdict.py
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -400,6 +400,10 @@ OS_TYPES = {
                       "devices" : {
                         NET : { "model" : [ (HV_ALL, "ne2k_pci") ] }
                       }},
+        "freebsd8": { "label": "FreeBSD 8.x" ,
+                      "devices" : {
+                        NET : { "model" : [ (HV_ALL, "e1000") ] }
+                      }},
         "openbsd4": { "label": "OpenBSD 4.x" ,
                       # http://calamari.reverse-dns.net:980/cgi-bin/moin.cgi/OpenbsdOnQemu
                       # https://www.redhat.com/archives/et-mgmt-tools/2008-June/msg00018.html




More information about the virt-tools-list mailing list