diff options
| author | Max Reitz | 2014-03-10 23:44:08 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-03-13 14:23:27 +0100 |
| commit | 938789ea92b3073ad1113b3e1bdf90d469ea4bf4 (patch) | |
| tree | efbe652cf1b7e8ab31a2497ca7ad24e1bc962595 /include/exec/hwaddr.h | |
| parent | qcow2: Check bs->drv in copy_sectors() (diff) | |
| download | qemu-938789ea92b3073ad1113b3e1bdf90d469ea4bf4.tar.gz qemu-938789ea92b3073ad1113b3e1bdf90d469ea4bf4.tar.xz qemu-938789ea92b3073ad1113b3e1bdf90d469ea4bf4.zip | |
block: bs->drv may be NULL in bdrv_debug_resume()
Currently, bdrv_debug_resume() requires every bs->drv in the BDS stack
to be NULL until a bs->drv with an implementation of bdrv_debug_resume()
is found. For a normal function, this would be fine, but this is a
function for debugging purposes and should therefore allow intermediate
BDS not to have a driver (i.e., be "ejected"). Otherwise, it is hard to
debug such situations.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/hwaddr.h')
0 files changed, 0 insertions, 0 deletions
