From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTwb-0007EU-Kh for qemu-devel@nongnu.org; Mon, 15 Sep 2014 06:55:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTTwV-0002Pi-37 for qemu-devel@nongnu.org; Mon, 15 Sep 2014 06:55:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTTwU-0002PK-JB for qemu-devel@nongnu.org; Mon, 15 Sep 2014 06:55:34 -0400 Date: Mon, 15 Sep 2014 13:55:06 +0300 From: "Michael S. Tsirkin" Message-ID: <20140915105506.GA10190@redhat.com> References: <1410448173-12960-1-git-send-email-kraxel@redhat.com> <1410448173-12960-2-git-send-email-kraxel@redhat.com> <5411BD74.80608@redhat.com> <1410518696.30411.9.camel@nilsson.home.kraxel.org> <20140914134622.GB27315@redhat.com> <1410777607.30598.7.camel@nilsson.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1410777607.30598.7.camel@nilsson.home.kraxel.org> Subject: Re: [Qemu-devel] [PATCH 1/2] virtio-gpu/2d: add hardware spec include file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Dave Airlie , virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org, virtio-dev@lists.oasis-open.org On Mon, Sep 15, 2014 at 12:40:07PM +0200, Gerd Hoffmann wrote: > > > > > + > > > > > +enum virtgpu_ctrl_type { > > > > > + VIRTGPU_UNDEFINED = 0, > > > > > + > > > > > + /* 2d commands */ > > > > > + VIRTGPU_CMD_GET_DISPLAY_INFO = 0x0100, > > > > > > > > Please consider also adding: > > > > VIRTIO_GPU_ everywhere to make it consistent with other > > virtio headers? > > The names are already pretty long as-is, especially considering the > 80cols rule in our codestyle. I'd prefer to keep them the way they are > now. > > cheers, > Gerd > VIRTIO_GPU_ is not longer than VIRTIO_NET_ is it? VIRTGRU seems too generic. -- MST