All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: "Zeng, Xin" <xin.zeng@intel.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"virtio-dev@lists.oasis-open.org"
	<virtio-dev@lists.oasis-open.org>,
	"Huangpeng (Peter)" <peter.huangpeng@huawei.com>,
	Luonengjun <luonengjun@huawei.com>,
	"cornelia.huck@de.ibm.com" <cornelia.huck@de.ibm.com>,
	"stefanha@redhat.com" <stefanha@redhat.com>,
	"denglingli@chinamobile.com" <denglingli@chinamobile.com>,
	Jani Kokkonen <Jani.Kokkonen@huawei.com>,
	"Ola.Liljedahl@arm.com" <Ola.Liljedahl@arm.com>,
	"Varun.Sethi@freescale.com" <Varun.Sethi@freescale.com>,
	"Keating, Brian A" <brian.a.keating@intel.com>,
	"Ma, Liang J" <liang.j.ma@intel.com>,
	"Griffin, John" <john.griffin@intel.com>,
	"Hanweidong (Randy)" <hanweidong@huawei.com>,
	"Huangweidong (C)" <weidong.huang@huawei.com>
Subject: Re: [Qemu-devel] [PATCH v6 1/2] virtio-crypto: Add virtio crypto device specification
Date: Thu, 4 Aug 2016 22:56:20 +0300	[thread overview]
Message-ID: <20160804225402-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020B03894EF@SZXEMA503-MBS.china.huawei.com>

On Thu, Aug 04, 2016 at 11:24:26AM +0000, Gonglei (Arei) wrote:
> > > +The first driver-read-only field, \field{version} specifies the virtio crypto's
> > > +version, which is reserved for back-compatibility in future.It's currently
> > > +defined for the version field:
> > > +
> > > +\begin{lstlisting}
> > > +#define VIRTIO_CRYPTO_VERSION_1  (1)
> > 
> > Suggest to remove this macro,
> > Do you think a version which is composed of major version and
> > minor version is better?
> > 
> 
> I think we should tell the developer how to set the value of version field,
> but I have no idea about which value or form is better, so I used 1 as the
> first version. What's your opinion?

My opinion is that you should drop this completely. We do feature bits,
not version numbers in virtio. We do not want each device doing its own
thing for compatibility.

-- 
MST

  reply	other threads:[~2016-08-04 19:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01  9:20 [Qemu-devel] [PATCH v6 0/2] virtio-crypto: virtio crypto device specification Gonglei
2016-08-01  9:20 ` [Qemu-devel] [PATCH v6 1/2] virtio-crypto: Add " Gonglei
2016-08-04  7:48   ` Zeng, Xin
2016-08-04 11:24     ` Gonglei (Arei)
2016-08-04 19:56       ` Michael S. Tsirkin [this message]
2016-08-08  6:27         ` Zeng, Xin
2016-08-09 10:44           ` Cornelia Huck
2016-08-09 13:42             ` Zeng, Xin
2016-08-09 10:58           ` Michael S. Tsirkin
2016-08-09 13:42             ` Zeng, Xin
2016-08-10  1:11               ` Gonglei (Arei)
2016-08-01  9:20 ` [Qemu-devel] [PATCH v6 2/2] virtio-crypto: add conformance clauses Gonglei
2016-08-03 14:30 ` [Qemu-devel] [PATCH v6 0/2] virtio-crypto: virtio crypto device specification Michael S. Tsirkin
2016-08-03 14:33   ` Cornelia Huck
2016-08-03 14:40     ` Michael S. Tsirkin
2016-08-03 14:53       ` Cornelia Huck
2016-08-03 17:23         ` Cornelia Huck
2016-08-03 18:40           ` Michael S. Tsirkin
2016-08-04 19:50           ` Michael S. Tsirkin
2016-08-03 15:17   ` Zeng, Xin
2016-08-03 15:46     ` Michael S. Tsirkin

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=20160804225402-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=Jani.Kokkonen@huawei.com \
    --cc=Ola.Liljedahl@arm.com \
    --cc=Varun.Sethi@freescale.com \
    --cc=arei.gonglei@huawei.com \
    --cc=brian.a.keating@intel.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=denglingli@chinamobile.com \
    --cc=hanweidong@huawei.com \
    --cc=john.griffin@intel.com \
    --cc=liang.j.ma@intel.com \
    --cc=luonengjun@huawei.com \
    --cc=peter.huangpeng@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=weidong.huang@huawei.com \
    --cc=xin.zeng@intel.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.