Merge remote-tracking branch 'qubesos/pr/96'
* qubesos/pr/96: Added dom0 check to qvm-prefs
This commit is contained in:
commit
25d596de3a
@ -579,6 +579,10 @@ def main():
|
||||
"the same time!"
|
||||
exit(1)
|
||||
|
||||
if vmname == 'dom0':
|
||||
print >> sys.stderr, "dom0 cannot be edited by qvm-prefs"
|
||||
exit(1)
|
||||
|
||||
if options.offline_mode:
|
||||
vmm.offline_mode = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user