xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH V3] xl: create VFB for PV guest when VNC is specified
Date: Tue, 17 Dec 2013 16:40:46 +0000	[thread overview]
Message-ID: <1387298446.1025.8.camel@dagon.hellion.org.uk> (raw)
In-Reply-To: <21168.30890.498488.182257@mariner.uk.xensource.com>

On Tue, 2013-12-17 at 16:15 +0000, Ian Jackson wrote:
> Wei Liu writes ("Re: [Xen-devel] [PATCH V3] xl: create VFB for PV guest when VNC is specified"):
> > On Tue, Dec 17, 2013 at 03:02:07PM +0000, Ian Jackson wrote:
> > > Finally: IMO the macro should probably initialise the new element
> > > itself.  So it will be more than just "ARRAY_EXTEND" because it will
> > > have some knowledge of the kind of array it is, and might need to be
> > > renamed.  Ian C, what do you think ?
> > 
> > Huh? Elements are initialized by different funcitons. You mean I need to
> > add extra argument to the macro to pass in the initilization function?
> 
> Either that, or pass in just the core of the token eg "vkb" and use
> token pasting to automatically create the right function name.
> 
> But please wait to see what Ian C says as he may disagree with me.

I'm happy either way. A more helpful macro is good but it is perhaps
getting a bit complex, so I wouldn't blame Wei for wanting to keep it
simpler by doing the init afterwards.

There's also an argument that this should be functionality provided in
helpers generated by the IDL, but that certainly isn't 4.4 material...

Ian.

  reply	other threads:[~2013-12-17 16:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 17:39 [PATCH V3] xl: create VFB for PV guest when VNC is specified Wei Liu
2013-12-16 17:46 ` Ian Campbell
2013-12-17 11:28   ` Wei Liu
2013-12-17 11:36     ` Andrew Cooper
2013-12-17 11:40       ` Wei Liu
2013-12-17 11:41         ` Ian Campbell
2013-12-17 11:49           ` Wei Liu
2013-12-17 15:02             ` Ian Jackson
2013-12-17 15:16               ` Wei Liu
2013-12-17 16:15                 ` Ian Jackson
2013-12-17 16:40                   ` Ian Campbell [this message]
2013-12-17 16:52                     ` Wei Liu
2013-12-17 18:04                       ` Ian Jackson
2013-12-17 21:51                         ` Wei Liu
2013-12-17 14:44   ` Ian Jackson

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=1387298446.1025.8.camel@dagon.hellion.org.uk \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=wei.liu2@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).