dom0/core: remove appmenus for HVM on qvm-remove (#23 pro)
This commit is contained in:
parent
4214572344
commit
c5d0b4e5de
@ -2208,6 +2208,19 @@ class QubesHVm(QubesVm):
|
|||||||
f_private.truncate(default_hvm_private_img_size)
|
f_private.truncate(default_hvm_private_img_size)
|
||||||
f_root.close()
|
f_root.close()
|
||||||
|
|
||||||
|
def remove_from_disk(self):
|
||||||
|
if dry_run:
|
||||||
|
return
|
||||||
|
|
||||||
|
self.remove_appmenus()
|
||||||
|
super(QubesHVm, self).remove_from_disk()
|
||||||
|
|
||||||
|
def pre_rename(self, new_name):
|
||||||
|
self.remove_appmenus()
|
||||||
|
|
||||||
|
def post_rename(self, old_name):
|
||||||
|
self.create_appmenus(False)
|
||||||
|
|
||||||
def get_disk_utilization_private_img(self):
|
def get_disk_utilization_private_img(self):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user