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

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



On Mon, Jul 26, 2010 at 12:24:08PM +0200, Diego E. 'Flameeyes' Pettenò wrote:
> # 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

Using e1000 instead of ne2k is good for performance too - if earlier FreeBSD
support the e1000 you might want to change those too

Regards,
Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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