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

Rename struct kvm_ipc_msg to struct kvm_ipc_head.
Change current kvm_ipc__new_data() to kvm_ipc__receive().
Don't allocate memory for the msg head.

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