mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
services: childhurd: Bump default qemu memory to 2048MB.
When booting with pci-arbiter and rumpdisk and using 1024MB of memory for qemu, booting hangs, or seems to hang, at the end of the rumpdisk boot messages. At least 1200MB is required, currently. * gnu/services/virtualization.scm (<hurd-vm-configuration>)[memory-size]: Bump to 2048. * gnu/system/examples/bare-hurd.tmpl: Suggest using 2048 here too. Update example `guix system image' and "qemu" command lines too. Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
This commit is contained in:
parent
fe873fb417
commit
09657f3ee7
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2017 Ryan Moe <ryan.moe@gmail.com>
|
||||
;;; Copyright © 2018, 2020-2023 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2020,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2020, 2021, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
|
||||
;;; Copyright © 2022 Oleg Pykhalov <go.wigust@gmail.com>
|
||||
;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la>
|
||||
|
@ -1106,7 +1106,7 @@ (define-record-type* <hurd-vm-configuration>
|
|||
(disk-size hurd-vm-configuration-disk-size ;number or 'guess
|
||||
(default 'guess))
|
||||
(memory-size hurd-vm-configuration-memory-size ;number
|
||||
(default 512))
|
||||
(default 2048))
|
||||
(options hurd-vm-configuration-options ;list of string
|
||||
(default `("--snapshot")))
|
||||
(id hurd-vm-configuration-id ;#f or integer [1..]
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
;; To build a disk image for a virtual machine, do
|
||||
;;
|
||||
;; ./pre-inst-env guix system image --target=i586-pc-gnu \
|
||||
;; ./pre-inst-env guix system image --image-type=hurd-raw \
|
||||
;; gnu/system/examples/bare-hurd.tmpl
|
||||
;;
|
||||
;; You may run it like so
|
||||
;;
|
||||
;; guix environment --ad-hoc qemu -- qemu-system-i386 -enable-kvm -m 512M \
|
||||
;; guix shell qemu -- qemu-system-i386 -enable-kvm -m 2048 \
|
||||
;; -device rtl8139,netdev=net0 -netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \
|
||||
;; -snapshot -hda <the-image>
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue