#
e1063726 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: kvm-ipc cleanup
Move all the kvm-ipc specific code into the relevant file, and modify the ipc callback to pass a ptr to struct kvm as well.
Signed-off-by: Sasha Levin <levinsasha928@gmai
kvm tools: kvm-ipc cleanup
Move all the kvm-ipc specific code into the relevant file, and modify the ipc callback to pass a ptr to struct kvm as well.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
7021c50b |
| 22-Dec-2011 |
Asias He <asias.hejun@gmail.com> |
kvm tools: Introduce KVM_IPC_VMSTATE IPC cmd
This can be used to get vm status information:
vm is running or paused.
Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Pekka Enberg <pe
kvm tools: Introduce KVM_IPC_VMSTATE IPC cmd
This can be used to get vm status information:
vm is running or paused.
Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
50dc18ae |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
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__se
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>
show more ...
|
#
a9aae6c5 |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
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:
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>
show more ...
|
#
44a56bfd |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
kvm tools: cleanup kvm_ipc__handle()
Make it be a static function. Expland to kvm_ipc_msg to its arguments.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@
kvm tools: cleanup kvm_ipc__handle()
Make it be a static function. Expland to kvm_ipc_msg to its arguments.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
c733c80b |
| 25-Oct-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Add method to stop ipc thread
Stop the ipc thread when shutting down the hypervisor.
This solves a bug where the .sock files weren't removed upon shutdown.
Reported-by: Osier Yang <jyan
kvm tools: Add method to stop ipc thread
Stop the ipc thread when shutting down the hypervisor.
This solves a bug where the .sock files weren't removed upon shutdown.
Reported-by: Osier Yang <jyang@redhat.com> Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
4b1addae |
| 16-Oct-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Switch to using UNIX sockets instead of signals
This patch changes the IPC method to use UNIX sockets instead of signals.
This allows for more flexibility in moving data between processe
kvm tools: Switch to using UNIX sockets instead of signals
This patch changes the IPC method to use UNIX sockets instead of signals.
This allows for more flexibility in moving data between processes, for example it would allow avoid printing output in the terminal of the guest.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|