From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdQ6b-0005gb-G4 for qemu-devel@nongnu.org; Sat, 19 Sep 2015 17:55:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdQ6Y-0007F2-34 for qemu-devel@nongnu.org; Sat, 19 Sep 2015 17:55:37 -0400 Received: from mail-vk0-f46.google.com ([209.85.213.46]:34406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdQ6X-0007Ey-UR for qemu-devel@nongnu.org; Sat, 19 Sep 2015 17:55:33 -0400 Received: by vkhf67 with SMTP id f67so47277403vkh.1 for ; Sat, 19 Sep 2015 14:55:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <55FDCD6F.6080803@twiddle.net> References: <1442552129-19242-1-git-send-email-rth@twiddle.net> <1442552129-19242-21-git-send-email-rth@twiddle.net> <55FDCD6F.6080803@twiddle.net> From: Peter Maydell Date: Sat, 19 Sep 2015 22:55:13 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2 20/22] tcg: Save insn data and use it in cpu_restore_state_from_tb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: =?UTF-8?B?QWxleCBCZW5uw6ll?= , QEMU Developers , Aurelien Jarno On 19 September 2015 at 22:02, Richard Henderson wrote: > I'll note that the current worst-case estimate is way too big: 122kB. Well, it's way too big because we have a bad worst-case: a TB with lots of insns that generate a lot of TCG ops. That pretty much never happens but you can't rule it out with a malicious guest. thanks -- PMM