From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql3gZ-0004eq-PJ for qemu-devel@nongnu.org; Sun, 24 Jul 2011 14:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ql3gY-0002qt-Qo for qemu-devel@nongnu.org; Sun, 24 Jul 2011 14:45:55 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:42907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ql3gY-0002qc-MV for qemu-devel@nongnu.org; Sun, 24 Jul 2011 14:45:54 -0400 Received: by wyf28 with SMTP id 28so2762980wyf.4 for ; Sun, 24 Jul 2011 11:45:53 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4E2C685D.6010002@redhat.com> Date: Sun, 24 Jul 2011 20:45:49 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1310742615-23901-1-git-send-email-pbonzini@redhat.com> <4E21A2B6.50100@codemonkey.ws> In-Reply-To: <4E21A2B6.50100@codemonkey.ws> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] report serial devices created with -device in the PIIX4 config space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, armbru@redhat.com On 07/16/2011 04:39 PM, Anthony Liguori wrote: > > Instead of checking for a port assignment, couldn't we do a device tree > transversal and look for isa-serial devices? We could then look at the > iobase property to figure out which serial device is configured. Thanks for applying it as is---BTW, I set to do this first but changed plans after I noticed that there are no qdev property getters. Paolo