From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxIsd-0000HF-1d for qemu-devel@nongnu.org; Mon, 12 Oct 2009 07:15:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxIsX-0000Gf-LY for qemu-devel@nongnu.org; Mon, 12 Oct 2009 07:15:53 -0400 Received: from [199.232.76.173] (port=48023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxIsX-0000Gc-Ec for qemu-devel@nongnu.org; Mon, 12 Oct 2009 07:15:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxIsX-00005l-3g for qemu-devel@nongnu.org; Mon, 12 Oct 2009 07:15:49 -0400 Message-ID: <4AD30FDE.50908@redhat.com> Date: Mon, 12 Oct 2009 13:15:42 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH v2 9/9] Add -kvm option References: <1254953315-5761-1-git-send-email-glommer@redhat.com> <1254953315-5761-2-git-send-email-glommer@redhat.com> <1254953315-5761-3-git-send-email-glommer@redhat.com> <1254953315-5761-4-git-send-email-glommer@redhat.com> <1254953315-5761-5-git-send-email-glommer@redhat.com> <1254953315-5761-6-git-send-email-glommer@redhat.com> <1254953315-5761-7-git-send-email-glommer@redhat.com> <1254953315-5761-8-git-send-email-glommer@redhat.com> <1254953315-5761-9-git-send-email-glommer@redhat.com> <1254953315-5761-10-git-send-email-glommer@redhat.com> <4ACD1D92.8080607@us.ibm.com> <4ACDF233.3090500@redhat.com> <4ACDF5D2.2070408@codemonkey.ws> <4ACDF779.2040505@redhat.com> <4ACDF82B.4010200@codemonkey.ws> <4ACDF9FD.8060704@redhat.com> <4ACDFDB1.2020505@codemonkey.ws> <4ACDFFB7.8000500@redhat.com> <4ACE01E0.4030806@codemonkey.ws> In-Reply-To: <4ACE01E0.4030806@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Mark McLoughlin , Anthony Liguori , Glauber Costa , Avi Kivity , qemu-devel@nongnu.org >> (qemu) info pit >> pit: counter 0x1234 period 0x3453 >> >> or something. > > When the pit is qdev converted, it will have properties. counter and > period could be two of those properties in which case, 'info qtree > i8254' would show the above output or 'info qtree i8254-kvm' would show it. Device state belongs more into vmstate than into properties. Ideally each qdev device has the vmstate entry filled as well, so looking up the device in the tree then dump the state can be done. cheers, Gerd