History | View | Annotate | Download (18.7 kB)
ccid: Fix crash when backend isn't specified
Reproducer:
./x86_64-softmmu/qemu-system-x86_64 -device usb-ccid,id=ccid0 -usb -device ccid-card-emulated -monitor stdio
Signed-off-by: Cole Robinson <crobinso@redhat.com>Reviewed-by: Alon Levy <alevy@redhat.com>
ccid: make backend_enum_table "static const" and adjust users
Signed-off-by: Jim Meyering <meyering@redhat.com>Reviewed-by: Alon Levy <alevy@redhat.com>Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
ccid-card-emul: do not crash if backend is not provided
Program received signal SIGSEGV, Segmentation fault.__strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:164164 movdqu (%rsi), %xmm2(gdb) bt at /home/elmarco/320g/src/qemu/hw/ccid-card-emulated.c:477...
sysemu: avoid proliferation of include/ subdirectories
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can bekept in hw/.
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.