Add nested xen on xen test case
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 37 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | Add support of parsing grub which has 'submenu' primitiveOsstest/ | +36 | 7 replies | |
| 2/12 | Increase boot timer to accomodate to nest testOsstest/ | +1 | 3 replies | |
| 3/12 | Designate vif device model to e1000Osstest/ | +1 | 2 replies | |
| 4/12 | Just some indentation adustments.Osstest/ | +2 | 1 reply | |
| 5/12 | Add and expose some testsupport APIsOsstest/ | +12 | 3 replies | |
| 6/12 | Manipulate $ho IP assignment for nest L2 situationOsstest/ | +5 | 2 replies | |
| 7/12 | For hvm guest configuration, config console to 'hvc0'Osstest/ | +5 | 2 replies | |
| 8/12 | Add test job for nest test casemake-flight | +20 | 1 reply | |
| 9/12 | Add build hvm job for nested test usemfi-common | +8 | 1 reply | |
| 10/12 | Compose the main body of test-nested test job.sg-run-job | +8 | 2 replies | |
| 11/12 | Changes on test step of debain hvm guest installts-debian-hvm-install | +53 | 10 replies | |
| 12/12 | Changes to test step of xen installts-xen-install | +79 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH OSSTEST 00/12] Add nested xen on xen test case
This patch set adds nested HVM test case for osstest.
In this test case, a Xen hypervisor (L1) runs on top of another Xen hypervisor (L0).
Upon L1 hypervisor, we will then create a nested guest (L2), and test if the Linux guest can then be installed and run well. About nested Xen virtualization, refer to
http://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen.
In this test set, we add a build job 'build-amd64-hvm' to build hvm kernel for nest test steps use.
Test steps
0. run 'build-amd64' job and 'build-amd64-hvm', to prepare xen
installation
tarball and hvm guest kernel
1. run 'test-amd64-amd6-nested' job, it does following:
a. invoke test step of 'ts-debain-hvm-install' to install
a normal HVM guest
b. invoke test step of 'ts-xen-install' to install xen on
the normal guest, alter it into a L1 hypervisor
c. invoke test step of 'ts-debain-hvm-install' again, but
take the L1 hypervisor as host, install the L2 guest on it
d. invoke test step of 'ts-guest-destroy', clean up L2 guest.
This patch set reuses 'ts-debian-hvm-install' for both L1 host installation and L2 host installation, using 'nested' input param with value of 'nested_L1'
and 'nested_L1' to distinguish the 2 context.
It also reuses 'ts-xen-install' with 'nested' input param to differentiate L1
Xen installation from L0 Xen installation.
This patch series has been tested on test machines of amd64 arch, with hvm domain0 of Linux kernel 3.18.5, in standalone mode.
Robert Ho (12):
Add support of parsing grub which has 'submenu' primitive In nested test case, guest boot will take more time. Designate vif device model to e1000.
Just some indentation adustments.
Add and expose some testsupport APIs
Manipulate $ho IP assignment for nest L2 situation For hvm guest configuration, config console to 'hvc0' Add test job for nest test case.
Add build-debain-hvm build job.
Compose the main body of test-nested test job. Changes on test step of debain hvm guest install Changes to test step of xen install
Osstest/Debian.pm | 60 +++++++++++++++++++++++++++++++++-----------------------
Osstest/TestSupport.pm | 34 ++++++++++++++++++++++++-------- make-flight | 20 +++++++++++++++++++ mfi-common | 8 ++++++++ sg-run-job | 8 ++++++++ ts-debian-hvm-install | 63 +++++++++++++++++++++++++++++++++++++++++++++++++---------- ts-xen-install | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------- 7 files changed, 230 insertions(+), 89 deletions(-)