search for: cur_region

Displaying 6 results from an estimated 6 matches for "cur_region".

2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...TARGET_PAGE_ALIGN(e_size), 0); if (ret != 0) { fprintf(stderr, "%s: Error: create new mapping failed\n", __func__); @@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions, /* handle memory io regions */ if (cur_region->type & IORESOURCE_MEM) { + uint32_t size = i == msix_bar_nr(&pci_dev->dev) + ? msix_bar_size(&pci_dev->dev) : cur_region->size; + int t = cur_region->type & IORESOURCE_PREFETCH ? PCI_ADDRESS_SPACE_MEM_PREFETCH...
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...TARGET_PAGE_ALIGN(e_size), 0); if (ret != 0) { fprintf(stderr, "%s: Error: create new mapping failed\n", __func__); @@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions, /* handle memory io regions */ if (cur_region->type & IORESOURCE_MEM) { + uint32_t size = i == msix_bar_nr(&pci_dev->dev) + ? msix_bar_size(&pci_dev->dev) : cur_region->size; + int t = cur_region->type & IORESOURCE_PREFETCH ? PCI_ADDRESS_SPACE_MEM_PREFETCH...
2009 May 11
0
[PATCH 2/2] qemu-kvm: use common code for assigned msix
...TARGET_PAGE_ALIGN(e_size), 0); if (ret != 0) { fprintf(stderr, "%s: Error: create new mapping failed\n", __func__); @@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions, /* handle memory io regions */ if (cur_region->type & IORESOURCE_MEM) { + uint32_t size = i == msix_bar_nr(&pci_dev->dev) + ? pci_dev->msix_bar_size : cur_region->size; + int t = cur_region->type & IORESOURCE_PREFETCH ? PCI_ADDRESS_SPACE_MEM_PREFETCH...
2009 May 11
0
[PATCH 2/2] qemu-kvm: use common code for assigned msix
...TARGET_PAGE_ALIGN(e_size), 0); if (ret != 0) { fprintf(stderr, "%s: Error: create new mapping failed\n", __func__); @@ -378,11 +368,16 @@ static int assigned_dev_register_regions(PCIRegion *io_regions, /* handle memory io regions */ if (cur_region->type & IORESOURCE_MEM) { + uint32_t size = i == msix_bar_nr(&pci_dev->dev) + ? pci_dev->msix_bar_size : cur_region->size; + int t = cur_region->type & IORESOURCE_PREFETCH ? PCI_ADDRESS_SPACE_MEM_PREFETCH...
2008 Jun 27
2
PCI device assignment to guests (userspace)
Userspace patches for the pci-passthrough functionality. The major updates since the last post are: - Loop to add passthrough devices in pc_init1 - Handle errors in read/write calls - Allow invocation without irq number for in-kernel irqchip Other than this, several small things were fixed according to review comments received last time.
2008 Jun 27
2
PCI device assignment to guests (userspace)
Userspace patches for the pci-passthrough functionality. The major updates since the last post are: - Loop to add passthrough devices in pc_init1 - Handle errors in read/write calls - Allow invocation without irq number for in-kernel irqchip Other than this, several small things were fixed according to review comments received last time.