]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: add kvm_ipc__send() and kvm_ipc__send_msg()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 20 Dec 2011 09:08:51 +0000 (17:08 +0800)
committerPekka Enberg <penberg@kernel.org>
Wed, 21 Dec 2011 20:28:08 +0000 (22:28 +0200)
commitce8c59eeaf8f24c47a7286935deab428f27a83c2
tree7b99da95c339c9f8c13baf1b03918e3e0735c493
parent999bd5a25cf03c1e463e2acff625e4e0939ab123
kvm tools: add kvm_ipc__send() and kvm_ipc__send_msg()

Current code write the sock manually. There is nothing constrains the format of
the written data is expect. Use kvm_ipc__send() and kvm_ipc__send_msg() for
such constraint.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/kvm-ipc.h
tools/kvm/kvm-ipc.c