From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAdy4-00062g-94 for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:19:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAdy0-00069T-7L for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:19:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAdy0-00069L-0A for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:19:32 -0500 Message-ID: <54B3BBC4.2080804@redhat.com> Date: Mon, 12 Jan 2015 13:19:16 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20150112115944.3504.66763.stgit@PASHA-ISP> <20150112115958.3504.62352.stgit@PASHA-ISP> In-Reply-To: <20150112115958.3504.62352.stgit@PASHA-ISP> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v7 02/21] replay: global variables and function stubs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, peter.crosthwaite@xilinx.com, alex.bennee@linaro.org, mark.burton@greensocs.com, real@ispras.ru, batuzovk@ispras.ru, maria.klimushenkova@ispras.ru, afaerber@suse.de, fred.konrad@greensocs.com On 12/01/2015 12:59, Pavel Dovgalyuk wrote: > +## > +# ReplaySubmode: > +# > +# Submode of the replay subsystem. > +# > +# @unknown: used for modes different from play. > +# > +# @normal: normal replay mode. > +# > +# Since: 2.3 > +## > +{ 'enum': 'ReplaySubmode', > + 'data': [ 'unknown', 'normal' ] } What is a submode? Can you just check if replay_file is NULL? Paolo