Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753120AbbDAKtS (ORCPT ); Wed, 1 Apr 2015 06:49:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58242 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbbDAKtQ (ORCPT ); Wed, 1 Apr 2015 06:49:16 -0400 Date: Wed, 1 Apr 2015 12:49:02 +0200 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Cornelia Huck , Pawel Moll , virtio-dev@lists.oasis-open.org, Rusty Russell , virtualization@lists.linux-foundation.org, linux-api@vger.kernel.org Subject: Re: [PATCH v3 1/6] virtio_balloon: transitional interface Message-ID: <20150401124539-mutt-send-email-mst@redhat.com> References: <1427884468-23930-1-git-send-email-mst@redhat.com> <1427884468-23930-2-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1427884468-23930-2-git-send-email-mst@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 24 On Wed, Apr 01, 2015 at 12:35:45PM +0200, Michael S. Tsirkin wrote: > Virtio 1.0 doesn't include a modern balloon device. > But it's not a big change to support a transitional > balloon device: this has the advantage of supporting > existing drivers, transparently. > > Signed-off-by: Michael S. Tsirkin > --- > include/uapi/linux/virtio_balloon.h | 11 ++++++++-- > drivers/virtio/virtio_balloon.c | 43 +++++++++++++++++++++++++++++-------- > 2 files changed, 43 insertions(+), 11 deletions(-) So all in all 32 LOC added, and 9 out of these deal with endian-ness differences. Seems like a small cost for guests to pay for a clean spec, no? -- MST -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/