diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-01-30 23:32:22 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-01-30 23:32:22 +0100 |
commit | a7d46f12ac4f87ff3981a8f8ee14d700799d49ef (patch) | |
tree | 89df99e6d2f6db36ed168e14235f7d15ea9b8131 /gnu | |
parent | 668c06acfc29f1063559c37ef184f436a7b7a8e8 (diff) | |
download | patches-a7d46f12ac4f87ff3981a8f8ee14d700799d49ef.tar patches-a7d46f12ac4f87ff3981a8f8ee14d700799d49ef.tar.gz |
gnu: vm: Run QEMU with '-enable-kvm'.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass QEMU
'-enable-kvm'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/system/vm.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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 |