|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 0/5] qdev: device capabilities |
Date: | Sat, 05 Sep 2009 08:39:57 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
Gerd Hoffmann wrote:
Look at patch #5 (watchdogs). What else do you suggest here? There is nothing which can be used to identify the device as watchdog.
That's a problem with the watchdog timers. The WatchdogTimerModel stuff really replicates qdev functionality.
Ideally, the watchdog_list would go away and we would just make -watchdog an alias for -device. Instead of having a global watchdog action, we should have a watchdog frontend/backend and allow a user to specify the action for a watchdog backend. This is basically what -watchdog-action does.
The current command line options assume one global watchdog. I don't see why we shouldn't support two though. Even if we limited ourselves to one, it should use the same infrastructure as everything else.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |