From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSWGB-00006S-5V for qemu-devel@nongnu.org; Thu, 20 Aug 2015 16:16:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSWG7-00033X-DZ for qemu-devel@nongnu.org; Thu, 20 Aug 2015 16:16:26 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:34284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSWG7-00031s-6I for qemu-devel@nongnu.org; Thu, 20 Aug 2015 16:16:23 -0400 Received: by laba3 with SMTP id a3so29589273lab.1 for ; Thu, 20 Aug 2015 13:16:21 -0700 (PDT) Received: from [192.168.1.53] ([77.252.154.224]) by smtp.gmail.com with ESMTPSA id o3sm1537734lao.48.2015.08.20.13.16.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 13:16:21 -0700 (PDT) Message-ID: <55D63592.30506@gmail.com> Date: Thu, 20 Aug 2015 22:16:18 +0200 From: "mar.krzeminski" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Reset register configuration in embedde device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I am new here, so sorry for dummy question... The problem: I have an embedded arm board simulation, I want to add a device simulating quite complicated reset cause logic. This logic is used in boot process. The goal is to have possibility to set proper register values before virtual machine start to boot. My ideas: a) Create a file that will be read by device, and will be passed by command line and device property. b) Use qemu monitor if possible. Questions: a) Is there a framework in qemu that I can use for that? b) If not is there an idea how should be done so someone else can use this functionality? c) Is it possible to use qemu monitor for this? d) Maybe there is a device that have similar functionality? Best regards, Marcin