> > -void qemu_bh_schedule(QEMUBH *bh) > > -{ > > - bh->cb(bh->opaque); > > -} > > - > > -void qemu_bh_cancel(QEMUBH *bh) > > -{ > > -} > > - > > -void qemu_bh_delete(QEMUBH *bh) > > -{ > > - qemu_free(bh); > > -} > > - > > int qemu_set_fd_handler2(int fd, > > IOCanReadHandler *fd_read_poll, > > IOHandler *fd_read, > > > > These functions surely cannot just be deleted like this.
These functions were not deleted but instead moved into a separate file qemu-tool-time.c, because those functions are time related and the implementations are different in the simulation mode and in the real mode. In the latest patches, these functions are kept in qemu-tool.c but their implementations support both cases based on a switch.