[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreswan-dev
Subject:    [Swan-dev] kvm snapshots
From:       Andrew Cagney <andrew.cagney () gmail ! com>
Date:       2021-01-25 20:48:27
Message-ID: CAJeAr6tC2AF7bGQRYSusVcWFr2Qiv2wbckjkf9BAso1gGjxFHw () mail ! gmail ! com
[Download RAW message or body]

I'm looking at kvm snapshots as a way to further speed up testing -
think sub-second domain creation.  However there's a catch:

- the snapshot can't contain anything strange, such as /testing, mounted

This means that /testing needs to be "manually" mounted after the
domain is created.  I can see several ways to do this:

- like for namespaces, have swan-prep do this; problem is that
swan-prep lives on /testing so it would need to be copied to / during
the build/install (and edits would require a re-install)
- hide this in kvmrunner.py; problem is is that booting and logging
into domains will, mysteriously not have /testing mounted and
swan-prep won't work by default

sigh,
Andrew

(oh, and I'd like to not mount /source by default on test domains)
_______________________________________________
Swan-dev mailing list
Swan-dev@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic