From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIP7h-00021b-62 for qemu-devel@nongnu.org; Wed, 20 Mar 2013 15:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIP7g-0004qJ-3I for qemu-devel@nongnu.org; Wed, 20 Mar 2013 15:56:33 -0400 Date: Wed, 20 Mar 2013 15:56:18 -0400 From: Luiz Capitulino Message-ID: <20130320155618.336f1171@doriath> In-Reply-To: <20130320193955.GE1580@vm> References: <1362159627-20139-1-git-send-email-mdroth@linux.vnet.ibm.com> <20130320105451.0df45933@doriath> <20130320160308.GB1580@vm> <20130320125851.2e501c00@doriath> <20130320172630.GC1580@vm> <20130320134056.464e09b6@doriath> <20130320181421.GD1580@vm> <20130320143835.4a28e14d@doriath> <20130320193955.GE1580@vm> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu-ga: use key-value store to avoid recycling fd handles after restart List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mdroth Cc: aliguori@us.ibm.com, qemu-stable@nongnu.org, armbru@redhat.com, qemu-devel@nongnu.org On Wed, 20 Mar 2013 14:39:55 -0500 mdroth wrote: > So I wonder if, rather than pursuing option 3, we just introduce an > interface that does what we really want and returns handles as UUIDs, > then mark the existing interfaces as deprecated (and then remove them > within the next 300 years so our assert never gets hit :) This seems reasonable to me. It should be an assert() if it should never happen. If we feel like doing option 3, we introduce a new interface that handles UUIDs instead.