commit | 03f541bd6eacdc6c2893f72b975257c89cab2b74 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Thu Oct 27 10:54:28 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Oct 28 19:25:50 2011 +0200 |
tree | 06b42b48d6ed6b2758985049b51f9d7e25157fb0 | |
parent | e7c637967e6aad195b5f30cfd995913c9e0b4666 [diff] |
block: reinitialize across bdrv_close()/bdrv_open() Several BlockDriverState fields are not being reinitialized across bdrv_close()/bdrv_open(). Make sure they are reset to their default values. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>