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

Bug#800845: autopkgtest: Add support for nested VMs

Hello again,

Martin Pitt [2016-03-07  9:27 +0100]:
> So I'll still look into adding pre-reboot hooks, removing the drive
> there, and writing the new udev rule into /run/ instead of /etc; this
> should address the above issues.

The attached commit does that, and I tested it in a few iterations.

However, there's still one major issue left: Despite the
"readonly=on", one can actually mount /dev/vdb1 in the VM and write
files into it! This sounds like a QEMU bug (running
1:2.5+dfsg-5ubuntu4 here), but as long as that exists this is
dangerous as this alters your pristine base images. I already tried to
add the "readonly=on" to the "device_add", but that's just an "unknown
property". Unfortunately this stuff isn't documented very well..


Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160307/f619f5f2/attachment.sig>

Reply to: