 6c4e9d487f
			
		
	
	
		6c4e9d487f
		
	
	
	
	
		
			
			Add a new RNG backend using QEMU builtin getrandom function.
It can be created and used with something like:
    ... -object rng-builtin,id=rng0 -device virtio-rng,rng=rng0 ...
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20190820160615.14616-2-lvivier@redhat.com>
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			535 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			535 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| common-obj-y += rng.o rng-egd.o rng-builtin.o
 | |
| common-obj-$(CONFIG_POSIX) += rng-random.o
 | |
| 
 | |
| common-obj-$(CONFIG_TPM) += tpm.o
 | |
| 
 | |
| common-obj-y += hostmem.o hostmem-ram.o
 | |
| common-obj-$(CONFIG_POSIX) += hostmem-file.o
 | |
| 
 | |
| common-obj-y += cryptodev.o
 | |
| common-obj-y += cryptodev-builtin.o
 | |
| 
 | |
| ifeq ($(CONFIG_VIRTIO_CRYPTO),y)
 | |
| common-obj-y += cryptodev-vhost.o
 | |
| common-obj-$(CONFIG_VHOST_CRYPTO) += cryptodev-vhost-user.o
 | |
| endif
 | |
| 
 | |
| common-obj-$(call land,$(CONFIG_VHOST_USER),$(CONFIG_VIRTIO)) += vhost-user.o
 | |
| 
 | |
| common-obj-$(CONFIG_LINUX) += hostmem-memfd.o
 |