vm_ioport_attach
err = vm_ioport_attach(vm, ioport, vpmtmr_handler, vpmtmr,
int vm_ioport_attach(struct vm *vm, uint16_t port, ioport_handler_t func,