#
af7b0868 |
| 06-Dec-2011 |
Matt Evans <matt@ozlabs.org> |
kvm tools: Split x86 arch-specific bits into x86/
Create a new arch-specific subdirectory to contain architecture-specific code and includes.
The Makefile now adds various arch-specific objects bas
kvm tools: Split x86 arch-specific bits into x86/
Create a new arch-specific subdirectory to contain architecture-specific code and includes.
The Makefile now adds various arch-specific objects based on detected architecture. That aside, this patch should only contain code moves. These include:
- x86-specific kvm_cpu setup, kernel loading, memory setup etc. now in x86/kvm{-cpu}.c - BIOS now lives in x86/bios/ - ioport setup - KVM extensions are asserted in arch-specific kvm.c now, so each architecture can manage its own dependencies. - Various architecture-specific #defines are moved into $(ARCH)/include/kvm{-cpu}.h such as struct kvm_cpu, KVM_NR_CPUS, KVM_32BIT_GAP_SIZE.
Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
show more ...
|
#
28ce0d66 |
| 14-Jul-2010 |
Cyrill Gorcunov <gorcunov@gmail.com> |
kvm, bios: BIOS code redesign
Instead of keeping bios code in various bin junks make it to host in one binary blob. This blob gets copied to a predefined place at startup and IVT handlers set as app
kvm, bios: BIOS code redesign
Instead of keeping bios code in various bin junks make it to host in one binary blob. This blob gets copied to a predefined place at startup and IVT handlers set as appropriate.
Also we need to generate header file which will contain BIOS tourine offsets for symbols being used.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
show more ...
|
#
8b8fb6c7 |
| 13-Apr-2010 |
Cyrill Gorcunov <gorcunov@gmail.com> |
kvm: Kill the bin2c helper
Instead of calling bin2c helper we just include 16-bit pure code with .incbin and export the symbols we need.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-o
kvm: Kill the bin2c helper
Instead of calling bin2c helper we just include 16-bit pure code with .incbin and export the symbols we need.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
show more ...
|
#
305d9054 |
| 01-Apr-2010 |
Cyrill Gorcunov <gorcunov@gmail.com> |
bios: Add bios stubs generated from assembly files
We substitute hardcoded fake bios handlers with ones generated from assembly sources. This way we may extend them if needed.
In particular new int
bios: Add bios stubs generated from assembly files
We substitute hardcoded fake bios handlers with ones generated from assembly sources. This way we may extend them if needed.
In particular new int0x10 handler just write output into video guest memory so the node machine may read the output anytime it needs (though, to be fair, the kernel uses int0x10 only once at bootup procedure if there was an attempt to boot directly from disk/floppy, any other output is done via video port I/O which is not implemented yet).
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
show more ...
|