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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35461 in the body.
You can then email your comments to 35461 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#35461; Package guix-patches. (Sat, 27 Apr 2019 20:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 27 Apr 2019 20:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Information forwarded to guix-patches <at> gnu.org:
bug#35461; Package guix-patches. (Mon, 29 Apr 2019 07:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 35461 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 35461 <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 09:49:21 +0200
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!




Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Mon, 29 Apr 2019 20:14:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Mon, 29 Apr 2019 20:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 35461-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 May 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 307 days ago.

Previous Next


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