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
Updates for s390x platform

Signed-off-by: Bogdan Marcynkov <[email protected]>
  • Loading branch information
BohdanMar committed Nov 14, 2024
1 parent f022952 commit 85f6b66
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion qemu/tests/cfg/rng_bat.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
- @default:
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/rng_host_guest_read.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
2 changes: 1 addition & 1 deletion qemu/tests/cfg/rng_hotplug.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
start_rngd_service = "service rngd start"
s390x:
rng_driver = "virtio-rng-ccw"
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
- multi_rngs:
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/rng_maxbytes_period.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
- positive_test:
Expand Down
4 changes: 2 additions & 2 deletions qemu/tests/cfg/rng_read_longtime.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#rng_dll_register_cmd = if not exist "C:\Windows\system32\viorngum.dll" copy PATH:\INCLUDEDRIVER\viorngum.dll C:\Windows\system32\ /y &&"
session_cmd_timeout = 240
rng_dst = "c:\random_%PROCESSOR_ARCHITECTURE%.exe"
read_rng_cmd = for /l %i in (1, 1, 1000) do ${rng_dst}
read_rng_cmd = for /l %i in (1, 1, 1000) do ${rng_dst}
driver_name = "viorng"
rng_data_rex = "0x\w"
driver_id_pattern = "(.*?):.*?VirtIO RNG Device"
Expand Down Expand Up @@ -39,5 +39,5 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
2 changes: 1 addition & 1 deletion qemu/tests/cfg/rng_stress.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
start_rngd_service = "service rngd start"
s390x:
rng_driver = "virtio-rng-ccw"
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
- two_device:
Expand Down
2 changes: 1 addition & 1 deletion qemu/tests/cfg/viorng_in_use.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
check_rngd_service = "service rngd status"
start_rngd_service = "service rngd start"
s390x:
RHEL.9:
!RHEL.7,RHEL.8:
update_driver = "echo 'virtio_rng.0' > /sys/devices/virtual/misc/hw_random/rng_current"
variants:
- before_bg_test:
Expand Down

0 comments on commit 85f6b66

Please sign in to comment.