Patchwork xen: fix build problem introduced from per-queue peers

login
register
mail settings
Submitter Anthony Liguori
Date Feb. 1, 2013, 7:03 p.m.
Message ID <1359745400-23961-1-git-send-email-aliguori@us.ibm.com>
Download mbox | patch
Permalink /patch/217563/
State New
Headers show

Comments

Anthony Liguori - Feb. 1, 2013, 7:03 p.m.
Reported-by Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 hw/xen_nic.c | 2 --
 1 file changed, 2 deletions(-)
Andreas Färber - Feb. 1, 2013, 8:27 p.m.
Am 01.02.2013 20:03, schrieb Anthony Liguori:
> Reported-by Andreas Färber <afaerber@suse.de>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Tested-by: Andreas Färber <afaerber@suse.de>

Andreas

> ---
>  hw/xen_nic.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/hw/xen_nic.c b/hw/xen_nic.c
> index 4be077d..34961c2 100644
> --- a/hw/xen_nic.c
> +++ b/hw/xen_nic.c
> @@ -326,8 +326,6 @@ static int net_init(struct XenDevice *xendev)
>          return -1;
>      }
>  
> -    netdev->conf.peer = NULL;
> -
>      netdev->nic = qemu_new_nic(&net_xen_info, &netdev->conf,
>                                 "xen", NULL, netdev);
>  
>
Anthony Liguori - Feb. 4, 2013, 10:50 p.m.
Applied.  Thanks.

Regards,

Anthony Liguori

Patch

diff --git a/hw/xen_nic.c b/hw/xen_nic.c
index 4be077d..34961c2 100644
--- a/hw/xen_nic.c
+++ b/hw/xen_nic.c
@@ -326,8 +326,6 @@  static int net_init(struct XenDevice *xendev)
         return -1;
     }
 
-    netdev->conf.peer = NULL;
-
     netdev->nic = qemu_new_nic(&net_xen_info, &netdev->conf,
                                "xen", NULL, netdev);