From: Anthony Liguori <aliguori-NZpS4cJIG2HvQtjrzfazuQ@public.gmane.org>
To: Jun Koi
<public-junkoi2004-Re5JQEeQqe8AvxtiuMwx3w-8ByrlEUxsivZ+VzJOa5vwg@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: opaque field?
Date: Thu, 09 Nov 2006 20:28:29 -0600 [thread overview]
Message-ID: <4553E3CD.7050606@cs.utexas.edu> (raw)
In-Reply-To: <fdaac4d50611080230j2541adc2tbc5267d2b17bda2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Jun Koi wrote:
> hi,
>
> in the structure kvm_context in libkvm:
>
> struct kvm_context {
> int fd;
> struct kvm_callbacks *callbacks;
> void *opaque;
> void *physical_memory;
> };
>
> i would propose to change the field name to "private" or "data",
> rather than "opaque", which is a little bit weird to me.
opaque is a pretty common name for this sort of thing. private is a
reserved keyword in C++ and data is about as generic as it gets.
Regards,
Anthony Liguori
> Jun
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
prev parent reply other threads:[~2006-11-10 2:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-08 10:30 opaque field? Jun Koi
[not found] ` <fdaac4d50611080230j2541adc2tbc5267d2b17bda2a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-11-10 2:28 ` Anthony Liguori [this message]
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=4553E3CD.7050606@cs.utexas.edu \
--to=aliguori-nzps4cjig2hvqtjrzfazuq@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=public-junkoi2004-Re5JQEeQqe8AvxtiuMwx3w-8ByrlEUxsivZ+VzJOa5vwg@public.gmane.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