]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: fix config input device check
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Wed, 20 Apr 2016 08:58:21 +0000 (11:58 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Wed, 20 Apr 2016 15:26:58 +0000 (18:26 +0300)
commit2df46859057b07f0cc54b450250147f570720dcf
treea1c301c9cf9f1f493768c6c605248b743b4f1e0e
parent77dfa91192f19a80ffda51e937b781f82fa58797
vz: fix config input device check

We don't have input devices in SDK thus for define/dumpxml
operations to be consistent we need to:

1. on dumpxml: infer input devices from other parts of config.
It is already done in prlsdkLoadDomain.

2. on define: check that input devices are the same that
will be infer back on dumpxml operation.

The second part should be fixed.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
src/vz/vz_sdk.c