#
45bc2f02 |
| 12-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Don't override kernel image passed by user
Commit d3f84f3 ("kvm tools: Use host kernel image by default") broke user specified kernel image parsing. Fix that up.
Reported-by: Prasad Josh
kvm tools: Don't override kernel image passed by user
Commit d3f84f3 ("kvm tools: Use host kernel image by default") broke user specified kernel image parsing. Fix that up.
Reported-by: Prasad Joshi <prasadjoshi124@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
8329f30b |
| 12-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Use host kernel image by default
If user doesn't specify a kernel image for 'kvm run' command, try to look up host kernel kernel image from /boot directory and use it as guest kernel.
Cc
kvm tools: Use host kernel image by default
If user doesn't specify a kernel image for 'kvm run' command, try to look up host kernel kernel image from /boot directory and use it as guest kernel.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
9ac38fe1 |
| 12-Apr-2011 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: Add option to load disk image read only
As suggested by Christoph Hellwig and Pekka Enberg, Add a '--readonly' flag to prevent runtime changes to the disk to be saved in the image file.
kvm tools: Add option to load disk image read only
As suggested by Christoph Hellwig and Pekka Enberg, Add a '--readonly' flag to prevent runtime changes to the disk to be saved in the image file. Please note that since the changes are saved in the VM instead of being written out, a large amount of modified blocks may kill the tool.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
9aa4a0eb |
| 11-Apr-2011 |
Asias He <asias.hejun@gmail.com> |
kvm tools: Replace option --enable-virtio-console with --console
The default console is serial console.
You can use: --console=virtio or -c virtio to enable virtio console --console=serial or -c se
kvm tools: Replace option --enable-virtio-console with --console
The default console is serial console.
You can use: --console=virtio or -c virtio to enable virtio console --console=serial or -c serial to enable serial console.
You can use only one console at a time.
Suggested-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
ac38f433 |
| 10-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Use ioport__register() for legacy devices
This patch cleans up the table-based setup for legacy devices to use ioport__register().
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcuno
kvm tools: Use ioport__register() for legacy devices
This patch cleans up the table-based setup for legacy devices to use ioport__register().
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
d77a9efa |
| 10-Apr-2011 |
Cyrill Gorcunov <gorcunov@gmail.com> |
kvm tools: Add --cpus parameter
To specify the number of processors to run.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
5f457e0b |
| 09-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Fix 'kill -3' to send SysRq-P to the guest
Commit ff56002 ("kvm tools: Use the Gitish freamwork to run the virtual machine") broken SysRq-P support in the hypervisor. Fix that up.
Cc: As
kvm tools: Fix 'kill -3' to send SysRq-P to the guest
Commit ff56002 ("kvm tools: Use the Gitish freamwork to run the virtual machine") broken SysRq-P support in the hypervisor. Fix that up.
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> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
5ee154d1 |
| 09-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Use per-VCPU threads for execution
This patch makes the core hypervisor to use per-VCPU threads for execution. NOTE: We only start one thread right now because we're unable to let the gue
kvm tools: Use per-VCPU threads for execution
This patch makes the core hypervisor to use per-VCPU threads for execution. NOTE: We only start one thread right now because we're unable to let the guest kernel know about more cores at the moment.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Tested-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
a2a002f9 |
| 09-Apr-2011 |
Ingo Molnar <mingo@elte.hu> |
kvm tools: Fix 64-bit assumptions and type uglinesses
Make the MIN_RAM_SIZE_MB constant 64-bit on 32-bit systems as well, otherwise we get this build failure:
kvm-run.c: In function ‘kvm_cmd_run’
kvm tools: Fix 64-bit assumptions and type uglinesses
Make the MIN_RAM_SIZE_MB constant 64-bit on 32-bit systems as well, otherwise we get this build failure:
kvm-run.c: In function ‘kvm_cmd_run’: kvm-run.c:119: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘u64’
Also adjust affected printf format string - this necessiates the use of the sane Linux definition of u64 instead of the brain-dead int64_t variant.
That also allows (and necessiates) the removal of the ugly PRIu64 format string hackery. Friends don't let friends use PRI* hackeries! :-)
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
5d1a249c |
| 09-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Move CPU initialization to kvm_cpu__start()
Move CPUID setup and CPU reset code to kvm_cpu__start() so that CPU state is setup in one place.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyri
kvm tools: Move CPU initialization to kvm_cpu__start()
Move CPUID setup and CPU reset code to kvm_cpu__start() so that CPU state is setup in one place.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
65bab644 |
| 09-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Extract kvm_cpu__start() function
In preparation for threaded execution, separate kvm_cpu__start() function so it can be reused for multiple threads.
Cc: Asias He <asias.hejun@gmail.com>
kvm tools: Extract kvm_cpu__start() function
In preparation for threaded execution, separate kvm_cpu__start() function so it can be reused for multiple threads.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
5c3d55fa |
| 09-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Introduce KVM VCPU data structure
In preparation for threaded execution model, this patch introduces a KVM VCPU data structure 'struct kvm_cpu'.
Cc: Asias He <asias.hejun@gmail.com> Cc:
kvm tools: Introduce KVM VCPU data structure
In preparation for threaded execution model, this patch introduces a KVM VCPU data structure 'struct kvm_cpu'.
Cc: Asias He <asias.hejun@gmail.com> Cc: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
0ea58e5b |
| 08-Apr-2011 |
Pekka Enberg <penberg@kernel.org> |
kvm tools: Make code mostly checkpatch clean
This patch fixes code style issues pointed out by scripts/checkpatch. However, some reported errors are false positives. In particular, the warning:
W
kvm tools: Make code mostly checkpatch clean
This patch fixes code style issues pointed out by scripts/checkpatch. However, some reported errors are false positives. In particular, the warning:
WARNING: line over 80 characters
is too strict for our code and thus needs to action to be taken.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
ab261214 |
| 08-Apr-2011 |
Cyrill Gorcunov <gorcunov@gmail.com> |
kvm tools: Use static assignment for default RAM size
No need to make an additional check-and-set.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.or
kvm tools: Use static assignment for default RAM size
No need to make an additional check-and-set.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
f967c427 |
| 08-Apr-2011 |
Prasad Joshi <prasadjoshi124@gmail.com> |
kvm tools: Use the Gitish freamwork to run the virtual machine
- kvm-run.[ch] Adds a new kvm command called 'run'. The most of the code is copied from main.c.
- main.c is modified to use the func
kvm tools: Use the Gitish freamwork to run the virtual machine
- kvm-run.[ch] Adds a new kvm command called 'run'. The most of the code is copied from main.c.
- main.c is modified to use the functionality provided by framework. The old code from main.c is moved to kvm-run.c.
Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|