Bug#800845: autopkgtest: Add support for nested VMs
christian at iwakd.de
Fri Mar 4 11:13:38 UTC 2016
On 03/04/2016 11:56 AM, Martin Pitt wrote:
> Christian Seiler [2016-03-04 1:19 +0100]:
>> I've thought about this a bit more and came to the conclusion that it'd
>> be best to run udevadm settle in the VM after adding the disks to QEMU.
> Excellent, thank you! I like this approach now, it's clean, reasonably
> race-free, and simple.
> I added a (rather shallow admittedly) test, adjusted the changelog and
> some grammar fixes:
Fantastic. That was the major show-stopper for me writing tests
that require nested VMs. :-)
> I'll respond to the other thread about the -cpu and Restrictions:
> issues; so not adding a "pending" tag just yet.
Note that for the restrictions I cloned this bug, so discussion
about that should go in #816564. The CPU stuff I'd still like
to track in this bug, though.
> Thanks for your work and bearing with me!
I think this is one of the problems where once you figure out
what the best solution is, it seems obvious, but it takes some
time and discussion to actually get to it. And I think what we
arrived at is far simpler and more elegant than what I had in
mind initially when I described my use case. The only regret I
have in this regard is that we didn't have a chance to hash
this out at DebConf (not your fault, there was just too much
going on there in general), otherwise we might have been able
to get here quite a bit quicker. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the autopkgtest-devel