#
4346fd8f |
| 17-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: remove global kvm object
This was ugly, and now we get rid of it.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
#
5002444c |
| 17-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: pass kvm ptr directly to timer injection
This will help us get rid of the global kvm object.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@ker
kvm tools: pass kvm ptr directly to timer injection
This will help us get rid of the global kvm object.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
49a8afd1 |
| 17-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: use init/exit where possible
Switch to using init/exit calls instead of the repeating call blocks in builtin-run.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekk
kvm tools: use init/exit where possible
Switch to using init/exit calls instead of the repeating call blocks in builtin-run.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
cac9e8fd |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: virtio-9p cleanup
Sort out init/exit calls, move parser into the 9p code and make sure rootfs config is initialized before virtio-9p (or any other init func) is called.
Signed-off-by: Sa
kvm tools: virtio-9p cleanup
Sort out init/exit calls, move parser into the 9p code and make sure rootfs config is initialized before virtio-9p (or any other init func) is called.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
cf5323a3 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: move the rest of the config initializations
These should appear before running any init calls.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@k
kvm tools: move the rest of the config initializations
These should appear before running any init calls.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
abee258b |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: ram init
RAM should be initialized as part of kvm__init, and not somewhere random in the global init code.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enber
kvm tools: ram init
RAM should be initialized as part of kvm__init, and not somewhere random in the global init code.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
0855e60f |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: ioport arch init
Move ioport arch init into ioport init, which is the logical place for that instead of a random place in the global init code.
Signed-off-by: Sasha Levin <levinsasha928@
kvm tools: ioport arch init
Move ioport arch init into ioport init, which is the logical place for that instead of a random place in the global init code.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
084a1356 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: kernel load/firmware cleanup
Sort out the config initialization order so that configuration is fully initialized before init functions start running, and move the firmware initialization
kvm tools: kernel load/firmware cleanup
Sort out the config initialization order so that configuration is fully initialized before init functions start running, and move the firmware initialization code into kvm.c.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
07d52d77 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: ui improvements
Move the vesa initialization logic into sdl__init() and vnc__init(), builtin-run shouldn't have to know about the conditions for initializing vesa on it's own.
Signed-off
kvm tools: ui improvements
Move the vesa initialization logic into sdl__init() and vnc__init(), builtin-run shouldn't have to know about the conditions for initializing vesa on it's own.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
be1eb89b |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: kbd initialization check
Check if i8042 is supported only within the initialization call itself, so that builtin-run won't need to know which archs are supported by it.
Signed-off-by: Sa
kvm tools: kbd initialization check
Check if i8042 is supported only within the initialization call itself, so that builtin-run won't need to know which archs are supported by it.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
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 ...
|
#
5f225124 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: virtio-net init/exit
Make the init/exit of virtio-net self-contained, so the global init code won't need to check if it was selected or not.
This also moves the bulk of the net-specific
kvm tools: virtio-net init/exit
Make the init/exit of virtio-net self-contained, so the global init code won't need to check if it was selected or not.
This also moves the bulk of the net-specific initialization code, including the parser, into virtio-net itself.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
8cec93db |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: pci-shmem init-exit
Make the init/exit of pci-shmem self-contained, so the global init code won't need to check if it was selected or not.
Also move the parser out of builtin-run into th
kvm tools: pci-shmem init-exit
Make the init/exit of pci-shmem self-contained, so the global init code won't need to check if it was selected or not.
Also move the parser out of builtin-run into the pci-shmem code.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
d06db2fd |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: virtio-bln init/exit
Make the init/exit of virtio-balloon self-contained, so the global init code won't need to check if it was selected or not.
Signed-off-by: Sasha Levin <levinsasha928
kvm tools: virtio-bln init/exit
Make the init/exit of virtio-balloon self-contained, so the global init code won't need to check if it was selected or not.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
f16653ad |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: virtio-rng init/exit
Make the init/exit of virtio-rng self-contained, so the global init code won't need to check if it was selected or not.
Signed-off-by: Sasha Levin <levinsasha928@gma
kvm tools: virtio-rng init/exit
Make the init/exit of virtio-rng self-contained, so the global init code won't need to check if it was selected or not.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
a3fa3f86 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: virtio-console init/exit
Make the init/exit of virtio-console self-contained, so the global init code won't need to check if it was selected or not.
Signed-off-by: Sasha Levin <levinsash
kvm tools: virtio-console init/exit
Make the init/exit of virtio-console self-contained, so the global init code won't need to check if it was selected or not.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
b4532ca9 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: timer cleanup
Make the timer init/exit follow the rest of the code, and move it out of builtin-run.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penb
kvm tools: timer cleanup
Make the timer init/exit follow the rest of the code, and move it out of builtin-run.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
f6a3c571 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: threadpool exit routine
Add an exit function for the threadpool which will stop all running threads in the pool. Also clean up the init code a bit.
Signed-off-by: Sasha Levin <levinsasha
kvm tools: threadpool exit routine
Add an exit function for the threadpool which will stop all running threads in the pool. Also clean up the init code a bit.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
dca745e4 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: improve term init/exit functions
Make the init and exit functions of the term code similar to the rest of the code.
Also move in the pty parser into the term code out of builtin-run.
Si
kvm tools: improve term init/exit functions
Make the init and exit functions of the term code similar to the rest of the code.
Also move in the pty parser into the term code out of builtin-run.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
ba46fe53 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: improve framebuffer manager initialization
Make the init and exit functions of the framebuffer similar to the rest of the code.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signe
kvm tools: improve framebuffer manager initialization
Make the init and exit functions of the framebuffer similar to the rest of the code.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
df4239fb |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: move kvm_cpus into struct kvm
There's no reason the array of guest specific vcpus is global. Move it into struct kvm.
Also split up arch specific vcpu init from the generic code and call
kvm tools: move kvm_cpus into struct kvm
There's no reason the array of guest specific vcpus is global. Move it into struct kvm.
Also split up arch specific vcpu init from the generic code and call it from the kvm_cpu initializer.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
00ebbe96 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: move nrcpus into struct kvm_config
This no longer has to be a global since we now have kvm_config.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penbe
kvm tools: move nrcpus into struct kvm_config
This no longer has to be a global since we now have kvm_config.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
3b55dcde |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: disk image related cleanup
Move io debug delay into kvm_config, the parser out of builtin-run into the disk code and make the init/exit functions match the rest of the code in style.
Sig
kvm tools: disk image related cleanup
Move io debug delay into kvm_config, the parser out of builtin-run into the disk code and make the init/exit functions match the rest of the code in style.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
1dc24dcc |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: add private ptr to option parser
Support passing a private ptr to CALLBACK options. This will make it possible assigning options into specific struct kvms by passing them directly to pars
kvm tools: add private ptr to option parser
Support passing a private ptr to CALLBACK options. This will make it possible assigning options into specific struct kvms by passing them directly to parsers.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
2651ea58 |
| 05-Sep-2012 |
Sasha Levin <levinsasha928@gmail.com> |
kvm tools: move active_console into struct kvm_config
This config option was 'extern'ed between different objects. Clean it up and move it into struct kvm_config.
Signed-off-by: Sasha Levin <levins
kvm tools: move active_console into struct kvm_config
This config option was 'extern'ed between different objects. Clean it up and move it into struct kvm_config.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|