Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: Use BDRV_O_NO_BACKING where appropriate
If you open an image temporarily just because you want to check its size or get it flushed, there's no real reason to open the whole backing file chain. This is a backport of c9fbb99 to qemu 1.7.1. The backport was done to fix a bug where QEMU 1.7.1 would crash or freeze when the user take around 80 consecutives snapshots in a row. git bisect would lead to commit: ba2ab2f and it was clear that BDRV_NO_BACKING was missing. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters