diff --git a/qubes/mgmt.py b/qubes/mgmt.py index e8a44f0b..79e7e104 100644 --- a/qubes/mgmt.py +++ b/qubes/mgmt.py @@ -180,3 +180,12 @@ class QubesMgmt(object): return '' return qubes.utils.format_doc(doc) + + def vm_property_reset(self, untrusted_payload): + assert self.arg in self.dest.property_list() + assert not untrusted_payload + del untrusted_payload + + self.fire_event_for_permission() + + delattr(self.dest, self.arg)