Skip to content

Commit

Permalink
RNG: guest report driver updates for RHEL.7,RHEL.8
Browse files Browse the repository at this point in the history
ID: KVMAUTOMA-2669

Signed-off-by: Bogdan Marcynkov <[email protected]>
  • Loading branch information
BohdanMar committed Nov 5, 2024
1 parent 9a57983 commit 2511abe
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qemu/tests/cfg/rng_bat.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
Expand Down
2 changes: 2 additions & 0 deletions qemu/tests/cfg/rng_host_guest_read.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
2 changes: 2 additions & 0 deletions qemu/tests/cfg/rng_hotplug.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
start_rngd_service = "service rngd start"
s390x:
rng_driver = "virtio-rng-ccw"
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
Expand Down
2 changes: 2 additions & 0 deletions qemu/tests/cfg/rng_maxbytes_period.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
Expand Down
2 changes: 2 additions & 0 deletions qemu/tests/cfg/rng_read_longtime.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
2 changes: 2 additions & 0 deletions qemu/tests/cfg/rng_stress.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
start_rngd_service = "service rngd start"
s390x:
rng_driver = "virtio-rng-ccw"
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
Expand Down
2 changes: 2 additions & 0 deletions qemu/tests/cfg/viorng_in_use.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
RHEL.9:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
Expand Down

0 comments on commit 2511abe

Please sign in to comment.