VMM: clean up IO emulation.