[libvirt] [PATCH 2/5] qemu: command: Extract opening of TPM backend FDs for mocking purposes

Michal Privoznik mprivozn at redhat.com
Thu Aug 16 10:08:05 UTC 2018


On 08/14/2018 03:21 PM, Peter Krempa wrote:
> Allow mocking of the file descriptor numbers used for the TPM
> passthrough mode by extracting the relevant code into an exported
> function.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_command.c | 41 +++++++++++++++++++++++++++--------------
>  src/qemu/qemu_command.h |  7 +++++++
>  2 files changed, 34 insertions(+), 14 deletions(-)

ACK

Michal




More information about the libvir-list mailing list