]> git.proxmox.com Git - qemu-server.git/commit - test/snapshot-test.pm
snapshot-test: mock query-savevm better
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 18 Feb 2021 13:52:34 +0000 (14:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Feb 2021 20:20:06 +0000 (21:20 +0100)
commit483c9676f86b2efaca2f2eef4c08e6c4a34977b7
treeab56a1f1b58c7bab0c7b7d8501bc1b58f4b2102f
parentee9255601e8b676fb048683b4bcc13582834b4d1
snapshot-test: mock query-savevm better

Otherwise the new printing functions produce warnings about undefined
numbers. These stats are guaranteed to be returned by real QEMU, so mock
them with some sensible values.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
test/snapshot-test.pm