Revision 4e59b545 qemu-tool.c
b/qemu-tool.c | ||
---|---|---|
56 | 56 |
{ |
57 | 57 |
} |
58 | 58 |
|
59 |
void async_context_push(void) |
|
60 |
{ |
|
61 |
} |
|
62 |
|
|
63 |
void async_context_pop(void) |
|
64 |
{ |
|
65 |
} |
|
66 |
|
|
67 |
int get_async_context_id(void) |
|
68 |
{ |
|
69 |
return 0; |
|
70 |
} |
|
71 |
|
|
72 | 59 |
void monitor_protocol_event(MonitorEvent event, QObject *data) |
73 | 60 |
{ |
74 | 61 |
} |
75 | 62 |
|
76 |
QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque) |
|
77 |
{ |
|
78 |
QEMUBH *bh; |
|
79 |
|
|
80 |
bh = qemu_malloc(sizeof(*bh)); |
|
81 |
bh->cb = cb; |
|
82 |
bh->opaque = opaque; |
|
83 |
|
|
84 |
return bh; |
|
85 |
} |
|
86 |
|
|
87 |
int qemu_bh_poll(void) |
|
88 |
{ |
|
89 |
return 0; |
|
90 |
} |
|
91 |
|
|
92 |
void qemu_bh_schedule(QEMUBH *bh) |
|
93 |
{ |
|
94 |
bh->cb(bh->opaque); |
|
95 |
} |
|
96 |
|
|
97 |
void qemu_bh_cancel(QEMUBH *bh) |
|
98 |
{ |
|
99 |
} |
|
100 |
|
|
101 |
void qemu_bh_delete(QEMUBH *bh) |
|
102 |
{ |
|
103 |
qemu_free(bh); |
|
104 |
} |
|
105 |
|
|
106 | 63 |
int qemu_set_fd_handler2(int fd, |
107 | 64 |
IOCanReadHandler *fd_read_poll, |
108 | 65 |
IOHandler *fd_read, |
... | ... | |
111 | 68 |
{ |
112 | 69 |
return 0; |
113 | 70 |
} |
71 |
|
|
72 |
void qemu_notify_event(void) |
|
73 |
{ |
|
74 |
} |
Also available in: Unified diff