[pve-devel] [PATCH] spice migration

Dietmar Maurer dietmar at proxmox.com
Tue Jul 23 19:45:04 CEST 2013


> > +    if($conf->{vga} eq 'qxl'){
> > +	my $res = PVE::QemuServer::vm_mon_cmd($vmid, 'query-spice');
> > +	push @$cmd, '--spiceticket', $res->{ticket} if $res->{ticket};
> > +    }
> > +
> 
> Using passwords/ticktes on the command line is a bad idea, because any
> system user can see it with a simple "ps auxww", so we want to avoid that.
> 
> Maybe we can add a new sub-command to the migration tunnel ( 'qm
> mtunnel')?

Just had a better idea - we can simply read the spice ticket from STDIN on 'qm start'. 



More information about the pve-devel mailing list