[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



# HG changeset patch
# User Diego E. 'Flameeyes' Pettenò <flameeyes 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]