Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
qdev: extend DEFINE_GENERIC_PROP() to support default values
Allow declatration to define default value in string form and apply it later in device_initfn() using object_property_parse() for practicaly any property that has a corresponding string visitor. Signed-off-by: Igor Mammedov <imammedo@redhat.com>
- Loading branch information
Igor Mammedov
committed
Jan 11, 2013
1 parent
1d139d7
commit e9fd18f
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters