This should be done in QubesVm class (property setter). But since we're going to rewrite both qvm-prefs and QubesVm, settle on smaller change for now. QubesOS/qubes-issues#1184