Home
last modified time | relevance | path

Searched hist:f8d6bba1c1f56217d9ee71b7aee5f94f46c8f148 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/
H A Dqemu-img.cdiff f8d6bba1c1f56217d9ee71b7aee5f94f46c8f148 Wed Jun 13 03:11:48 CDT 2012 Markus Armbruster <armbru@redhat.com> block: Replace bdrv_get_format() by bdrv_get_format_name()

So callers don't need to know anything about maximum name length.
Returning a pointer is safe, because the name string lives as long as
the block driver it names, and block drivers don't die.

Requested by Peter Maydell.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dblock.cdiff f8d6bba1c1f56217d9ee71b7aee5f94f46c8f148 Wed Jun 13 03:11:48 CDT 2012 Markus Armbruster <armbru@redhat.com> block: Replace bdrv_get_format() by bdrv_get_format_name()

So callers don't need to know anything about maximum name length.
Returning a pointer is safe, because the name string lives as long as
the block driver it names, and block drivers don't die.

Requested by Peter Maydell.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>