From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH RFC 03/11] virtio: support more feature bits Date: Mon, 13 Oct 2014 16:23:58 +1030 Message-ID: <87bnpgecqx.fsf@rustcorp.com.au> References: <1412692807-12398-1-git-send-email-cornelia.huck@de.ibm.com> <1412692807-12398-4-git-send-email-cornelia.huck@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1412692807-12398-4-git-send-email-cornelia.huck@de.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Cornelia Huck , virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org, kvm@vger.kernel.org Cc: thuth@linux.vnet.ibm.com List-Id: virtualization@lists.linuxfoundation.org Cornelia Huck writes: > With virtio-1, we support more than 32 feature bits. Let's make > vdev->guest_features depend on the number of supported feature bits, > allowing us to grow the feature bits automatically. It's a judgement call, but I would say that simply using uint64_t will be sufficient for quite a while. Cheers, Rusty. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdZWy-0008JA-0b for qemu-devel@nongnu.org; Mon, 13 Oct 2014 02:55:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdZWr-0004sv-T3 for qemu-devel@nongnu.org; Mon, 13 Oct 2014 02:54:55 -0400 Received: from ozlabs.org ([103.22.144.67]:60333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdZWr-0004sf-IG for qemu-devel@nongnu.org; Mon, 13 Oct 2014 02:54:49 -0400 From: Rusty Russell In-Reply-To: <1412692807-12398-4-git-send-email-cornelia.huck@de.ibm.com> References: <1412692807-12398-1-git-send-email-cornelia.huck@de.ibm.com> <1412692807-12398-4-git-send-email-cornelia.huck@de.ibm.com> Date: Mon, 13 Oct 2014 16:23:58 +1030 Message-ID: <87bnpgecqx.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC 03/11] virtio: support more feature bits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck , virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org, kvm@vger.kernel.org Cc: thuth@linux.vnet.ibm.com Cornelia Huck writes: > With virtio-1, we support more than 32 feature bits. Let's make > vdev->guest_features depend on the number of supported feature bits, > allowing us to grow the feature bits automatically. It's a judgement call, but I would say that simply using uint64_t will be sufficient for quite a while. Cheers, Rusty.