search for: err_config

Displaying 12 results from an estimated 12 matches for "err_config".

Did you mean: error_config
2009 Jun 21
1
[PATCHv6 05/12] qemu/pci: MSI-X support functions
...msix_mmio_write, dev); + if (dev->msix_mmio_index == -1) { + ret = -EBUSY; + goto err_index; + } + + dev->msix_entries_nr = nentries; + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; + qemu_free(dev->msix_entry_used); + dev->msix_entry_used = N...
2009 Jun 21
1
[PATCHv6 05/12] qemu/pci: MSI-X support functions
...msix_mmio_write, dev); + if (dev->msix_mmio_index == -1) { + ret = -EBUSY; + goto err_index; + } + + dev->msix_entries_nr = nentries; + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; + qemu_free(dev->msix_entry_used); + dev->msix_entry_used = N...
2009 Jun 02
0
[PATCHv2 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; +err_page: + qemu_free(dev->msix_entry_used); + dev->msix_ent...
2009 Jun 02
0
[PATCHv2 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; +err_page: + qemu_free(dev->msix_entry_used); + dev->msix_ent...
2009 Jun 18
0
[PATCHv5 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; + qemu_free(dev->msix_entry_used); + dev->msix_entry_used = N...
2009 Jun 18
0
[PATCHv5 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; + qemu_free(dev->msix_entry_used); + dev->msix_entry_used = N...
2009 Jun 10
0
[PATCHv4 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; + qemu_free(dev->msix_entry_used); + dev->msix_entry_used = N...
2009 Jun 10
0
[PATCHv4 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; + qemu_free(dev->msix_entry_used); + dev->msix_entry_used = N...
2009 May 25
1
[PATCH 05/11] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; +err_page: + qemu_free(dev->msix_entry_used); + dev->msix_ent...
2009 May 25
1
[PATCH 05/11] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; +err_page: + qemu_free(dev->msix_entry_used); + dev->msix_ent...
2009 Jun 05
1
[PATCHv3 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; +err_page: + qemu_free(dev->msix_entry_used); + dev->msix_ent...
2009 Jun 05
1
[PATCHv3 05/13] qemu: MSI-X support functions
...ntries_nr = nentries; + dev->cap_supported |= QEMU_PCI_CAP_MSIX; + /* If disabled, stop here. User can later load confiuration with MSI-X + * enabled. */ + if (msix_disable) + return 0; + + ret = msix_add_config(dev, nentries, bar_nr, bar_size); + if (ret) + goto err_config; + + dev->cap_present |= QEMU_PCI_CAP_MSIX; + return 0; + +err_config: + cpu_unregister_io_memory(dev->msix_mmio_index); +err_index: + qemu_free(dev->msix_table_page); + dev->msix_table_page = NULL; +err_page: + qemu_free(dev->msix_entry_used); + dev->msix_ent...