mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
virtio-ccw: Wire up virtio-rng.
Make virtio-rng devices available for s390-ccw-virtio machines. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
This commit is contained in:
parent
b8a205f2ed
commit
2362ecc5c6
2 changed files with 62 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
#include <hw/virtio-net.h>
|
||||
#include <hw/virtio-serial.h>
|
||||
#include <hw/virtio-scsi.h>
|
||||
#include <hw/virtio-rng.h>
|
||||
#include <hw/virtio-bus.h>
|
||||
|
||||
#define VIRTUAL_CSSID 0xfe
|
||||
|
@ -77,6 +78,7 @@ struct VirtioCcwDevice {
|
|||
virtio_serial_conf serial;
|
||||
virtio_net_conf net;
|
||||
VirtIOSCSIConf scsi;
|
||||
VirtIORNGConf rng;
|
||||
VirtioBusState bus;
|
||||
/* Guest provided values: */
|
||||
hwaddr indicators;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue