From 6c97a65ce768b357a1481cde0533d4cf0b8b931c Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 8 Feb 2010 10:18:31 +0000 Subject: [PATCH] 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 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index e40a042..2fd83fb 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 -- 1.8.3.1