mirror of
				https://github.com/containers/podman.git
				synced 2025-11-01 02:42:11 +08:00 
			
		
		
		
	 a9401deadd
			
		
	
	a9401deadd
	
	
	
		
			
			Macs no longer support QEMU as a provider, build tag it out. Signed-off-by: Ashley Cui <acui@redhat.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			233 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			233 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build linux && amd64
 | |
| 
 | |
| package qemu
 | |
| 
 | |
| var (
 | |
| 	QemuCommand = "qemu-system-x86_64"
 | |
| )
 | |
| 
 | |
| func (q *QEMUStubber) addArchOptions(_ *setNewMachineCMDOpts) []string {
 | |
| 	opts := []string{
 | |
| 		"-accel", "kvm",
 | |
| 		"-cpu", "host",
 | |
| 	}
 | |
| 	return opts
 | |
| }
 |