]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: enforce VIR_TYPED_PARAM_STRING_OKAY flag on client side serialization
authorJoao Martins <joao.m.martins@oracle.com>
Fri, 5 Feb 2016 19:24:05 +0000 (19:24 +0000)
committerErik Skultety <eskultet@redhat.com>
Mon, 8 Feb 2016 13:59:54 +0000 (14:59 +0100)
commitd9c57ca9f97a7856dcc465f2c3bfbdf36f049b74
tree63db107878c2bc384bd5c5942e6d55e589d6d0e9
parenta0aa92a24b2827fd6c665e2d00b218feb3573e95
remote: enforce VIR_TYPED_PARAM_STRING_OKAY flag on client side serialization

Commit 8cd1d54 consolidates both daemon and remote driver typed param
serialization functions. The consolidation now enforces client to use
VIR_TYPED_PARAM_STRING_OKAY flag to properly serialize string parameters, which
server has used for quite some time now. And this caused an issue, since the
commit had not adjusted client remote calls appropriately, thus causing a
failure in blkiotune, numatune and migration APIs (as per Xen CI tests). This
patch adjusts both remote_driver.c and gendispatch.pl to properly address this
issue.

http://lists.xenproject.org/archives/html/xen-devel/2016-02/msg01012.html

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/remote/remote_driver.c
src/rpc/gendispatch.pl