Re: [PATCH] tpm_emulator: Report an error if chardev is missing

2020-07-24 Thread Stefan Berger
On 7/24/20 10:00 AM, Markus Armbruster wrote: Stefan Berger writes: This patch fixes the odd error reporting when trying to send a file descriptor to the TPM emulator if one has not passed a valid chardev. $ x86_64-softmmu/qemu-system-x86_64 -tpmdev emulator,id=tpm0 qemu-system-x86_64: -tpmde

Re: [PATCH] tpm_emulator: Report an error if chardev is missing

2020-07-24 Thread Markus Armbruster
Stefan Berger writes: > This patch fixes the odd error reporting when trying to send a file > descriptor to the TPM emulator if one has not passed a valid chardev. > > $ x86_64-softmmu/qemu-system-x86_64 -tpmdev emulator,id=tpm0 > qemu-system-x86_64: -tpmdev emulator,id=tpm0: tpm-emulator: Failed

Re: [PATCH] tpm_emulator: Report an error if chardev is missing

2020-07-24 Thread Marc-André Lureau
On Fri, Jul 24, 2020 at 5:30 PM Stefan Berger wrote: > This patch fixes the odd error reporting when trying to send a file > descriptor to the TPM emulator if one has not passed a valid chardev. > > $ x86_64-softmmu/qemu-system-x86_64 -tpmdev emulator,id=tpm0 > qemu-system-x86_64: -tpmdev emulato

[PATCH] tpm_emulator: Report an error if chardev is missing

2020-07-24 Thread Stefan Berger
This patch fixes the odd error reporting when trying to send a file descriptor to the TPM emulator if one has not passed a valid chardev. $ x86_64-softmmu/qemu-system-x86_64 -tpmdev emulator,id=tpm0 qemu-system-x86_64: -tpmdev emulator,id=tpm0: tpm-emulator: Failed to send CMD_SET_DATAFD: Success