diff options
| author | Paolo Bonzini | 2012-05-08 16:51:49 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2012-05-10 10:32:12 +0200 |
| commit | 6405875cdd10e531ad3dedaad86ae1ccc4b14f20 (patch) | |
| tree | 15a21b4e50d37599e212c1c218560bb6e01676d0 /tests | |
| parent | block: protect path_has_protocol from filenames with colons (diff) | |
| download | qemu-6405875cdd10e531ad3dedaad86ae1ccc4b14f20.tar.gz qemu-6405875cdd10e531ad3dedaad86ae1ccc4b14f20.tar.xz qemu-6405875cdd10e531ad3dedaad86ae1ccc4b14f20.zip | |
block: move field reset from bdrv_open_common to bdrv_close
bdrv_close should leave fields in the same state as bdrv_new. It is
not up to bdrv_open_common to fix the mess.
Also, backing_format was not being re-initialized.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
