On 17/06/2015 21:22, Michael S. Tsirkin wrote: > > Does it make sense to have an ISA device that has no ports or MMIO > > regions? It's a bit of hack modeling-wise, but sure it works. > > I didn't write this code :)
Well, you did: :) >>> + vmport_rpc = isa_try_create(isa_bus, "vmport_rpc"); >>> + if (vmport_rpc) { >>> + qdev_init_nofail(DEVICE(vmport_rpc)); >>> + } vmport does have a port. vmport_rpc doesn't, it would use the same port as the main vmport device (which would dispatch to vmport_rpc). Paolo