aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/ccid-card-emulated.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-04-22 21:53:53 +0800
committerKevin Wolf <kwolf@redhat.com>2016-04-22 16:43:56 +0200
commit54e18d35e44c48cf6e13c4ce09962c30b595b72a (patch)
tree1c0b141d6ef2e65614205877318d7589fc24c7c4 /hw/usb/ccid-card-emulated.c
parentbcd82a968fbf7d8156eefbae3f3aab59ad576fa2 (diff)
event-notifier: Add "is_external" parameter
All callers pass "false" keeping the old semantics. The windows implementation doesn't distinguish the flag yet. On posix, it is passed down to the underlying aio context. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/usb/ccid-card-emulated.c')
-rw-r--r--hw/usb/ccid-card-emulated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/ccid-card-emulated.c b/hw/usb/ccid-card-emulated.c
index 9ddd5ad75b..3213f9f8af 100644
--- a/hw/usb/ccid-card-emulated.c
+++ b/hw/usb/ccid-card-emulated.c
@@ -407,7 +407,7 @@ static int init_event_notifier(EmulatedState *card)
DPRINTF(card, 2, "event notifier creation failed\n");
return -1;
}
- event_notifier_set_handler(&card->notifier, card_event_handler);
+ event_notifier_set_handler(&card->notifier, false, card_event_handler);
return 0;
}