[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: qemu: Enable spice usb redirection support.
From: |
Ludovic Courtès |
Subject: |
01/08: gnu: qemu: Enable spice usb redirection support. |
Date: |
Thu, 19 Oct 2017 06:20:36 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b376ec57f982dad27feb13be7f1b9694e76625d1
Author: Andy Patterson <address@hidden>
Date: Sun Oct 15 16:03:22 2017 -0400
gnu: qemu: Enable spice usb redirection support.
* gnu/packages/virtualization.scm (qemu)[arguments]<#:configure-flags>: New
argument.
[inputs]: Add usbredir.
(qemu-minimal)[arguments]<#:configure-flags>: Restrict them even when they
are
set by qemu.
[inputs]: Remove usbredir.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/virtualization.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 4e384e7..49dee07 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
;;; Copyright © 2017 Alex Vong <address@hidden>
+;;; Copyright © 2017 Andy Patterson <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -85,7 +86,7 @@
'(;; Running tests in parallel can occasionally lead to failures, like:
;; boot_sector_test: assertion failed (signature == SIGNATURE):
(0x00000000 == 0x0000dead)
#:parallel-tests? #f
-
+ #:configure-flags '("--enable-usb-redir")
#:phases
(modify-phases %standard-phases
(replace 'configure
@@ -152,6 +153,7 @@
("pixman" ,pixman)
("sdl" ,sdl)
("spice" ,spice)
+ ("usbredir" ,usbredir)
("util-linux" ,util-linux)
;; ("vde2" ,vde2)
("virglrenderer" ,virglrenderer)
@@ -188,14 +190,15 @@ server and embedded PowerPC, and S390 guests.")
(name "qemu-minimal")
(synopsis "Machine emulator and virtualizer (without GUI)")
(arguments
- `(#:configure-flags
- ;; Restrict to the targets supported by Guix.
-
'("--target-list=i386-softmmu,x86_64-softmmu,mips64el-softmmu,arm-softmmu,aarch64-softmmu")
- ,@(package-arguments qemu)))
+ (substitute-keyword-arguments (package-arguments qemu)
+ ((#:configure-flags _ '(list))
+ ;; Restrict to the targets supported by Guix.
+
''("--target-list=i386-softmmu,x86_64-softmmu,mips64el-softmmu,arm-softmmu,aarch64-softmmu"))))
;; Remove dependencies on optional libraries, notably GUI libraries.
(inputs (fold alist-delete (package-inputs qemu)
- '("libusb" "mesa" "sdl" "spice" "virglrenderer")))))
+ '("libusb" "mesa" "sdl" "spice" "virglrenderer"
+ "usbredir")))))
(define-public libosinfo
(package
- branch master updated (ad3c61f -> d1c1141), Ludovic Courtès, 2017/10/19
- 02/08: gnu: spice-gtk: Enable GObject introspection support., Ludovic Courtès, 2017/10/19
- 03/08: gnu: virt-manager: Enable spice-gtk support., Ludovic Courtès, 2017/10/19
- 07/08: gnu: speex: Build and install 'speexdec' and 'speexenc'., Ludovic Courtès, 2017/10/19
- 04/08: gnu: qemu: Add OpenGL support., Ludovic Courtès, 2017/10/19
- 05/08: gnu: virt-manager: Enable statistics graphing support., Ludovic Courtès, 2017/10/19
- 01/08: gnu: qemu: Enable spice usb redirection support.,
Ludovic Courtès <=
- 08/08: gnu: emacs: Fix Man default C header file search path., Ludovic Courtès, 2017/10/19
- 06/08: gnu: virt-manager: Fix default URI check., Ludovic Courtès, 2017/10/19