Commit 9023fee2 authored by Jonas Smedegaard's avatar Jonas Smedegaard
Browse files

Add patch cherry-picked upstream to fix regression in ccid-card-passthru....

Add patch cherry-picked upstream to fix regression in ccid-card-passthru. Closes: Bug#900006, PureOS:T445. Thanks to Guido Günther.
parent f7c1c0f3
Description: ccid-card-passthru: fix regression in realize()
Since cc847bfd16d894fd8c1a2ce25f31772f6cdbbc74, CCID card-passthru
fails to intialize, because it changed a debug line to an error,
probably by mistake. Change it back to a DPRINTF debug.
(solves Boxes creating VM with smartcard passthru failing to start)
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Origin: upstream, https://git.qemu.org/?p=qemu.git;a=commit;h=e58d64a
Last-Update: 2018-05-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/hw/usb/ccid-card-passthru.c
+++ b/hw/usb/ccid-card-passthru.c
@@ -345,7 +345,7 @@
card->vscard_in_pos = 0;
card->vscard_in_hdr = 0;
if (qemu_chr_fe_backend_connected(&card->cs)) {
- error_setg(errp, "ccid-card-passthru: initing chardev");
+ DPRINTF(card, D_INFO, "ccid-card-passthru: initing chardev");
qemu_chr_fe_set_handlers(&card->cs,
ccid_card_vscard_can_read,
ccid_card_vscard_read,
20180515~e58d64a.patch
use-fixed-data-path.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment