From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAeQu-0001cX-Eq for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:49:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAeQr-0008Um-9F for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:49:24 -0500 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:34855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAeQr-0008Ue-37 for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:49:21 -0500 Received: by mail-wg0-f49.google.com with SMTP id n12so19084904wgh.8 for ; Mon, 12 Jan 2015 04:49:20 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54B3C2CC.40407@redhat.com> Date: Mon, 12 Jan 2015 13:49:16 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20150112115944.3504.66763.stgit@PASHA-ISP> <20150112120009.3504.5362.stgit@PASHA-ISP> In-Reply-To: <20150112120009.3504.5362.stgit@PASHA-ISP> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v7 04/21] replay: internal functions for replay log 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, mark.burton@greensocs.com, real@ispras.ru, batuzovk@ispras.ru, maria.klimushenkova@ispras.ru, alex.bennee@linaro.org, afaerber@suse.de, fred.konrad@greensocs.com On 12/01/2015 13:00, Pavel Dovgalyuk wrote: > + > +volatile unsigned int replay_data_kind = -1; > +volatile unsigned int replay_has_unread_data; > + Why does this have to be volatile? Paolo