all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: 22633@debbugs.gnu.org
Subject: bug#22633: Provide a kvm-less qemu / guix system vm
Date: Fri, 12 Feb 2016 19:47:14 -0500	[thread overview]
Message-ID: <20160213004714.GA27228@jasmine> (raw)
In-Reply-To: <87y4ap954w.fsf@dustycloud.org>

On Fri, Feb 12, 2016 at 10:04:47AM -0800, Christopher Allan Webber wrote:
> Leo Famulari writes:
> 
> > On Fri, Feb 12, 2016 at 09:50:09AM +1100, Jookia wrote:
> >> On Thu, Feb 11, 2016 at 09:26:12AM -0800, Christopher Allan Webber wrote:
> >> > So on my Libreboot-enabled machine, KVM does not work.  In fact, even
> >> > starting qemu with KVM enabled on it appears to crash my whole system.
> >> > Not only does "guix system vm" not work, even "guix system vm-image" can
> >> > take the whole machine down!
> >> 
> >> Currently the 'solution' I've found is to edit Guix to remove the two instances
> >> of '--enable-kvm' which works somewhat, though it's slower as there's absolutely
> >> no acceleration.
> >> 
> >> > It would be nice to have a --no-kvm switch, because I'd really like to
> >> > make use of Guix's nice VM features!
> >
> > It's not a proper fix, but this patch achieves that on my non-Libreboot
> > machine. Can you see if it works for you?
> >
> > [...]
> 
> Good news there, that does work and I am able to boot a VM through that
> route!
> 
> I would really like to be able to protect myself from accidentally
> crashing my system by making sure that if /dev/kvm is not there that we
> don't do --enable-kvm, so maybe I could do that if we can figure out how
> to make blacklisting actually work.  In the meanwhile, maybe I should
> add a --no-kvm flag to "guix system vm"?

We definitely want to automatically disable KVM if it's not available.
But I think it would also be useful to have a --no-kvm option.

  reply	other threads:[~2016-02-13  0:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 17:26 bug#22633: Provide a kvm-less qemu / guix system vm Christopher Allan Webber
2016-02-11 22:50 ` Jookia
2016-02-12  0:49   ` Leo Famulari
2016-02-12 18:04     ` Christopher Allan Webber
2016-02-13  0:47       ` Leo Famulari [this message]
2016-02-12  9:02   ` Ludovic Courtès
2016-02-12 17:47     ` Christopher Allan Webber
2016-02-13 19:10       ` Alex Kost
2016-02-21 12:09         ` Ludovic Courtès
2016-02-23  8:08           ` Alex Kost
2016-02-21 12:06       ` Ludovic Courtès
2016-02-22 18:56         ` Christopher Allan Webber
2016-02-22 19:35           ` Christopher Allan Webber
2016-02-22 19:43             ` Jookia
2016-02-22 21:27               ` Christopher Allan Webber
2016-02-22 21:09             ` Ludovic Courtès
2016-02-22 21:30               ` Christopher Allan Webber
2016-02-23 16:13                 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160213004714.GA27228@jasmine \
    --to=leo@famulari.name \
    --cc=22633@debbugs.gnu.org \
    --cc=cwebber@dustycloud.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.