-off-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell ian.campb...@citrix.com
---
ts-nested-setup | 75 +++
1 file changed, 75 insertions(+)
create mode 100755 ts-nested-setup
diff --git a/ts-nested-setup b/ts-nested-setup
new file
1. This patch adds creation of the nested test job, when job creation
procedure is invoked.
2. Set nested L1's vif model, nestedhvm feature, set specific disk
size and memory size for nested test by make-flight.
Signed-off-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell ian.campb
format
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v11:
1. Ian corrects our previous implementation of submenu handling. When
selecting submenu's menuentry, it shall be the 2-level format of 'MN',
M is the 'submenu' entry number in first level, N is the sub-menuentry
.
Ian Campbell (1):
grub: remove patch to disable submenu from 20_linux_xen overlay
longtao.pang (6):
Parsing grub which has 'submenu' primitive
Changes to support '/boot' leading paths of kernel, xen, in grub
Changes on test step of Debian hvm guest install
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Osstest/Debian.pm b/Osstest
) to
it; Since it acts as a nested hypervisor anyway.
3. Comment out CDROM entry in sources.list to make HTTP URL entry
available for L1 hvm guest.
4. Enable nestedhvm feature in 'ExtraConfig' for nested job.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v11:
1. Since the size
setupboot_grub2 now supports submenus, so we can reduce our delta vs
upstream a bit.
I started by extracting 20_linux_xen from
http://snapshot.debian.org/archive/debian/20130703T094657Z/pool/main/g/grub2/grub-common_1.99-27%2Bdeb7u2_amd64.deb
and then applying the patch at
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell ian.campb...@citrix.com
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions
1. This patch adds creation of the nested test job, when job creation
procedure is invoked.
2. Set nested L1's vif model, nestedhvm feature, set specific disk
size and memory size for nested test by make-flight.
Signed-off-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell ian.campb
.
longtao.pang (9):
parsing grub which has 'submenu' primitive
Changes to support '/boot' leading paths of kernel, xen, in grub
Refactor installation of overlays for guest used
Edit some APIs in TestSupport.pm for nested test
Move the codes about
1. If vif model is defined for guest, use it in guest's configuration
2. In L2 installation context, its host (L1) shall not have a static IP
but stored in runvar in L1 installation before; use this stored runvar
IP.
Signed-off-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell
nestedhvm feature in 'ExtraConfig' for nested job.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v10:
Based on Ian's v6_patch[04,05,06], use 'preseed_hook_command' to comment out
CDROM entry in sources.list to make HTTP URL entry available for hvm guest.
---
ts-debian-hvm
and
hence are therefore harmless.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Based on Ian Campbell's v6_patch [04,05,06], I create this patch
to refactor installation of overlays for guest as well as host used.
Link of Ian Campbell's patch:
http://lists.xenproject.org/archives/html/xen-devel
-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v10:
1. Since Ian has fixed the bug of 'late_command' in his v6_patch, remove
the code for editing 'sources.list' file in hvm guest.
2. Currently, reboot is not required after block attach 'lvdev' to L1;
So, remove the related code.
3. Assert
-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell ian.campb...@citrix.com
---
ts-debian-hvm-install | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/ts-debian-hvm-install b/ts-debian-hvm-install
index b37f0f9..d3413e1 100755
--- a/ts-debian-hvm
The ident and guestname are same of 'nestedl1' for L1 guest VM.
Signed-off-by: longtao.pang longtaox.p...@intel.com
Acked-by: Ian Campbell ian.campb...@citrix.com
---
sg-run-job | 11 +++
1 file changed, 11 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index eae159d..b19f9f9
From a hvm kernel build from Linux stable Kernel tree,
the auto generated grub2 menu will have 'submenu' primitive, upon the
'menuentry' items. Xen boot entries will be grouped into a submenu. This
patch adds capability to support such grub formats.
Signed-off-by: longtao.pang longtaox.p
From: longtao.pang longtaox.p...@intel.com
Based on Ian Campbell's v5_patch [04,05,06], I create this patch
to refactor installation of overlays for guest used.
Link of Ian Campbell's patch:
http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg01452.html
http://lists.xenproject.org
From: longtao.pang longtaox.p...@intel.com
1. If vif model is defined for guest, use it in guest's configuration
2. In L2 installation context, its host (L1) shall not have a static IP
but stored in runvar in L1 installation before; use this stored runvar
IP.
Signed-off-by: longtao.pang
From: longtao.pang longtaox.p...@intel.com
The ident and guestname are same of 'nestedl1' for L1 guest VM.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v9:
1. For L1, identical its ident and guestname as 'nestedl1';
And same for L2, 'nestedl2' is L2's name as well as its
From: longtao.pang longtaox.p...@intel.com
1. This patch adds creation of the nested test job, when job creation
procedure is invoked.
2. Set nested L1's vif model, nestedhvm feature, set specific disk
size and memory size for nested test by make-flight.
Signed-off-by: longtao.pang longtaox.p
series has been tested on test machines of amd64 arch,
Debian-7.2.0-amd64 as guests OS, with hvm domain0 of Linux kernel 3.18.5,
in standalone mode.
Also, we use linux-stable tree as domain0 kernel source.
longtao.pang (9):
parsing
From: longtao.pang longtaox.p...@intel.com
1. In this script, make some appropriate runvars which selecthost would
recognise.
2. Prepare the configurations for installing L2 guest VM.
3. Create a lv disk in L0 and hot-attach it to L1, need to restart L1 to
make the block disk to be recognized
From: longtao.pang longtaox.p...@intel.com
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions
From: longtao.pang longtaox.p...@intel.com
1. Increase disk size to accommodate to nested test requirement.
2. Since 'Debain-xxx-.iso' image will be stored in rootfs of L1 guest,
therefore needs more disk capacity, increase root partition size to
1.
3. In L1 installation context, assign more
From: longtao.pang longtaox.p...@intel.com
Move the codes about memory size setting from outside into prep(),
where these $ram_mb operations are only used; and in next patch,
for L2 guest installation, $ram_mb will be override by a runvar value,
which needs $gho in scope.
Signed-off
From: longtao.pang longtaox.p...@intel.com
From a hvm kernel build from Linux stable Kernel tree,
the auto generated grub2 menu will have 'submenu' primitive, upon the
'menuentry' items. Xen boot entries will be grouped into a submenu. This
patch adds capability to support such grub formats
1. This patch adds creation of the nested test job, when job creation
procedure is invoked.
2. Set nested L1's vif model as e1000 by make-flight.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v8:
1. Use 'nestedl1' and 'nestedl2' as L1 and L2's clearer name in nested
test job
as a nested hypervisor anyway.
4. Comment out CDROM entry in sources.list to make HTTP URL entry
available for L1 hvm guest.
5. Enable nestedhvm feature in ExtraConfig for nested job.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v8:
1. Update a conventional way to comment out
1. Designate vif model by make-flight.
2. In L2 installation context, its host (L1) IP address is not queried
from DNS, but after running ts-nested-setup + host + nested, L1 IP is
stored in runvar.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v8:
Remove the unnecessary
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v8:
Change the patch order from 6 to 5.
---
sg-run-job | 11 +++
1 file changed, 11 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index eae159d..2ca5ebf 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -299,6 +299,17
a VG that used for installing L2.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v8:
1. Replace '$nested_host' by '$l1-{Guest}'.
---
ts-nested-setup | 52
1 file changed, 52 insertions(+)
create mode 100755 ts-nested-setup
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Osstest/Debian.pm b/Osstest
From a hvm kernel build from Linux stable Kernel tree,
the auto generated grub2 menu will have 'submenu' primitive, upon the
'menuentry' items. Xen boot entries will be grouped into a submenu. This
patch adds capability to support such grub formats.
Signed-off-by: longtao.pang longtaox.p
-amd64 as guests OS, with hvm domain0 of Linux kernel 3.18.5,
in standalone mode.
Also, we use linux-stable tree as domain0 kernel source.
longtao.pang (7):
parsing grub which has 'submenu' primitive
Changes to support '/boot
1. Designate vif model to 'e1000' by make-flight.
2. In L2 installation context, its host (L1) IP address is not queried
from DNS, but after running ts-nested-setup + host + nested, L1 IP is
stored in runvar.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v7:
1.set vif model
From a hvm kernel build from Linux stable Kernel tree,
the auto generated grub2 menu will have 'submenu' primitive, upon the
'menuentry' items. Xen boot entries will be grouped into a submenu. This
patch adds capability to support such grub formats.
Signed-off-by: longtao.pang longtaox.p
,
debian-7.6.0-amd64 as guests OS, with hvm domain0 of Linux kernel 3.18.5, in
standalone mode.
Also, we use linux-stable tree as domain0 kernel source.
longtao.pang (6):
parsing grub which has 'submenu' primitive
Edit some
a VG that used for installing L2.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v7:
Add new ts script for nested configuration according maintainer's reply.
---
ts-nested-setup | 54 ++
1 file changed, 54 insertions
hypervisor anyway.
4. Comment out CDROM entry in sources.list to make HTTP URL entry
available for L1 hvm guest.
5. Enable nestedhvm feature in ExtraConfig.
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v7:
1. Comment out CDROM entry in sources.list to make HTTP URL entry
available
1. This patch adds creation of the nested test job, when job creation
procedure is invoked.
2. 'NESTED_OS_IMAGE' is the name of 'Debian ISO Images', which defined
in standalone.config.
3. Set nested L1's vif model as e1000 by make-flight.
Signed-off-by: longtao.pang longtaox.p...@intel.com
Signed-off-by: longtao.pang longtaox.p...@intel.com
---
Changes in v7:
Add 'ts-guest-stop' and 'ts-guest-destroy' scripts to shutdown L2 and L1
after finishing test.
---
sg-run-job | 11 +++
1 file changed, 11 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index a1ff24b..be55da8
From: longtao.pang longtaox.p...@intel.com
---
sg-run-job | 11 +++
1 file changed, 11 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index 94d091b..ababebe 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -297,6 +297,17 @@ proc run-job/test-pair {} {
#run-ts . remus-failover ts
From: longtao.pang longtaox.p...@intel.com
This patch adds creation of the nested test job, when job creation procedure
is invoked.
'NESTED_OS_IMAGE' is the name of 'Debian ISO Images', which defined in
standalone.config.
---
make-flight | 20
1 file changed, 20
From: longtao.pang longtaox.p...@intel.com
1. In this script, make some appropriate runvars which selecthost would
recognise.
2. Prepare the configurations for installing L2 guest VM.
3. Create a lv disk in L0 and hot-attach it to L1, need to restart L1 to make
the block disk to be recognized
From: longtao.pang longtaox.p...@intel.com
1. Designate vif model to 'e1000', otherwise, with default device model,
the L1 eth0 interface disappear, hence xenbridge cannot work.
Maybe this limitation can be removed later after some fix it. For now, we
have to accomodate to it.
2. Since reboot L1
,
debian-7.6.0-amd64 as guests OS, with hvm domain0 of Linux kernel 3.18.5, in
standalone mode.
longtao.pang (6):
parsing grub which has 'submenu' primitive
Add and expose some testsupport APIs
Changes on test step
From: longtao.pang longtaox.p...@intel.com
1. Increase disk size to accomodate to nested test requirment.
2. Since 'Debain-xxx-.iso' image will be stored there, therefore needs more
disk capacity, increase root partition size in preseed generation.
3. In L1 installation context, assign more
From: longtao.pang longtaox.p...@intel.com
From a hvm kernel build from Linux stable Kernel tree,
the auto generated grub2 menu will have 'submenu' primitive, upon the
'menuentry' items. Xen boot entries will be grouped into a submenu. This
patch adds capability to support such grub formats
and then boot into xen kernel.
Next, begin to install L2 guest VM inside L1.
After that, make sure ping L2 is successfully
longtao.pang (4):
Add nested testcase of preparing and installing L1 guest VM
Build XEN and HVM Dom0
From: longtao.pang longtaox.p...@intel.com
This patch is used for building XEN and HVM Dom0 kernel for L1 guest VM,
and then reboot L1 guest into xen kernel.
---
sg-run-job |1 +
ts-xen-install | 149 +---
2 files changed, 111
From: longtao.pang longtaox.p...@intel.com
This patch is used for inserting nested test job name and runvars into
standalone.db database after execute command './standalone-reset'.
---
make-flight | 19 +++
mfi-common |8
2 files changed, 27 insertions(+)
diff
From: longtao.pang longtaox.p...@intel.com
This patch is used for installing L2 guest VM inside L1 guest VM.
---
sg-run-job|2 +
ts-debian-install | 166 +
2 files changed, 132 insertions(+), 36 deletions(-)
diff --git a/sg-run
From: longtao.pang longtaox.p...@intel.com
This patch is used for building XEN and HVM Dom0 kernel for L1 guest VM,
and then reboot L1 guest into xen kernel.
---
sg-run-job|1 +
ts-nested-L1-debian-install-part2 | 364 +
2 files
We updated these patchs about adding Nested test job into OSSTest.
Nested virtualization is the function of running a hypervisor inside a virtual
machine.
The hypervisor that runs on the real hardware is called a level 0 or L0;
The hypervisor that runs as a guest inside L0 is called level 1 or
55 matches
Mail list logo