Features/KVMNestedVirtualizationTestsuite: Difference between revisions
(Created page with '== Notice == This a GSoC 2013 project accepted by QEMU.org, you can also see my [http://www.google-melange.com/gsoc/project/google/gsoc2013/xelatex/19001 proposal]. == Summary …') |
No edit summary |
||
Line 1: | Line 1: | ||
= Notice = | |||
This a GSoC 2013 project accepted by QEMU.org, you can also see my [http://www.google-melange.com/gsoc/project/google/gsoc2013/xelatex/19001 proposal]. | This a GSoC 2013 project accepted by QEMU.org, you can also see my [http://www.google-melange.com/gsoc/project/google/gsoc2013/xelatex/19001 proposal]. | ||
= Summary = | |||
Provide a test suite of nested virtualization for KVM in kvm-unit-tests. It provides a test platform for nested virtualization, including a hypervisor and the link script to integrate current test suites. | Provide a test suite of nested virtualization for KVM in kvm-unit-tests. It provides a test platform for nested virtualization, including a hypervisor and the link script to integrate current test suites. | ||
= Owner = | |||
* '''Name:''' [[User:Arthur Chunqi Li | * '''Name:''' [[User:xelatex|Arthur Chunqi Li]] | ||
* '''Email:''' yzt356@gmail.com | * '''Email:''' yzt356@gmail.com | ||
= Locations = | |||
* Repos: https://github.com/xelatex/kvm-unit-tests | * Repos: https://github.com/xelatex/kvm-unit-tests | ||
= Feature = | |||
This module of kvm-unit-tests aims at providing a suite of test cases for nested virtualization. It consists of two parts: | |||
* A mini hypervisor | |||
* Some relevant test cases specified for nested virtualization in KVM | |||
Some codes of current kvm-unit-tests can be reused in the two parts above, e.g. link script to generate flat image. Some specific features will be listed here. | |||
== Mini hypervisor == | |||
A mini hypervisor is the basis of testing nested virtualization. Here is a mini hypervisor written in C++ named [https://github.com/IntelLabs/NOVA NOVA]. But the mini hypervisor neeeded in this project doesn't need so many complicated features (e.g. Buddy system). Only CPU management, memory management, interrupt control and simple communication (hypercall) are necessary. | |||
== Nested virtualization test cases == | |||
On the basis of mini hypervisor, some nested virtualization features should be tested including VMX insructions, MSR, memory access and VM-enter & VM-exit tests. Some of test cases are have implemented in the current kvm-unit-tests and can be imported in some special ways. | |||
= Project status = | |||
The project is currently in development. Mini hypervisor is now in development. |
Revision as of 08:28, 2 July 2013
Notice
This a GSoC 2013 project accepted by QEMU.org, you can also see my proposal.
Summary
Provide a test suite of nested virtualization for KVM in kvm-unit-tests. It provides a test platform for nested virtualization, including a hypervisor and the link script to integrate current test suites.
Owner
- Name: Arthur Chunqi Li
- Email: yzt356@gmail.com
Locations
Feature
This module of kvm-unit-tests aims at providing a suite of test cases for nested virtualization. It consists of two parts:
- A mini hypervisor
- Some relevant test cases specified for nested virtualization in KVM
Some codes of current kvm-unit-tests can be reused in the two parts above, e.g. link script to generate flat image. Some specific features will be listed here.
Mini hypervisor
A mini hypervisor is the basis of testing nested virtualization. Here is a mini hypervisor written in C++ named NOVA. But the mini hypervisor neeeded in this project doesn't need so many complicated features (e.g. Buddy system). Only CPU management, memory management, interrupt control and simple communication (hypercall) are necessary.
Nested virtualization test cases
On the basis of mini hypervisor, some nested virtualization features should be tested including VMX insructions, MSR, memory access and VM-enter & VM-exit tests. Some of test cases are have implemented in the current kvm-unit-tests and can be imported in some special ways.
Project status
The project is currently in development. Mini hypervisor is now in development.