]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
config: add new meta property with the VM creation time
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 21 Oct 2021 07:10:49 +0000 (09:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Nov 2021 14:30:22 +0000 (15:30 +0100)
commit26b443c8461b3ddccffc944897af6d67a96ed7bd
tree93f958c24f4d93c819f06db25ffc65449e008920
parent115cb432bcd90e00a487d1ed5ad28c4158dd0e47
config: add new meta property with the VM creation time

currently we only add the creation time (ctime), that was requested
as low priority wish from some users from time to time.

Note that the meta info is not available in the update API endpoints,
and at the moment the code should not change/add/delete it either in
any place.

We may want to update in on actions like clone or backup-restore in
the future, e.g., to also save the time of that event and possibly
the original source VMID, put that can be thought out later.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm
PVE/QemuServer.pm