xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Keir Fraser <keir@xen.org>, Jan Beulich <jbeulich@suse.com>,
	Don Slutz <dslutz@verizon.com>,
	xen-devel@lists.xen.org
Subject: Re: [RFC][PATCH v2 1/1] Add IOREQ_TYPE_VMWARE_PORT
Date: Fri, 3 Oct 2014 10:51:52 +0100	[thread overview]
Message-ID: <1412329912.423.23.camel@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1410031039330.17038@kaball.uk.xensource.com>

On Fri, 2014-10-03 at 10:47 +0100, Stefano Stabellini wrote:
> The issue with a union is compatibility with older QEMU versions: we can
> introduce the union and retain compatibility only if we use anonymous
> unions.  However I seem to recall Jan arguing against anonymous unions
> in public interfaces in past.

The canonical headers in xen/include/public are supposed to be strict
ANSI C and anonymous unions are a gcc extension.

However no-one is obliged to use this copy and several projects
(including Linux, *BSD and others) take copies and modify them to suite
their local coding styles/conventions etc. That could include using
anonymous unions if that is preferable. I'm not sure if that helps you
here though (since the issue AIUI is with existing qemu releases...)

Ian.

  reply	other threads:[~2014-10-03  9:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 18:36 [RFC][PATCH v2 0/1] Add support for Xen access to vmport Don Slutz
2014-10-02 18:36 ` [RFC][PATCH v2 1/1] Add IOREQ_TYPE_VMWARE_PORT Don Slutz
2014-10-02 20:33   ` Andrew Cooper
2014-10-02 21:56     ` Don Slutz
2014-10-02 22:23       ` Andrew Cooper
2014-10-03  9:47         ` Stefano Stabellini
2014-10-03  9:51           ` Ian Campbell [this message]
2014-10-03  9:54             ` Stefano Stabellini
2014-10-03 19:27               ` Don Slutz
2014-10-06  7:55                 ` Jan Beulich
2014-10-06  9:21                   ` Stefano Stabellini
2014-10-06  9:39                     ` Jan Beulich
2014-10-06 19:51                       ` Don Slutz
2014-10-07  8:05                         ` Jan Beulich
2014-10-06  9:54                     ` Paul Durrant
2014-10-03  9:29   ` Paul Durrant
2014-10-03 19:44     ` Don Slutz
2014-10-03  9:46   ` Paul Durrant
2014-10-03 19:56     ` Don Slutz

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=1412329912.423.23.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dslutz@verizon.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).