vhci: Use io.h instead of mainloop.h
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Oct 2021 23:29:13 +0000 (16:29 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commit3a7cddb449fada9e13525fc81136a92514c1033f
tree70d6f7d83ba99ca560d4eaa1b87f7dee3f330018
parentd6e47625801a581c6381054e801f7eb27fe37c2c
vhci: Use io.h instead of mainloop.h

The likes of mainloop_add_fd is not implemented in mainloop-glib.c while
io_set_read_handler so this makes it possible to use vhci instance with
both libshared-glib and libshared-mainloop.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
emulator/vhci.c