]> git.proxmox.com Git - qemu-server.git/commit
Fix: rtcflags: ignore startdate 'now'
authorAlwin Antreich <a.antreich@proxmox.com>
Thu, 4 Jul 2019 09:00:58 +0000 (11:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Jul 2019 09:36:34 +0000 (11:36 +0200)
commitc5fdfea83995e4963d79f44e8cf1d0e59277837a
treea74c1f4322f4c2f86e171154bafef3ccf6e8ff5e
parent639ed92f27bc7d18d382d0726bcb4ab46479dc09
Fix: rtcflags: ignore startdate 'now'

If 'now' is passed to the startdate option, the kvm start fails with
below failure.
 kvm: invalid datetime format
 valid formats: '2006-06-17T16:01:21' or '2006-06-17'

With this patch, 'now' is ignored and not passed to the rtcflags (-rtc).

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
(cherry picked from commit 85f0511db3a5c2ec13495100f6f7d6a6f48d7c65)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm