From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCkKz-0001gg-7o for qemu-devel@nongnu.org; Fri, 02 Dec 2016 04:41:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCkKy-0003Pz-CF for qemu-devel@nongnu.org; Fri, 02 Dec 2016 04:41:01 -0500 Received: from mail-ua0-x233.google.com ([2607:f8b0:400c:c08::233]:34782) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCkKx-0003Pd-V2 for qemu-devel@nongnu.org; Fri, 02 Dec 2016 04:41:00 -0500 Received: by mail-ua0-x233.google.com with SMTP id 51so275939820uai.1 for ; Fri, 02 Dec 2016 01:40:59 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1881805253.931387.1480582201178.JavaMail.zimbra@redhat.com> <80CBC347-EB37-4728-96B1-834B466F15C4@livius.net> <25BA8569-80CF-4BB7-BAF5-082D2F598EB2@livius.net> From: Peter Maydell Date: Fri, 2 Dec 2016 09:40:38 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] Support for using TCG frontend as a library List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liviu Ionescu Cc: Paolo Bonzini , Alessandro Di Federico , qemu-devel On 1 December 2016 at 19:45, Liviu Ionescu wrote: > >> On 1 Dec 2016, at 21:13, Peter Maydell wrote: >> >> You need a QCOW2 disk to store the snapshots on, ... >> Taking savevm snapshots doesn't need any cooperation >> from the guest OS .. >> I don't know whether anybody's tested this with M profile: > > does your Stellaris board support this? > > assuming I fix my devices to save their status and I can correctly > resume from a given snapshot, I still fail to understand how to > integrate this feature in the usual debugging workflow. The most useful approach is that you can set up a complicated situation (eg "boot my embedded RTOS, start application"), snapshot at that point, and then you can repeatedly restart debugging from the snapshot without having to take ages going through the bootup process each time. (Particularly useful if you turn on heavyweight tracing which can turn bootup from "fairly fast" to "incredibly slow".) thanks -- PMM