#
08ffc82a |
| 27-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
kvm tools: Check the state before pause/resume
Let the user know what happened
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
2fa65af3 |
| 22-Dec-2011 |
Asias He <asias.hejun@gmail.com> |
kvm tools: Improve 'lkvm {pause,resume}'s output
lkvm {pause,resume} do not give any feedback to user who uses these commands in the console where the command run.
This patch makes the command outp
kvm tools: Improve 'lkvm {pause,resume}'s output
lkvm {pause,resume} do not give any feedback to user who uses these commands in the console where the command run.
This patch makes the command output in the command console instead of guest console.
Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
5aa502e4 |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
kvm tools: carefully send and handle pause/resume ipc
Remove struct pause_cmd/resume_cmd and use kvm_ipc__send().
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <pe
kvm tools: carefully send and handle pause/resume ipc
Remove struct pause_cmd/resume_cmd and use kvm_ipc__send().
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
0b235f6b |
| 20-Dec-2011 |
Lai Jiangshan <laijs@cn.fujitsu.com> |
kvm tools: cleanup kvm_cmd_pause()
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 ...
|
#
477db183 |
| 12-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Improve 'kvm pause' parameters
kvm pause now uses the git option parser to parse parameters.
Added option to pause instance by PID and pause all instances.
Improved usage message.
Sign
kvm tools: Improve 'kvm pause' parameters
kvm pause now uses the git option parser to parse parameters.
Added option to pause instance by PID and pause 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 ...
|
#
02317b74 |
| 07-Aug-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Split 'kvm pause' and add 'kvm resume'
This patch seperates 'kvm pause' into 'kvm pause' and 'kvm resume', 'kvm pause' no longer acts as a switch between running and paused state but inst
kvm tools: Split 'kvm pause' and add 'kvm resume'
This patch seperates 'kvm pause' into 'kvm pause' and 'kvm resume', 'kvm pause' no longer acts as a switch between running and paused state but instead just switches the instance into paused and reume is handled by the new 'kvm resume'.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
2a24f96d |
| 09-Jul-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Rename command source files
Rename kvm-[command] into builtin-[command] to prevent clashes with non-command files such as kvm-cpu.h
Suggested-by: Pekka Enberg <penberg@kernel.org> Signed
kvm tools: Rename command source files
Rename kvm-[command] into builtin-[command] to prevent clashes with non-command files such as kvm-cpu.h
Suggested-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
24e7dbba |
| 03-Jul-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Allow pausing and debugging all running instances
Add a 'kvm [debug,pause] all' command to allow pausing or debugging all running guests on a host.
Signed-off-by: Sasha Levin <levinsasha
kvm tools: Allow pausing and debugging all running instances
Add a 'kvm [debug,pause] all' command to allow pausing or debugging all running guests on a host.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
512e8bf1 |
| 02-Jul-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Provide instance name when running 'kvm pause'
Instead of sending a signal to the first instance found, send it to a specific instance.
Signed-off-by: Sasha Levin <levinsasha928@gmail.co
kvm tools: Provide instance name when running 'kvm pause'
Instead of sending a signal to the first instance found, send it to a specific instance.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
2947270e |
| 03-Jun-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Add 'kvm pause' command
This patch adds a 'kvm debug' command that's currently an alias for
kill -USR2 `pidof kvm`
Which pauses a guest (freezes all VCPU threads) or resumes a paused
kvm tools: Add 'kvm pause' command
This patch adds a 'kvm debug' command that's currently an alias for
kill -USR2 `pidof kvm`
Which pauses a guest (freezes all VCPU threads) or resumes a paused guest.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|