diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-07 09:31:35 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-08-07 09:31:35 +0100 |
commit | b5b87cdb764dc757295316878a7fd6e2ff01bec4 (patch) | |
tree | 4be498378001dc98d35bfb5dc6e408ff557b371e /configure.ac | |
parent | 39e4f1dad208124640f0f795518390ba680a9704 (diff) | |
download | libguestfs-b5b87cdb764dc757295316878a7fd6e2ff01bec4.tar.gz libguestfs-b5b87cdb764dc757295316878a7fd6e2ff01bec4.tar.xz libguestfs-b5b87cdb764dc757295316878a7fd6e2ff01bec4.zip |
Allow network interface to be configured.
Add ./configure --with-net-if=(virtio|ne2k_pci) option.
This lets you workaround the following virtio_net bug:
https://bugzilla.redhat.com/show_bug.cgi?id=516022
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f6f1735d..cf0591d4 100644 --- a/configure.ac +++ b/configure.ac @@ -138,6 +138,17 @@ AC_ARG_WITH([drive-if], [with_drive_if=ide]) AC_DEFINE_UNQUOTED([DRIVE_IF],["$with_drive_if"],[Default drive interface.]) +dnl Set interface used by the network. Normally you should +dnl leave this at the default (virtio) but you can use the +dnl alternative (ne2k_pci) because of bugs in virtio networking +dnl eg. https://bugzilla.redhat.com/show_bug.cgi?id=516022 +AC_ARG_WITH([net-if], + [AS_HELP_STRING([--with-net-if], + [set default net driver (virtio|ne2k_pci) @<:@default=virtio@:>@])], + [], + [with_net_if=virtio]) +AC_DEFINE_UNQUOTED([NET_IF],["$with_net_if"],[Default network interface.]) + dnl Check for febootstrap etc. AC_CHECK_PROG([FEBOOTSTRAP], [febootstrap],[febootstrap],[no]) |