GNU bug report logs - #35461
[PATCH] vm: Pass -smp to QEMU to allow use of multiple cores.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sat, 27 Apr 2019 20:45:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Subject: bug#35461: closed (Re: [bug#35461] [PATCH] vm: Pass -smp to QEMU
 to allow use of multiple cores.)
Date: Mon, 29 Apr 2019 20:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35461: [PATCH] vm: Pass -smp to QEMU to allow use of multiple cores.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35461 <at> debbugs.gnu.org.

-- 
35461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35461
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35461-done <at> debbugs.gnu.org
Subject: Re: [bug#35461] [PATCH] vm: Pass -smp to QEMU to allow use of
 multiple cores.
Date: Mon, 29 Apr 2019 21:12:59 +0100
[Message part 3 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> * gnu/build/vm.scm (load-in-linux-vm): Pass (parallel-job-count) to QEMU with
>> -smp to allow using multiple cores.
>
> Good idea, LGTM!

Great, I've pushed this to master now.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] vm: Pass -smp to QEMU to allow use of multiple cores.
Date: Sat, 27 Apr 2019 21:43:25 +0100
* gnu/build/vm.scm (load-in-linux-vm): Pass (parallel-job-count) to QEMU with
-smp to allow using multiple cores.
---
 gnu/build/vm.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index 372cf63c68..ac99d6b1a3 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -145,6 +145,7 @@ the #:references-graphs parameter of 'derivation'."
     (_ #f))
 
   (apply invoke qemu "-nographic" "-no-reboot"
+         "-smp" (number->string (parallel-job-count))
          "-m" (number->string memory-size)
          "-object" "rng-random,filename=/dev/urandom,id=guixsd-vm-rng"
          "-device" "virtio-rng-pci,rng=guixsd-vm-rng"
-- 
2.21.0




This bug report was last modified 6 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.