Displaying 1 result from an estimated 1 matches for "pci_iomul_dev_path".
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
...linux code, found nothing. where pci_iomul device's code implemented ?
I check tools/qemu-xen-traditional/hw/pass-through.c. and found pt_iomul_init is called if CONFIG_STUBDOM not defined.
so should CONFIG_STUBDOM be defined ?
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 =...