diff options
Diffstat (limited to 'hw/ccid-card-emulated.c')
-rw-r--r-- | hw/ccid-card-emulated.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c index 092301b541..9fe9db5c45 100644 --- a/hw/ccid-card-emulated.c +++ b/hw/ccid-card-emulated.c @@ -541,8 +541,9 @@ static int emulated_initfn(CCIDCardState *base) printf("%s: failed to initialize vcard\n", EMULATED_DEV_NAME); return -1; } - qemu_thread_create(&thread_id, event_thread, card); - qemu_thread_create(&thread_id, handle_apdu_thread, card); + qemu_thread_create(&thread_id, event_thread, card, QEMU_THREAD_DETACHED); + qemu_thread_create(&thread_id, handle_apdu_thread, card, + QEMU_THREAD_DETACHED); return 0; } |