search for: pci_iomul_setup

Displaying 1 result from an estimated 1 matches for "pci_iomul_setup".

2013 Nov 02
2
"pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x1:0x0.0x0". in qemu-dm-example.hvm.log
...Below is part of pass-through.c. #ifndef CONFIG_STUBDOM #define PCI_IOMUL_DEV_PATH "/dev/xen/pci_iomul" static void pt_iomul_init(struct pt_dev *assigned_device, uint8_t r_bus, uint8_t r_dev, uint8_t r_func) { int fd = PCI_IOMUL_INVALID_FD; struct pci_iomul_setup setup = { .segment = 0, .bus = r_bus, .dev = r_dev, .func = r_func, }; fd = open(PCI_IOMUL_DEV_PATH, O_RDWR); if ( fd < 0 ) { PT_LOG("Error: %s can't open file %s: %s: 0x%x:0x%x.0x%x\n", __func__, PCI_IOMUL_DEV_PAT...