Support for suspend to disk / resume (Qemu).

This commit is contained in:
grossmj
2018-03-30 19:28:22 +07:00
parent 64949f5d04
commit 3d1ee4da3f
3 changed files with 113 additions and 4 deletions

View File

@ -544,8 +544,8 @@ class QEMUHandler:
def download_image(request, response):
filename = request.match_info["filename"]
iou_manager = Qemu.instance()
image_path = iou_manager.get_abs_image_path(filename)
qemu_manager = Qemu.instance()
image_path = qemu_manager.get_abs_image_path(filename)
# Raise error if user try to escape
if filename[0] == ".":