[pve-devel] [PATCH container] add 'lock' as a fastplug option

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Oct 24 17:29:07 CEST 2019


On 10/24/19 5:19 PM, Oguz Bektas wrote:
> On Thu, Oct 24, 2019 at 05:12:20PM +0200, Thomas Lamprecht wrote:
>> On 10/24/19 3:58 PM, Oguz Bektas wrote:
>>> lock option needs to be fastpluggable when modifying with 'pct set'.
>>> otherwise it registers as a pending change.
>>>
>> possible stupid question ahead: do I want to be able to set/clear a
>> lock at all with pct set??
> why not? might be useful for testing purposes, and it doesn't hurt to
> allow it i think.

crashing the host might be also useful for some testing purposes,
doesn't mean we need to integrate it ;P

Point is, you can already do it with low level tools (editor) directly
in the config, if you need to test something.
So why allow the API/CLI to do it for testing purposes??




More information about the pve-devel mailing list