Merge remote-tracking branch 'qubesos/pr/96'

* qubesos/pr/96:
  Added dom0 check to qvm-prefs
This commit is contained in:
Marek Marczykowski-Górecki 2017-04-23 15:42:42 +02:00
commit 25d596de3a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -579,6 +579,10 @@ def main():
"the same time!" "the same time!"
exit(1) exit(1)
if vmname == 'dom0':
print >> sys.stderr, "dom0 cannot be edited by qvm-prefs"
exit(1)
if options.offline_mode: if options.offline_mode:
vmm.offline_mode = True vmm.offline_mode = True