[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 3/4] Add nested testcase of installing L2 guest VM

On Thu, 2015-01-08 at 10:48 +0000, Wei Liu wrote:
> On Thu, Jan 08, 2015 at 07:34:39AM +0000, Pang, LongtaoX wrote:
> [...]
> > > > ts-debian-install installs a L2 PV guest, which should work even
> > > > without nested HVM enabled for your L1 HVM guest. You're testing
> > > > nested HVM I think it makes more sense to install a L2 HVM guest.

FWIW I think it's probably worth testing both (after all an L1
hypervisor should be as functional as an L0 one). Although L2 HVM does
seem more important at first.

> > > [Pang, LongtaoX] Thanks Wei, I will try to re-use the script of
> > > ts-debian-hvm-install as L2, maybe it will make this script become 
> > > complicated.
> > > If it works, there will not be necessary to modify and use 
> > > ts-debian-install
> > > anymore.
> > [Pang, LongtaoX] Hi Wei, for script of ts-debian-hvm-install, as too
> many parameters, functions, structure and variables are not suit for
> L2 installing , 

Why would an L2 guest be any different from an L1 guest from the PoV of
the test harness? Are you working around limitations in the nested
virtualisation functionality?

Once the L1 hypervisor is up and running shouldn't we mostly be treating
it as if it were an L0 hypervisor for the purposes of testing its
functionality, up to and including the types of guest we test and their

> > if I re-use and modify as L2, it will make the script become more 
> > convoluted and hard to maintain in later days. 
> > So, I plant to write a new script similar to ts-debian-hvm-install, called 
> > ts-debian-hvm-install-L2 for L2 guest installing. 
> > If you have any concern or other opinions, please tell me, thanks.
> Some foreseeable variables I can think of are bios, disk size and ram
> size, which can be easily grouped together.  Though you may also need
> things like checking whether L2 guest is up and reachable etc.
> I'm not too convinced that you really need a new script.

Me neither, at least not from the information quoted in this mail (I
must confess I didn't backtrack up the thread).

>   But OSSTest
> maintainers may disagree with me. Please wait for them to reply before
> implementing any change.
> Wei.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.