Description of problem:
During the implementation of CAC2 in libcacard, we identified issue with handling of packet of specific sizes in qemu.
The change  is already reviewed and merged upstream and to my understanding, it is not yet merged in the RHEL. This is needed for the ongoing work to support smart card sharing (described in the bug #917867).
Version-Release number of selected component (if applicable):
deterministic for message of multiplies of 64 B
Steps to Reproduce:
1. Request 32 B data from the smart card emulator, which will add to 64 B on USB packet layer.
USB in guest times out while waiting for the answer from host
USB packet should be delivered
Fix included in qemu-kvm-rhev-2.12.0-12.el7
A1: As already pointed out in comment #24 we should be able to verify this bug without the fix for the bug bug #917867.
A2: I don't have RHEL7 testing machine so I am using Fedora versions:
libcacard-2.5.3-4.fc28.x86_64 --- this is quite the same as in RHEL7
Updating qemu to the latest testing version in Fedora
qemu-kvm-2.11.2-4.fc28.x86_64 -- this has basically only the fix for this bug on top of the previous version
makes also the second command from comment #24 working for me. What output you get from the commands in the comment #24?
Created attachment 1483052 [details]
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.