About password, I wonder if we could not retrieve the current ticket
from spice server, and copy it to the target vm.
Libvirt seem to simply store the current password in the vm config xml
:/
graphics type='spice' port='5900' autoport='no' passwd='secret'
I just committed a patch for pve-qemu-kvm to return the last ticktet
with qmp query-spice.
What do you think? Can you try to use that for your patches?
Great ! Thanks !
I'll try that today.
(BTW, the ca=... fix has been commited to spice-gtk git)
- Mail original -
De: Dietmar
I just committed a patch for pve-qemu-kvm to return the last ticktet
with qmp query-spice.
What do you think? Can you try to use that for your patches?
Great ! Thanks !
I'll try that today.
Besides, I consider this a workaround - hopefully the spice people
provide a better solution in
Besides, I consider this a workaround - hopefully the spice people
provide a better solution in future (which work with multiple sessions).
Yes, sure. I have got some reply on mailing, I'll hope things will move.
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre
changelog: retreive spice ticket with qmp query-spice.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm | 21 +
PVE/QMPClient.pm |3 ++-
PVE/QemuMigrate.pm | 41 -
PVE/QemuServer.pm | 32 +---
4 files changed, 80
changelog :
wait for migrate spice session, after the resume of the target vm, to avoid
downtime
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm | 21 +
PVE/QMPClient.pm |3 ++-
PVE/QemuMigrate.pm | 41 -
PVE/QemuServer.pm | 32 +---
4 files changed, 80
Hi all!
We just uploaded new packages to enable the use of SPICE on Proxmox VE. I
already love it and I use it every day!
In order to test it, you need to use the pvetest repository
(http://pve.proxmox.com/wiki/Package_repositories)
For more details, see:
http://pve.proxmox.com/wiki/SPICE
A
+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,
May I suggest to use a separate patch for that cleanup?
Ok, no problem, I'll split the big patch into smaller patches, should be more
readable in git history.
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com,
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm | 12 +---
PVE/QemuServer.pm | 17 +
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 2c86487..29e7647 100644
--- a/PVE/API2/Qemu.pm
changelog : split in multiple commits
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuMigrate.pm | 39 +++
PVE/QemuServer.pm | 15 ---
2 files changed, 51 insertions(+), 3 deletions(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index dd48f78..ce5f17e
we need it add spiceticket to target vm for migration
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm |9 -
PVE/QemuServer.pm |2 +-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index
I think that you should add to wiki something like this:
When you click on spice console button, a connection config file is download.
You need to configure your browser to always open this configuration file and
associate it when remote-viewer
The association is automatic for chrome,internet
I think that you should add to wiki something like this:
When you click on spice console button, a connection config file is
download.
You need to configure your browser to always open this configuration file
and associate it when remote-viewer
The association is automatic for
+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
18 matches
Mail list logo