Skip to content

Commit

Permalink
Merge pull request #6034 from smitterl/fix_rng
Browse files Browse the repository at this point in the history
libvirt_rng: fix snapshot with egd
  • Loading branch information
Yingshun authored Jan 16, 2025
2 parents db54719 + 6174892 commit 151182c
Show file tree
Hide file tree
Showing 3 changed files with 377 additions and 250 deletions.
8 changes: 3 additions & 5 deletions libvirt/tests/cfg/security/rng/libvirt_rng.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,14 @@
rng_rate = "{'bytes':'5000','period':'2000'}"
backend_model = "builtin"
- rng_snapshot:
snapshot_name = "rng.s"
test_snapshot = "yes"
variants:
- snapshot_running:
snap_options = "%s --memspec "
mem_files = ["/var/lib/libvirt/images/avocado-memory.s1", "/var/lib/libvirt/images/avocado-memory.s2"]
snapshot_vm_running = "yes"
test_snapshot = "yes"
- snapshot_shutoff:
snap_options = "%s --disk-only"
test_snapshot = "yes"
variants:
- back_rdm:
backend_dev = "/dev/random"
Expand All @@ -135,13 +133,13 @@
- back_udp:
backend_model = "egd"
backend_type = "udp"
backend_source = "{'mode':'bind','service':'1234'} {'mode':'connect','host':'1.2.3.4','service':'1234'}"
backend_source = "{'mode':'bind','service':'1024'} {'mode':'connect','host':'127.0.0.1','service':'1234'}"
- multiple_rng:
device_num = 3
backend_dev_0 = "/dev/random"
backend_dev_1 = "/dev/random"
backend_model_2 = "egd"
backend_type_2 = "udp"
backend_source_2 = "{'mode':'connect','host':'1.2.3.4','service':'1234'}"
backend_source_2 = "{'mode':'connect','host':'127.0.0.1','service':'1234'}"
test_qemu_cmd = "yes"
test_guest = "yes"
Loading

0 comments on commit 151182c

Please sign in to comment.