From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jookia <166291@gmail.com> Subject: bug#22633: Provide a kvm-less qemu / guix system vm Date: Tue, 23 Feb 2016 06:43:02 +1100 Message-ID: <20160222194302.GA7176@novena-choice-citizen.lan> References: <87oabnqhv3.fsf@dustycloud.org> <20160211225009.GA4943@novena-choice-citizen.lan> <87oabm2tfa.fsf@gnu.org> <87ziv595xb.fsf@dustycloud.org> <87twl2xo6c.fsf@gnu.org> <87si0k8th9.fsf@dustycloud.org> <87r3g48rnh.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXwQo-0007Ll-PY for bug-guix@gnu.org; Mon, 22 Feb 2016 14:46:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXwQk-00072D-P8 for bug-guix@gnu.org; Mon, 22 Feb 2016 14:46:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXwQk-000729-MQ for bug-guix@gnu.org; Mon, 22 Feb 2016 14:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXwQk-00038W-HM for bug-guix@gnu.org; Mon, 22 Feb 2016 14:46:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87r3g48rnh.fsf@dustycloud.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: 22633@debbugs.gnu.org On Mon, Feb 22, 2016 at 11:35:30AM -0800, Christopher Allan Webber wrote: > #~(string-append > - " -enable-kvm -no-reboot -net nic,model=virtio \ > + ;; Only enable kvm if we see /dev/kvm exists. > + ;; This allows uers without hardware virtualization to still use these > + ;; commands. > + #$(if (file-exists? "/dev/kvm") > + " -enable-kvm " > + "") > + " -no-reboot -net nic,model=virtio \ > " #$@(map virtfs-option shared-fs) " \ > -net user \ > -serial stdio -vga std \ > -- > 2.6.3 What if I enable KVM then run the script? Jookia.