Add name argument to allow the VNC/SDL window title to be set

This commit is contained in:
Tom Marshall 2021-05-13 14:25:09 -07:00
parent 19a25fb269
commit 50e4397145
1 changed files with 1 additions and 0 deletions

1
vmmd
View File

@ -988,6 +988,7 @@ class VirtualMachine(DbObject):
raise RuntimeError('Unknown arch')
argv = [prog]
argv.extend(['-daemonize', '-pidfile', self._qemu_pidfile()])
argv.extend(['-name', self['name']])
argv.extend(['-machine', machine_arg, '-cpu', cpu_arg])
ethdev = 'virtio-net' if self['ostype'] == 'linux' else 'e1000'
blkopt = ''