From 1034bcedd9bab0ac553730b0da90ce5ff927754f Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 11 Jun 2012 16:46:18 +0200 Subject: [PATCH] backup: refresh dev list after attaching backup device to dom0 --- qubesmanager/backup_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubesmanager/backup_utils.py b/qubesmanager/backup_utils.py index fbf0923..a45a4ad 100644 --- a/qubesmanager/backup_utils.py +++ b/qubesmanager/backup_utils.py @@ -126,6 +126,7 @@ def dev_combobox_activated(dialog, idx): else: # originally attached to another domain, eg. usbvm #attach it to dom0, then treat it as an attached device dialog.blk_manager.attach_device(dialog.vm, dev_name) + dialog.blk_manager.update() if dev_name in dialog.blk_manager.attached_devs: #is attached to dom0 assert dialog.blk_manager.attached_devs[dev_name]['attached_to']['vm'] == dialog.vm.name