* Alex Williamson (alex.william...@redhat.com) wrote:
> Signed-off-by: Alex Williamson <alex.william...@redhat.com>
> ---
> 
>  hw/pci.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/pci.h b/hw/pci.h
> index 34955d8..7c52637 100644
> --- a/hw/pci.h
> +++ b/hw/pci.h
> @@ -124,8 +124,8 @@ enum {
>  
>  #define PCI_CAPABILITY_CONFIG_MAX_LENGTH 0x60
>  #define PCI_CAPABILITY_CONFIG_DEFAULT_START_ADDR 0x40
> -#define PCI_CAPABILITY_CONFIG_MSI_LENGTH 0x10
> -#define PCI_CAPABILITY_CONFIG_MSIX_LENGTH 0x10
> +#define PCI_CAPABILITY_CONFIG_MSI_LENGTH 0xa

This is variable length.

> +#define PCI_CAPABILITY_CONFIG_MSIX_LENGTH 0x0c
>  
>  typedef int (*msix_mask_notifier_func)(PCIDevice *, unsigned vector,
>                                      int masked);
> 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to