qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qdev: relax bus type check in qdev_device_add()


From: Konrad Frederic
Subject: Re: [Qemu-devel] [PATCH] qdev: relax bus type check in qdev_device_add()
Date: Thu, 29 Nov 2012 15:07:02 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120623 Thunderbird/10.0.5

On 29/11/2012 14:56, Peter Maydell wrote:
On 29 November 2012 13:49, Anthony Liguori<address@hidden>  wrote:
We are currently checking for an exact type match.  Use QOM dynamic_cast to
check for a compatible type instead.
I think this only catches the case where a bus was explicitly
specified via bus=. For the default case you also need to change
the similar code for checking the bus type in qbus_find_recursive(),
right?

-- PMM
Right, it's working only with the "bus=" command line.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]