qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 07/16] pci: add Error-propagating pci_add_capabi


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 07/16] pci: add Error-propagating pci_add_capability2()
Date: Tue, 29 Apr 2014 11:41:38 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/10/2014 02:24 AM, Laszlo Ersek wrote:
> ... and rebase pci_add_capability() to it.
> 
> Signed-off-by: Laszlo Ersek <address@hidden>
> ---
>  include/hw/pci/pci.h |  4 ++++
>  hw/pci/pci.c         | 32 ++++++++++++++++++++++++++------
>  2 files changed, 30 insertions(+), 6 deletions(-)
> 

> @@ -306,10 +307,13 @@ void pci_register_vga(PCIDevice *pci_dev, MemoryRegion 
> *mem,
>  void pci_unregister_vga(PCIDevice *pci_dev);
>  pcibus_t pci_get_bar_addr(PCIDevice *pci_dev, int region_num);
>  
>  int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
>                         uint8_t offset, uint8_t size);
> +int pci_add_capability2(PCIDevice *pdev, uint8_t cap_id,
> +                       uint8_t offset, uint8_t size,
> +                       Error **errp);

Indentation is off; might be transient if you merge things back into one
pci_add_capability later in the series.  Modulo that,
Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]