qemumigparamstest: Add basic test data

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Jiri Denemark 2018-03-19 23:46:46 +01:00
parent 40b186de27
commit b60a1185ce
7 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{
"compress-level": 1,
"compress-threads": 8,
"decompress-threads": 2,
"cpu-throttle-initial": 20,
"cpu-throttle-increment": 10,
"max-bandwidth": 33554432,
"downtime-limit": 300
}

View File

@ -0,0 +1,12 @@
{
"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
}
}

View File

@ -0,0 +1,11 @@
<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>

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,5 @@
{
"id": "libvirt-1",
"return": {
}
}

View File

@ -0,0 +1,4 @@
<test>
<migParams>
</migParams>
</test>

View File

@ -228,6 +228,8 @@ mymain(void)
} while (0)
DO_TEST("unsupported");
DO_TEST("empty");
DO_TEST("basic");
qemuTestDriverFree(&driver);