From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mvuhh-0002ea-D7 for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:14:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mvuhc-0002cN-O6 for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:14:53 -0400 Received: from [199.232.76.173] (port=59070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mvuhc-0002cI-IV for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:14:48 -0400 Received: from mail-fx0-f214.google.com ([209.85.220.214]:43774) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mvuhc-0001dg-87 for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:14:48 -0400 Received: by fxm10 with SMTP id 10so5651965fxm.8 for ; Thu, 08 Oct 2009 08:14:47 -0700 (PDT) Message-ID: <4ACE01E0.4030806@codemonkey.ws> Date: Thu, 08 Oct 2009 10:14:40 -0500 From: Anthony Liguori 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> In-Reply-To: <4ACDFFB7.8000500@redhat.com> 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: Avi Kivity Cc: Mark McLoughlin , Anthony Liguori , Gerd Hoffmann , Glauber Costa , qemu-devel@nongnu.org Avi Kivity wrote: > On 10/08/2009 04:56 PM, Anthony Liguori wrote: >> Avi Kivity wrote: >>> That's a bug in the userspace pit :) >>> >>> I'm worried about things like 'info pit' needing dual implementations. >> >> You mean info qdm? >> >> It'll Just Work. >> > > I mean > > (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. In fact, a very good reason to have two device models is that there are certain properties that make sense for i8254-kvm that don't make sense for i8254. For instance, you could expose information about interrupt catch up. Regards, Anthony Liguori