search for: 0dd6185

Displaying 2 results from an estimated 2 matches for "0dd6185".

Did you mean: 066185
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...+ if (changed && dev->msix_assigned) { + if (enabled) + msix_enable(dev); + else + msix_free_irq_entries(dev); + } if (changed && !enabled) qemu_set_irq(dev->irq[0], 0); } diff --git a/hw/pci.h b/hw/pci.h index 339a700..0dd6185 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -215,6 +215,10 @@ struct PCIDevice { unsigned *msix_entry_used; /* Region including the MSI-X table */ uint32_t msix_bar_size; + /* For some devices, there's no easy way to get MSI-X usage data from the + * guest. As a hack, we can l...
2009 May 20
0
[PATCHv2-RFC 2/2] qemu-kvm: use common code for assigned msix
...+ if (changed && dev->msix_assigned) { + if (enabled) + msix_enable(dev); + else + msix_free_irq_entries(dev); + } if (changed && !enabled) qemu_set_irq(dev->irq[0], 0); } diff --git a/hw/pci.h b/hw/pci.h index 339a700..0dd6185 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -215,6 +215,10 @@ struct PCIDevice { unsigned *msix_entry_used; /* Region including the MSI-X table */ uint32_t msix_bar_size; + /* For some devices, there's no easy way to get MSI-X usage data from the + * guest. As a hack, we can l...