commit | c64eafaf0c2f080d81f4c51a1eb2a98ceb40d2c8 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Fri Feb 19 13:31:49 2010 +0100 |
committer | Markus Armbruster <armbru@redhat.com> | Tue Mar 16 16:58:32 2010 +0100 |
tree | 1b1b6a2941f57053763d8cb680e7c43bed92a1d4 | |
parent | 0c17542d90a3863048ad6daff5de31c5c4d367d4 [diff] |
qdev: Hide "no_user" devices from users Users can't create them, so qdev_device_help() shouldn't list them. Fix that. Also make qdev_device_add() pretend they don't exist. Before, it rejected them with a "can't be added via command line" message, which wasn't quite right for monitor command device_add.