Added dom0 check to qvm-prefs
Added a check to qvm-prefs to see if the specified VM is dom0 and, if so, error out with a message that dom0 cannot be managed by qvm-prefs
This commit is contained in:
parent
6bcc97b859
commit
7896dc5404
@ -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