|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 0/5] qdev: device capabilities |
Date: | Mon, 07 Sep 2009 15:36:29 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
Gerd Hoffmann wrote:
Patch #5 does just that. Almost. -watchdog continues to accept watchdog devices only. And '-watchdog ?' lists watchdog devices only.watchdog_list is gone, the qdev list is used instead. To identify the watchdog devices in the qdev device model list the capability bit is used. The patch description says so, doesn't it?
Instead of checking the capability bit, why not look for a property with a type that's unique to the watch dog timer.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |