All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Markus Armbruster <armbru@redhat.com>,
	Vincenzo Maffione <v.maffione@gmail.com>
Cc: jasowang@redhat.com, g.lettieri@iet.unipi.it, rizzo@iet.unipi.it,
	qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH 1/2] net: netmap: Fix compilation issue
Date: Thu, 5 Nov 2015 07:46:05 -0700	[thread overview]
Message-ID: <563B6BAD.4030202@redhat.com> (raw)
In-Reply-To: <87wptwvbvy.fsf@blackfin.pond.sub.org>

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

On 11/05/2015 06:01 AM, Markus Armbruster wrote:
> Vincenzo Maffione <v.maffione@gmail.com> writes:
> 
>> Reorganization of struct NetClientOptions caused a compilation failure
>> of the netmap backend. This patch fixes the issue by properly accessing the
>> union field.
>>
>> Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
>> ---
>>  net/netmap.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/net/netmap.c b/net/netmap.c
>> index 508b829..4197a9c 100644
>> --- a/net/netmap.c
>> +++ b/net/netmap.c
>> @@ -439,7 +439,7 @@ int net_init_netmap(const NetClientOptions *opts,
>>                      const char *name, NetClientState *peer, Error **errp)
>>  {
>>      /* FIXME error_setg(errp, ...) on failure */
>> -    const NetdevNetmapOptions *netmap_opts = opts->netmap;
>> +    const NetdevNetmapOptions *netmap_opts = opts->u.netmap;
>>      NetClientState *nc;
>>      NetmapPriv me;
>>      NetmapState *s;
> 
> Broken in commit e4ba22b.  Recommend to point to that in the commit
> message.  Thanks for cleaning up the mess we made there!

My fault for not compiling netmap code.  Does it need specific configure
options?

> 
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
> 

Reviewed-by: Eric Blake <eblake@redhat.com>

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  parent reply	other threads:[~2015-11-05 14:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05  9:35 [Qemu-devel] [PATCH 0/2] Fix compilation of netmap backend Vincenzo Maffione
2015-11-05  9:35 ` [Qemu-devel] [PATCH 1/2] net: netmap: Fix compilation issue Vincenzo Maffione
2015-11-05 13:01   ` Markus Armbruster
2015-11-05 13:26     ` Vincenzo Maffione
2015-11-05 14:46     ` Eric Blake [this message]
2015-11-05 14:52       ` Vincenzo Maffione
2015-11-05 15:01         ` Eric Blake
2015-11-05 20:27           ` Vincenzo Maffione
2015-11-06 10:06             ` Markus Armbruster
2015-11-05  9:35 ` [Qemu-devel] [PATCH 2/2] net: netmap: use error_setg_errno() in place of error_report() Vincenzo Maffione
2015-11-05 13:13   ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=563B6BAD.4030202@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=g.lettieri@iet.unipi.it \
    --cc=jasowang@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rizzo@iet.unipi.it \
    --cc=stefanha@redhat.com \
    --cc=v.maffione@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.