diff mbox

[1/4] kvm-xfstests: qemu: prefer KVM over TCG

Message ID 1470265093-86525-2-git-send-email-kirill.shutemov@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kirill A . Shutemov Aug. 3, 2016, 10:58 p.m. UTC
QEmu by default uses Tiny Code Generator. Let's prefer KVM over it.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
---
 kvm-xfstests/kvm-xfstests | 1 +
 1 file changed, 1 insertion(+)

Comments

Theodore Ts'o Aug. 5, 2016, 8:58 p.m. UTC | #1
On Thu, Aug 04, 2016 at 01:58:10AM +0300, Kirill A. Shutemov wrote:
> QEmu by default uses Tiny Code Generator. Let's prefer KVM over it.
> 
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

Applied, thanks.

We use /usr/bin/kvm by default which uses kvm by default, but if you
are building your own qemu and specify the use of qemu-system-x86_64,
this would be needed.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/kvm-xfstests/kvm-xfstests b/kvm-xfstests/kvm-xfstests
index 7b50103f91fa..1f239976412c 100755
--- a/kvm-xfstests/kvm-xfstests
+++ b/kvm-xfstests/kvm-xfstests
@@ -72,6 +72,7 @@  fi
 chmod 400 "$VDH"
 
 $NO_ACTION $IONICE $QEMU -boot order=c $NET \
+	-machine type=pc,accel=kvm:tcg \
 	-drive file=$ROOT_FS,if=virtio$SNAPSHOT \
 	-drive file=$VDB,cache=none,if=virtio,format=raw \
 	-drive file=$VDC,cache=none,if=virtio,format=raw \