]> git.proxmox.com Git - qemu-server.git/commit
hide long commandline on vm_start/migrate failure
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 9 Dec 2019 15:14:08 +0000 (16:14 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 Dec 2019 12:35:40 +0000 (13:35 +0100)
commit6e0216d86246c487712cb4b93e0108b81a9bc733
tree5682f4b074add9976732335733cb58bdcb22ed01
parent68b108ee3a83c8dd2a80fc5b34578147128da85c
hide long commandline on vm_start/migrate failure

By default run_command prints the entire commandline executed when an
error occurs, but QEMU and our migrate command are not only
uninteresting to the user[*] but also annoyingly long. Hide them and only
print the exit code.

[*] Especially our migrate command, since it can't be manually executed
anyway. QEMU's commandline *might* contain something interesting, but is
so long that it's tricky to parse anyway, any a user can always call 'qm
showcmd --pretty'.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/QemuMigrate.pm
PVE/QemuServer.pm