[PVE-User] Capture kvm std/err output

Thomas Lamprecht t.lamprecht at proxmox.com
Fri May 20 16:37:38 CEST 2016



On 05/20/2016 03:49 PM, Lindsay Mathieson wrote:
> On 20/05/2016 10:59 PM, Thomas Lamprecht wrote:
>> qm set VMID --args '-D /path/to/log'
>>
>> Should do the trick, have no erroneous qemu VM available at the moment
>> so couldn't check:)
>
> Thanks, but -D <logfile> only outputs qemu debug info, not std output
>

Hmm, it should output everything which else would get written to stderr.

But you could get the VM QEMU command with `qm showcmd VMID` and edit that,
i.e. remove the -daemonize parameter (and maybe also the systemd stuff).
Then the command runs in the foreground and you should be able to see
everything.

Cheers,
Thomas




More information about the pve-user mailing list