services: qemu-binfmt: Add x86_64 QEMU target.
* gnu/services/virtualization.scm (%x86_64): New variable. (%qemu-platforms) Add it. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
		
							parent
							
								
									e080080e6b
								
							
						
					
					
						commit
						9ad311ec15
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
					@ -28,6 +28,7 @@
 | 
				
			||||||
;;; Copyright © 2022 Ekaitz Zarraga <ekaitz@elenq.tech>
 | 
					;;; Copyright © 2022 Ekaitz Zarraga <ekaitz@elenq.tech>
 | 
				
			||||||
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
 | 
					;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
 | 
				
			||||||
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
 | 
					;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
 | 
				
			||||||
 | 
					;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -611,6 +611,13 @@ used to manage logs from @acronym{VM, virtual machine} consoles.")))
 | 
				
			||||||
   (magic (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00"))
 | 
					   (magic (bv "\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00"))
 | 
				
			||||||
   (mask (bv "\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"))))
 | 
					   (mask (bv "\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define %x86_64
 | 
				
			||||||
 | 
					  (qemu-platform
 | 
				
			||||||
 | 
					   (name "x86_64")
 | 
				
			||||||
 | 
					   (family "i386")
 | 
				
			||||||
 | 
					   (magic (bv "\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00"))
 | 
				
			||||||
 | 
					   (mask (bv "\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff"))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define %alpha
 | 
					(define %alpha
 | 
				
			||||||
  (qemu-platform
 | 
					  (qemu-platform
 | 
				
			||||||
   (name "alpha")
 | 
					   (name "alpha")
 | 
				
			||||||
| 
						 | 
					@ -767,7 +774,7 @@ used to manage logs from @acronym{VM, virtual machine} consoles.")))
 | 
				
			||||||
   (mask (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff"))))
 | 
					   (mask (bv "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff"))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define %qemu-platforms
 | 
					(define %qemu-platforms
 | 
				
			||||||
  (list %i386 %alpha %arm %sparc32plus %ppc %ppc64 %ppc64le %m68k
 | 
					  (list %i386 %x86_64 %alpha %arm %sparc32plus %ppc %ppc64 %ppc64le %m68k
 | 
				
			||||||
        %mips %mipsel %mipsn32 %mipsn32el %mips64 %mips64el
 | 
					        %mips %mipsel %mipsn32 %mipsn32el %mips64 %mips64el
 | 
				
			||||||
        %riscv32 %riscv64 %sh4 %sh4eb %s390x %aarch64 %hppa))
 | 
					        %riscv32 %riscv64 %sh4 %sh4eb %s390x %aarch64 %hppa))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue