aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormcayland-ntx <mark.caveayland@nutanix.com>2025-10-22 00:17:36 +0100
committerGitHub <noreply@github.com>2025-10-22 00:17:36 +0100
commitca9943be5c18ed230f9d4674cc223d1e194f6d23 (patch)
treed62b9562d5d83054dc541c5df628e55fead1d483 /test
parentd7cb436ffb0606fec6ec65e6087fae33e777913a (diff)
downloadlibvfio-user-master.zip
libvfio-user-master.tar.gz
libvfio-user-master.tar.bz2
samples: improve gpio-pci-idio-16 emulation (#821)HEADmaster
Newer kernels implement read register caching for the gpio-pci-idio-16 which means that the pin counter is never incremented, making it impossible to change the input register for testing. Improve the gpio-pci-idio-16 emulation so that the input and output registers match those of the real hardware, and update the logic so that toggling an output line 3 times will toggle the corresponding input line to allow testing individual inputs and outputs. Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions