From a7d46f12ac4f87ff3981a8f8ee14d700799d49ef Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 30 Jan 2014 23:32:22 +0100 Subject: gnu: vm: Run QEMU with '-enable-kvm'. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass QEMU '-enable-kvm'. --- gnu/system/vm.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/system') diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 151535303a..bd7718a14a 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -154,7 +154,7 @@ made available under the /xchg CIFS share." (#f '()))) (and (zero? - (system* qemu "-nographic" "-no-reboot" + (system* qemu "-enable-kvm" "-nographic" "-no-reboot" "-net" "nic,model=e1000" "-net" (string-append "user,smb=" (getcwd)) "-kernel" linux @@ -188,6 +188,7 @@ made available under the /xchg CIFS share." ("builder" ,user-builder) ,@inputs)))) (derivation-expression name builder + ;; TODO: Require the "kvm" feature. #:system system #:inputs inputs #:env-vars env-vars -- cgit v1.2.3