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

Re: [Xen-devel] [PATCH v8 1/3] Remove identical relationship between ioreq type and rangeset type.



>>> On 23.08.15 at 11:33, <yu.c.zhang@xxxxxxxxxxxxxxx> wrote:
> --- a/xen/arch/x86/hvm/hvm.c
> +++ b/xen/arch/x86/hvm/hvm.c
> @@ -2545,7 +2545,7 @@ struct hvm_ioreq_server *hvm_select_ioreq_server(struct 
> domain *d,
>                                PCI_SLOT(CF8_BDF(cf8)),
>                                PCI_FUNC(CF8_BDF(cf8)));
>  
> -        type = IOREQ_TYPE_PCI_CONFIG;
> +        type = HVMOP_IO_RANGE_PCI;
>          addr = ((uint64_t)sbdf << 32) |
>                 CF8_ADDR_LO(cf8) |
>                 (p->addr & 3);
> @@ -2563,7 +2563,8 @@ struct hvm_ioreq_server *hvm_select_ioreq_server(struct 
> domain *d,
>      }
>      else
>      {
> -        type = p->type;
> +        type = (p->type == IOREQ_TYPE_PIO) ?
> +             HVMOP_IO_RANGE_PORT : HVMOP_IO_RANGE_MEMORY;

Hard tabs.

With that fixed
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.