From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH v2 1/6] virtio_balloon: transitional interface Date: Wed, 1 Apr 2015 11:43:46 +0200 Message-ID: <20150401113300-mutt-send-email-mst@redhat.com> References: <1427831230-28044-1-git-send-email-mst@redhat.com> <1427831230-28044-2-git-send-email-mst@redhat.com> <87mw2sy0fo.fsf@rustcorp.com.au> <20150401094236-mutt-send-email-mst@redhat.com> <87h9t06w3h.fsf@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <87h9t06w3h.fsf@rustcorp.com.au> 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: Rusty Russell Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org On Wed, Apr 01, 2015 at 07:53:14PM +1030, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > On Wed, Apr 01, 2015 at 02:17:23PM +1030, Rusty Russell wrote: > >> I would leave the device *exactly* as is, ugly structure packing and > >> all. > > > > But why? It's going to be used for years, might as well make it clean? > > Because the only spec which currently exists says to do that. OK but the only spec which currently exists also says it's a legacy only device, so driver must not set VERSION_1. So surely, we can make minor changes when VERSION_1 is set, like we did for other devices. Let me post the latest patches I'm working on, see what you think then. > We do > need a new virtio memballoon spec, but it'll look nothing like this > anyway. > > Cheers, > Rusty. I think it's going to have significantly different semantics, too, so not much value in making that one work with current drivers, right? -- MST