Revision 0247d20f
ID | 0247d20ffa4e56741cdcfa6efdc440a0b6562171 |
Parent | 987ec378 |
Child | 7bc4d6ac |
Function to image disks while ensuring that disks are paused
- Add 'ImageDisks' that actually calls the 'blockdev_image' RPC in a
context where disk sync is paused. - Add 'ImageOrCleanupDisks' which is just a wrapper around the
previous function that cleans up if an exception occurs.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Files
- added
- modified
- copied
- renamed
- deleted