emulate a pci device