From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs Date: Mon, 29 Nov 2010 13:26:07 +0200 Message-ID: <20101129112607.GC26738@redhat.com> References: <1290595933-13122-3-git-send-email-avi@redhat.com> <50DD1E97-0ECD-41E6-B6F8-1D78AA4A4876@suse.de> <20101128115921.GB11685@redhat.com> <4CF252DA.1050303@redhat.com> <20101128135749.GB12874@redhat.com> <4CF2687F.3000306@redhat.com> <20101128165758.GE12874@redhat.com> <4CF370E4.5050903@redhat.com> <20101129104736.GA26738@redhat.com> <4CF385ED.8030700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Graf , Marcelo Tosatti , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12709 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936Ab0K2L02 (ORCPT ); Mon, 29 Nov 2010 06:26:28 -0500 Content-Disposition: inline In-Reply-To: <4CF385ED.8030700@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Nov 29, 2010 at 12:52:29PM +0200, Avi Kivity wrote: > The default is duplication. With C++ your default is > tr1::unordered_map<> and you can optimize it later if you like. BTW not relevant to kvm, but for qemu, some people seem to care about building with an old migw compiler in Debian stable which is unlikely to have tr1. If we drop this we'll also have a working %llx in printf :) > -- > error compiling committee.c: too many arguments to function