on.
This patch 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.
Ian Campbell (1):
grub: remove patch to disable submen
-off-by: longtao.pang
Acked-by: Ian Campbell
---
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 mode 100755
index 000..60ab795
--- /dev
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
Acked-by: Ian Campbell
---
make-flight |
handle
such new grub.cfg format
Signed-off-by: longtao.pang
---
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 'M>N',
M is the 'submenu' entry number in first le
The ident and guestname are same of 'nestedl1' for L1 guest VM.
Signed-off-by: longtao.pang
Acked-by: Ian Campbell
---
sg-run-job | 11 +++
1 file changed, 11 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index d53fd83..679761a 100755
--- a/sg-run-job
+++ b/sg-run-job
runvar) 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
---
Changes in v11:
1. Since the size of deb
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
http://savannah.gnu.org/
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Osstest/Debian.pm b/Osstest/Deb
The ident and guestname are same of 'nestedl1' for L1 guest VM.
Signed-off-by: longtao.pang
Acked-by: Ian Campbell
---
sg-run-job | 11 +++
1 file changed, 11 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index eae159d..b19f9f9 100755
--- a/sg-run-job
+++ b/sg-run-job
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
Acked-by: Ian Campbell
---
make-flight |
-off-by: longtao.pang
---
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, remo
>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: long
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang
Acked-by: Ian Campbell
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Osstest
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
Acked-by: Ian Campbell
---
Osstest/TestSuppo
hvm guest.
5. Enable nestedhvm feature in 'ExtraConfig' for nested job.
Signed-off-by: longtao.pang
---
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
for guests and
hence are therefore harmless.
Signed-off-by: longtao.pang
---
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-de
: longtao.pang
Acked-by: Ian Campbell
---
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-install
+++ b/ts-debian-hvm-install
@@ -156,6
atch 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 grub which has 'submenu
From: "longtao.pang"
The ident and guestname are same of 'nestedl1' for L1 guest VM.
Signed-off-by: longtao.pang
---
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"
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/arc
From: "longtao.pang"
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
---
C
From: "longtao.pang"
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
---
Changes
From: "longtao.pang"
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 mor
From: "longtao.pang"
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 by L1 system,
From: "longtao.pang"
Support situations of grub that have vmlinuz and other things starting
with path of '/boot' rather than '/'.
Signed-off-by: longtao.pang
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
From: "longtao.pang"
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-by: longtao.pang
---
From: "longtao.pang"
>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
tity
and use 'nestedl2 as L2's guestname.
It also reuses 'ts-xen-install' with L1's identity 'nestedl1' input parameter
to differentiate from L0 Xen installation.
This patch series has been tested on test machines of amd64 arch,
Debian-7.2.0-amd64 as guests OS, with
Signed-off-by: longtao.pang
---
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 @@ proc run-job/test-pair
>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.
VG that used for installing L2.
Signed-off-by: longtao.pang
---
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
---
Osstest/Debian.pm |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Osstest/Debian.pm b/Osstest/Deb
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
---
Changes in v8:
Remove the unnecessary symbol
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
---
Changes in v8:
1. Use 'nestedl1' and 'nestedl2' as L1 and L2's clearer name in nested
t
it
acts 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
---
Changes in v8:
1. Update a conventional way to comment out CDRO
'ts-xen-install' with L1's hostname 'nestedl1' input parameter
to differentiate from L0 Xen installation.
This patch 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 u
>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.
;s host ident.
It also reuses 'ts-xen-install' with L1's hostname 'nested' input param to
differentiate from L0 Xen installation.
This patch series has been tested on test machines of amd64 arch,
debian-7.6.0-amd64 as guests OS, with hvm domain0 of Linux kernel 3.18.5, in
s
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
---
Changes in v7:
1.set vif mode
VG that used for installing L2.
Signed-off-by: longtao.pang
---
Changes in v7:
Add new ts script for nested configuration according maintainer's reply.
---
ts-nested-setup | 54 ++
1 file changed, 54 insertions(+)
create mode 100755 ts-n
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
--
Signed-off-by: longtao.pang
---
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 100
s 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.
Signed-off-by: longtao.pang
---
Changes in v7:
1. Comment out CDROM entry in sources.list to make HTTP URL entry
available for L1 hvm guest.
t ident.
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,
debian-7.6.0-amd64 as guests OS, with hvm domain0 of Linux kernel 3.18.5, in
standa
From: "longtao.pang"
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 me
From: "longtao.pang"
>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 gru
From: "longtao.pang"
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 by L1 sy
From: "longtao.pang"
---
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-r
From: "longtao.pang"
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,
From: "longtao.pang"
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 L
From: "longtao.pang"
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 -
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"
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 insertions(+), 39
From: "longtao.pang"
This patch is used for preparing and installing L1 guest VM inside L0 system
on testhost machine.
---
Osstest/Debian.pm | 27 ++-
Osstest/TestSupport.pm | 31 ++-
sg-run-job |5 +
From: "longtao.pang"
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-job b/sg-run
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 L1
From: "longtao.pang"
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"
This patch is used for preparing and installing L1 guest VM inside L0 system
on testhost machine.
---
Osstest/Debian.pm | 25 +++--
Osstest/TestSupport.pm| 31 +-
sg-run-job|5 +
ts-nested-L1-debi
From: "longtao.pang"
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 ch
From: "longtao.pang"
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-job b/sg-run
60 matches
Mail list logo