commit | 1ed20acf2f581480436fb621995ef7c18fa75fad | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Thu Oct 13 13:08:21 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Oct 13 15:02:53 2011 +0200 |
tree | 78ab05e91de8809281c343bd4a4eeb820f92b467 | |
parent | a652d16025030013116c4d63883b9e1ec08a4359 [diff] |
block: directly invoke .bdrv_* from emulation functions The emulation functions which supply default BlockDriver .bdrv_*() functions given another implemented .bdrv_*() function should not use public bdrv_*() interfaces. This patch ensures they invoke .bdrv_*() directly to avoid adding an extra layer of coroutine request processing and possibly entering an infinite loop. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>