summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-08 10:18:31 +0000
committerRichard Jones <rjones@redhat.com>2010-02-08 10:18:31 +0000
commit6c97a65ce768b357a1481cde0533d4cf0b8b931c (patch)
treec7ce9788990f4f1c62c22b6ebaadd99047bdf1cd
parenta1d388f25859b1c205aebb04dcd4846aa47027a1 (diff)
downloadlibguestfs-6c97a65ce768b357a1481cde0533d4cf0b8b931c.tar.gz
libguestfs-6c97a65ce768b357a1481cde0533d4cf0b8b931c.tar.xz
libguestfs-6c97a65ce768b357a1481cde0533d4cf0b8b931c.zip
Make virtio block driver be the default for the appliance.
Previously this caused a serious performance regression, but we believe this is now fixed: https://bugzilla.redhat.com/show_bug.cgi?id=509383
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index e40a0422..2fd83fbe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,13 +227,13 @@ fi
dnl Set drive interface used by the guestfs_add_drive{,_ro} calls
dnl ('-drive ...,if=...' option to qemu).
dnl
-dnl NB. We will change the default in future to virtio, but at the
-dnl moment this causes a performance problem, RHBZ#509383.
+dnl If you encounter performance problems with virtio (RHBZ#509383)
+dnl then try '--with-drive-if=ide'.
AC_ARG_WITH([drive-if],
[AS_HELP_STRING([--with-drive-if],
- [set default driver (ide|scsi|virtio) @<:@default=ide@:>@])],
+ [set default driver (ide|scsi|virtio) @<:@default=virtio@:>@])],
[],
- [with_drive_if=ide])
+ [with_drive_if=virtio])
AC_DEFINE_UNQUOTED([DRIVE_IF],["$with_drive_if"],[Default drive interface.])
dnl Set interface used by the network. Normally you should