From: Richard Jones Date: Mon, 8 Feb 2010 10:18:31 +0000 (+0000) Subject: Make virtio block driver be the default for the appliance. X-Git-Tag: 1.0.84~13 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=6c97a65ce768b357a1481cde0533d4cf0b8b931c;hp=a1d388f25859b1c205aebb04dcd4846aa47027a1 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 --- 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