|
From: | Andreas Färber |
Subject: | Re: [Qemu-devel] [PATCH] report serial devices created with -device in the PIIX4 config space |
Date: | Sun, 24 Jul 2011 23:35:28 +0200 |
Am 24.07.2011 um 20:57 schrieb Anthony Liguori:
On 07/24/2011 01:45 PM, Paolo Bonzini wrote: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 theiobase property to figure out which serial device is configured.---BTW, I set to do this first but changed plans after I noticed that there are no qdev property getters.:-/I seem to recall a patch to add them but it's not a very nice solution either.
Mine, in the ISA/PReP series. The alternative is moving lots of device state to header files. Adding the getters avoided patch conflicts and seemed cleaner symmetry- wise.
Regards, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |