Searched hist:a31939e6c854e26e391efaec49c9d7f796369bbb (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/block/ |
H A D | blkdebug.c | diff a31939e6c854e26e391efaec49c9d7f796369bbb Wed Nov 18 02:52:54 CST 2015 Eric Blake <eblake@redhat.com> blkdebug: Merge hand-rolled and qapi BlkdebugEvent enum
No need to keep two separate enums, where editing one is likely to forget the other. Now that we can specify a qapi enum prefix, we don't even have to change the bulk of the uses.
get_event_by_name() could perhaps be replaced by qapi_enum_parse(), but I left that for another day.
CC: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-20-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
/openbmc/qemu/include/block/ |
H A D | block.h | diff a31939e6c854e26e391efaec49c9d7f796369bbb Wed Nov 18 02:52:54 CST 2015 Eric Blake <eblake@redhat.com> blkdebug: Merge hand-rolled and qapi BlkdebugEvent enum
No need to keep two separate enums, where editing one is likely to forget the other. Now that we can specify a qapi enum prefix, we don't even have to change the bulk of the uses.
get_event_by_name() could perhaps be replaced by qapi_enum_parse(), but I left that for another day.
CC: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-20-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
H A D | block_int.h | diff a31939e6c854e26e391efaec49c9d7f796369bbb Wed Nov 18 02:52:54 CST 2015 Eric Blake <eblake@redhat.com> blkdebug: Merge hand-rolled and qapi BlkdebugEvent enum
No need to keep two separate enums, where editing one is likely to forget the other. Now that we can specify a qapi enum prefix, we don't even have to change the bulk of the uses.
get_event_by_name() could perhaps be replaced by qapi_enum_parse(), but I left that for another day.
CC: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-20-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
/openbmc/qemu/qapi/ |
H A D | block-core.json | diff a31939e6c854e26e391efaec49c9d7f796369bbb Wed Nov 18 02:52:54 CST 2015 Eric Blake <eblake@redhat.com> blkdebug: Merge hand-rolled and qapi BlkdebugEvent enum
No need to keep two separate enums, where editing one is likely to forget the other. Now that we can specify a qapi enum prefix, we don't even have to change the bulk of the uses.
get_event_by_name() could perhaps be replaced by qapi_enum_parse(), but I left that for another day.
CC: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-20-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff a31939e6c854e26e391efaec49c9d7f796369bbb Wed Nov 18 02:52:54 CST 2015 Eric Blake <eblake@redhat.com> blkdebug: Merge hand-rolled and qapi BlkdebugEvent enum
No need to keep two separate enums, where editing one is likely to forget the other. Now that we can specify a qapi enum prefix, we don't even have to change the bulk of the uses.
get_event_by_name() could perhaps be replaced by qapi_enum_parse(), but I left that for another day.
CC: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-20-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
|