diff --git a/qvm-tools/qvm-create b/qvm-tools/qvm-create index 6ae002e5..18e45c87 100755 --- a/qvm-tools/qvm-create +++ b/qvm-tools/qvm-create @@ -130,6 +130,10 @@ def main(): if options.offline_mode: vmm.offline_mode = True + if re.match('^disp\d+$', vmname): + print >> sys.stderr, 'The name "{0}" is reserved for internal use.'.format(vmname) + exit(1) + qvm_collection = QubesVmCollection() qvm_collection.lock_db_for_writing() qvm_collection.load()