#
e333e41a |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
kvm tools: carefully send and handle stop ipc
Remove struct stop_cmd and use kvm_ipc__send().
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
715bbf8b |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
kvm tools: cleanup kvm_cmd_stop()
Use stack variable. Remove unneeded branch. Close opened file.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
8d2ff5da |
| 17-Dec-2011 |
Wanlong Gao <wanlong.gao@gmail.com> |
kvm tools: change the binary name from kvm to lkvm for commands' usage
Commands' usage : Change the binary name from *kvm* to *lkvm*, since commit ad3efb18 has done it.
Signed-off-by: Wanlong Gao <
kvm tools: change the binary name from kvm to lkvm for commands' usage
Commands' usage : Change the binary name from *kvm* to *lkvm*, since commit ad3efb18 has done it.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.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 ...
|
#
66ce4f5e |
| 15-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Use correct data type for pid
This patch fixes an error where pids used u64 instead of pid_t, causing them to never be negative.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Sign
kvm tools: Use correct data type for pid
This patch fixes an error where pids used u64 instead of pid_t, causing them to never be negative.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
7a6144aa |
| 13-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Fix wrong kill() PID in commands
There was a mixup in the balloon usage string and some of the commands were retrieving the instance name from the wrong place. This will cause the command
kvm tools: Fix wrong kill() PID in commands
There was a mixup in the balloon usage string and some of the commands were retrieving the instance name from the wrong place. This will cause the commands to issue kill() with negative PIDs (which sends the signal to every process in the system). Without this patch, 'kvm command instance' will do crazy things like restart whole Gnome session.
Tested-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
09af335b |
| 12-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Improve 'kvm stop' parameters
kvm stop now uses the git option parser to parse parameters.
Added option to stop instance by PID and stop all instances.
Improved usage message.
Signed-o
kvm tools: Improve 'kvm stop' parameters
kvm stop now uses the git option parser to parse parameters.
Added option to stop instance by PID and stop all instances.
Improved usage message.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
0725673a |
| 12-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Connect existing command helpers to 'kvm help'
This patch connects usage helpers to 'kvm help' callbacks, allowing to see help about a command by doing 'kvm help [command]'.
Signed-off-b
kvm tools: Connect existing command helpers to 'kvm help'
This patch connects usage helpers to 'kvm help' callbacks, allowing to see help about a command by doing 'kvm help [command]'.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
c9cba791 |
| 10-Aug-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tool: Fix builtin command usage printouts
This patch fixes builtin commands to use usage_with_options() instead of die(). The latter prefixes messages with "Fatal" which makes the usage text ugl
kvm tool: Fix builtin command usage printouts
This patch fixes builtin commands to use usage_with_options() instead of die(). The latter prefixes messages with "Fatal" which makes the usage text ugly.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Prasad Joshi <prasadjoshi124@gmail.com> Cc: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
886af5f2 |
| 10-Aug-2011 |
Liming Wang <walimisdev@gmail.com> |
kvm tools: convert callback to int and deal with the return value
callback function maybe fail, so we should deal with the return value.
Signed-off-by: Liming Wang <walimisdev@gmail.com> Signed-off
kvm tools: convert callback to int and deal with the return value
callback function maybe fail, so we should deal with the return value.
Signed-off-by: Liming Wang <walimisdev@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
daf4cb5a |
| 05-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Add 'kvm stop'
This command stops a running instance.
Syntax: kvm stop [instance name]
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.o
kvm tools: Add 'kvm stop'
This command stops a running instance.
Syntax: kvm stop [instance name]
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|