Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
--- /dev/null
+{
+ "compress-level": 1,
+ "compress-threads": 8,
+ "decompress-threads": 2,
+ "cpu-throttle-initial": 20,
+ "cpu-throttle-increment": 10,
+ "max-bandwidth": 33554432,
+ "downtime-limit": 300
+}
--- /dev/null
+{
+ "id": "libvirt-1",
+ "return": {
+ "decompress-threads": 2,
+ "cpu-throttle-increment": 10,
+ "compress-threads": 8,
+ "compress-level": 1,
+ "cpu-throttle-initial": 20,
+ "max-bandwidth": 33554432,
+ "downtime-limit": 300
+ }
+}
--- /dev/null
+<test>
+ <migParams>
+ <param name='compress-level' value='1'/>
+ <param name='compress-threads' value='8'/>
+ <param name='decompress-threads' value='2'/>
+ <param name='cpu-throttle-initial' value='20'/>
+ <param name='cpu-throttle-increment' value='10'/>
+ <param name='max-bandwidth' value='33554432'/>
+ <param name='downtime-limit' value='300'/>
+ </migParams>
+</test>
--- /dev/null
+{
+ "id": "libvirt-1",
+ "return": {
+ }
+}
--- /dev/null
+<test>
+ <migParams>
+ </migParams>
+</test>
} while (0)
DO_TEST("unsupported");
+ DO_TEST("empty");
+ DO_TEST("basic");
qemuTestDriverFree(&driver);