From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj6rh-0005Ei-2H for qemu-devel@nongnu.org; Fri, 17 Apr 2015 10:03:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj6rd-0002Wx-4W for qemu-devel@nongnu.org; Fri, 17 Apr 2015 10:03:29 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:34582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj6rd-0002WH-0c for qemu-devel@nongnu.org; Fri, 17 Apr 2015 10:03:25 -0400 Received: by iedfl3 with SMTP id fl3so82124177ied.1 for ; Fri, 17 Apr 2015 07:03:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Fri, 17 Apr 2015 15:02:41 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] register_savevm() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Catalin Vasile Cc: QEMU Developers On 17 April 2015 at 14:54, Catalin Vasile wrote: > Does loadvm create new virtual devices (dev.init(), dev.realize(), etc.) for > the vm to run onto and then load VMStateDescription? loadvm itself does not, no. You have to start QEMU with the exact same configuration and command line options, which means the usual startup will create all the devices and connect them up. Then you can do a loadvm which will read the state into all the existing devices. -- PMM