Searched hist:"6963 a30d82413bea36c7545137b090b284cc2b18" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/block/ |
H A D | nbd.c | diff 6963a30d82413bea36c7545137b090b284cc2b18 Fri Mar 15 12:47:22 CDT 2013 Kevin Wolf <kwolf@redhat.com> block: Introduce .bdrv_parse_filename callback
If a driver needs structured data and not just a string, it can provide a .bdrv_parse_filename callback now that parses the command line string into separate options. Keeping this separate from .bdrv_open_filename ensures that the preferred way of directly specifying the options always works as well if parsing the string works.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
/openbmc/qemu/include/block/ |
H A D | block_int.h | diff 6963a30d82413bea36c7545137b090b284cc2b18 Fri Mar 15 12:47:22 CDT 2013 Kevin Wolf <kwolf@redhat.com> block: Introduce .bdrv_parse_filename callback
If a driver needs structured data and not just a string, it can provide a .bdrv_parse_filename callback now that parses the command line string into separate options. Keeping this separate from .bdrv_open_filename ensures that the preferred way of directly specifying the options always works as well if parsing the string works.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff 6963a30d82413bea36c7545137b090b284cc2b18 Fri Mar 15 12:47:22 CDT 2013 Kevin Wolf <kwolf@redhat.com> block: Introduce .bdrv_parse_filename callback
If a driver needs structured data and not just a string, it can provide a .bdrv_parse_filename callback now that parses the command line string into separate options. Keeping this separate from .bdrv_open_filename ensures that the preferred way of directly specifying the options always works as well if parsing the string works.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
|