[EMULATORS] Add support for PCI Scan for guest

o Add support for PCI Scan by guest.
o Change the lock mechanism to handle IO in faults.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>