[pve-devel] [PATCH] spiceconfig: port can't be 0

2013-06-26 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index ba88f72..b371dc8 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1389,7 +1389,7 @@ __PACKAGE__

[pve-devel] qemu-server : spiceconfig: port can't be 0

2013-06-26 Thread Alexandre Derumier
port can't be 0, or client thrown an error. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] I am only able to open one spice console

2013-06-26 Thread Alexandre DERUMIER
Maurer diet...@proxmox.com À: Alexandre DERUMIER (aderum...@odiso.com) aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 26 Juin 2013 21:23:40 Objet: I am only able to open one spice console If I open a second spice console (to the same VM) the first one is closed

[pve-devel] spice : proxy relay to remote proxy ?

2013-06-26 Thread Alexandre DERUMIER
Hi, I'm testing the spice proxy, works fine ! (Damn, you are good with perl ;). I wonder if we need to connect to a remote spice server, if we couldn't forward the packets through the remote proxy client proxy1 (HTTP CONNECT)--proxy2 (HTTP CONNECT)--spice server

Re: [pve-devel] I am only able to open one spice console

2013-06-26 Thread Alexandre DERUMIER
BTW, seeems remote-viewer also support VNC?  Yes, I think so. (Not sure it'll work with current proxmox qemu vnc code) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 27 Juin 2013 06:00:29

Re: [pve-devel] spice : proxy relay to remote proxy ?

2013-06-26 Thread Alexandre DERUMIER
and directly communicate from client to server? I think that with seemless migration, we can only send through qmp, target host and port but not the proxy. So we need to keep the same proxy for local or remote storage. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre

Re: [pve-devel] libspice-protocol-dev (= 0.12.5) pve-libspice-server-dev (= 0.12.3)

2013-06-26 Thread Alexandre DERUMIER
you can reuse the libspice-protocol-dev from debian sid package : http://packages.debian.org/sid/libspice-protocol-dev pve-libspice-server-dev from proxmox git : https://git.proxmox.com/?p=pve-libspice-server.git;a=summary - Mail original - De: Stefan Priebe s.pri...@profihost.ag

Re: [pve-devel] rewrite vncterm for spice

2013-06-26 Thread Alexandre DERUMIER
I guess it would be a good idea to get vncterm replaced with something using spice in the long term.  MAybe spice-html5 could do the job, but the todo is big http://cgit.freedesktop.org/spice/spice-html5/tree/TODO - Mail original - De: Dietmar Maurer diet...@proxmox.com À:

Re: [pve-devel] I am only able to open one spice console

2013-06-27 Thread Alexandre DERUMIER
authenticated to proxmox to generate the ticket. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 27 Juin 2013 08:41:30 Objet: RE: I am only able to open one spice console Another point, if we

Re: [pve-devel] I am only able to open one spice console

2013-06-27 Thread Alexandre DERUMIER
- De: Dietmar Maurer diet...@proxmox.com À: Dietmar Maurer diet...@proxmox.com, Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 27 Juin 2013 08:43:05 Objet: RE: I am only able to open one spice console Another point, if we download a vnc config file (like

Re: [pve-devel] I am only able to open one spice console

2013-06-27 Thread Alexandre DERUMIER
Seem that is already implemented in last virt-viewer git (01 May 2013)  And available in virt-viewer 0.5.6 https://git.fedorahosted.org/cgit/virt-viewer.git/log/ - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel

[pve-devel] last pve-manager git : missing /etc/default/pveproxy

2013-06-27 Thread Alexandre DERUMIER
Restarting PVE API Proxy Server: pveproxybash: /etc/default/pveproxy: No such file or directory unknown policy '' (warning). Restarting PVE SPICE Proxy Server: spiceproxybash: /etc/default/pveproxy: No such file or directory unknown policy '' (warning). Restarting PVE Status Daemon:

Re: [pve-devel] libspice-protocol-dev (= 0.12.5) pve-libspice-server-dev (= 0.12.3)

2013-06-27 Thread Alexandre DERUMIER
apt-get install libpixman-1-dev (from wheezy stable repo) - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 27 Juin 2013 10:23:42 Objet: Re: [pve-devel] libspice-protocol

Re: [pve-devel] I am only able to open one spice console

2013-06-27 Thread Alexandre DERUMIER
original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 27 Juin 2013 10:52:28 Objet: RE: [pve-devel] I am only able to open one spice console juts uploaded a patch, but it does not work for me - any idea

[pve-devel] add +sep cpu flag to allow win8 32bit installation

2013-06-27 Thread Alexandre DERUMIER
Hi, win8 32bit (only 32bit), require +sep cpu flag to works. https://bugzilla.redhat.com/show_bug.cgi?id=907556 https://bugzilla.redhat.com/show_bug.cgi?id=832301 It's disabled by default from cpumodels, because of this bug on old redhat kernel

Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation

2013-06-28 Thread Alexandre DERUMIER
it, but i'm not sure about it) - Mail original - De: Martin Maurer mar...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Vendredi 28 Juin 2013 00:00:33 Objet: RE: [pve-devel] add +sep cpu flag to allow win8 32bit installation I don't have myself

Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation

2013-06-28 Thread Alexandre DERUMIER
somewhere on internet ? - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Martin Maurer mar...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 28 Juin 2013 09:11:52 Objet: Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation What I need

Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation

2013-06-28 Thread Alexandre DERUMIER
) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Martin Maurer mar...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Vendredi 28 Juin 2013 09:24:08 Objet: Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation What I need to check is with physical opteron

Re: [pve-devel] add +sep cpu flag to allow win8 32bit installation

2013-06-28 Thread Alexandre DERUMIER
don't have it, I think it break the qemu. I'll do tests with differents guest os, but I think it can be safe to enable +sep for all cpus models. (But we need to be sure that kernel is last redhat 6.4 kernel) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Martin

Re: [pve-devel] Magic auto upgrade?

2013-07-04 Thread Alexandre DERUMIER
do you see squeeze packages or wheezy packages ? - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: Alexandre DERUMIER aderum...@odiso.com Cc: Michael Rasmussen m...@datanom.net, pve-devel@pve.proxmox.com Envoyé: Jeudi 4 Juillet 2013 08:57:32 Objet: Re

Re: [pve-devel] Magic auto upgrade?

2013-07-04 Thread Alexandre DERUMIER
04.07.2013 10:08, schrieb Alexandre DERUMIER: blockquote blockquote blockquote But I've no idea where this comes from. Does PVE also write the Debian string? /blockquote Yes, don't remember which package. blockquote blockquote I'm backporting all wheezy packages from PVE to squeeze

[pve-devel] [PATCH 2/3] add +sep cpuflags to kvm32 kvm64 cpu models

2013-07-08 Thread Alexandre Derumier
This is needed for win8 x32 boot (this flag exist on intel amd, so it should be a problem). This could also improve performance of winxp 32bit guest Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE

[pve-devel] cpu flags optimisations

2013-07-08 Thread Alexandre Derumier
Hi, This patch series add some cpu flags optimisations: 1) x2apic This reduce context switch with multicore guests. Even if the host cpu don't have x2apic, it's working because qemu have an virtual x2apic implementation for guest. We need in-kernel irqchip support for this, which is enable

[pve-devel] [PATCH 1/3] enable x2apic by default for kvm machines

2013-07-08 Thread Alexandre Derumier
this reduce interrupts for multi-cores guests Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 31d8103..196ad0a 100644

[pve-devel] [PATCH 3/3] add hyper-v enlightments for windows guests

2013-07-08 Thread Alexandre Derumier
fixme : hv_apic seem to hang boot on my win2008R2. Don't known if we can enable it after install or if we need to install windows first with hv_apic enable.(missing driver or something like that) Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |6 ++ 1 file

[pve-devel] [PATCH 2/3] add +sep cpuflags to kvm32 kvm64 cpu models

2013-07-09 Thread Alexandre Derumier
win7 32 bits guests. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 196ad0a..ff8883d 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2398,6 +2398,8 @@ sub

[pve-devel] [PATCH 1/3] enable x2apic by default for kvm machines

2013-07-09 Thread Alexandre Derumier
is set) Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 31d8103..196ad0a 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm

[pve-devel] [PATCH 3/3] add hyper-v enlightments for windows guests

2013-07-09 Thread Alexandre Derumier
physicals processor It doesn't break live migration, because new cpu flags are not see by guests until a vm reset. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |6 ++ 1 file changed, 6 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index

[pve-devel] cpu flags optimisations v2

2013-07-09 Thread Alexandre Derumier
with comments in commits ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] clone failed: got lock timeout

2013-07-10 Thread Alexandre DERUMIER
Hi, When I clone a vm, I got sometimes this error message : clone failed: got lock timeout - aborting command I think it's related to $plugin-cluster_lock_storage($storeid, $scfg-{shared}, undef ... in vdisk_clone() sub. I clone with my netapp plugin, so I don't known if it's related.

Re: [pve-devel] clone failed: got lock timeout

2013-07-11 Thread Alexandre DERUMIER
I'll try that, thanks - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Jeudi 11 Juillet 2013 06:38:39 Objet: RE: [pve-devel] clone failed: got lock timeout is it possible that another lock is done

Re: [pve-devel] clone failed: got lock timeout

2013-07-11 Thread Alexandre DERUMIER
original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 11 Juillet 2013 09:38:31 Objet: Re: [pve-devel] clone failed: got lock timeout I'll try that, thanks - Mail original - De: Dietmar Maurer diet

[pve-devel] pve-sheedop : update sheepdog to stable git branch

2013-07-11 Thread Alexandre Derumier
Now sheepdog have stable branchs, with bugfix backports ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] pve-sheedop : update sheepdog to stable git branch

2013-07-15 Thread Alexandre DERUMIER
 (why 0.6.0-3?)) Sorry, I think I had already do some previous changes I my own git, indeed 0.6.0-2 is the good next version. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 15 Juillet 2013

[pve-devel] stream lock status in the cluster ?

2013-07-15 Thread Alexandre DERUMIER
Hi, I wonder if we could steam the lock status ? It could be great to display a new icon in pve-manager when a migration occur or disk is move for example. Also, I don't known if it's possible, but I could be great to display running tasks on top of task list. (Ex: When live migrate a lot

[pve-devel] [PATCH 2/3] add +sep cpuflags to kvm32 kvm64 cpu models

2013-07-15 Thread Alexandre Derumier
win7 32 bits guests. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index f0a3c01..ff5760f 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2398,6 +2398,8 @@ sub

[pve-devel] [PATCH 1/3] enable x2apic by default for kvm machines

2013-07-15 Thread Alexandre Derumier
is set) Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 31d8103..f0a3c01 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2225,6

[pve-devel] [PATCH 3/3] add hyper-v enlightments for windows guests

2013-07-15 Thread Alexandre Derumier
physicals processor It doesn't break live migration, because new cpu flags are not see by guests until a vm reset. Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm |6 ++ 1 file changed, 6 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index

[pve-devel] cpu flags optimisations v3

2013-07-15 Thread Alexandre Derumier
changelog : cleanup first commit ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] stream lock status in the cluster ?

2013-07-15 Thread Alexandre DERUMIER
'; $conf-{lock} = 'backup'; $conf-{lock} = 'snapshot'; $conf-{lock} = 'rollback'; . - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 15 Juillet 2013 08:16:06 Objet: RE: [pve-devel] stream

Re: [pve-devel] stream lock status in the cluster ?

2013-07-15 Thread Alexandre DERUMIER
'; - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 15 Juillet 2013 09:40:32 Objet: RE: [pve-devel] stream lock status in the cluster ? running = running, migrate , backup, snapshot, rollback What

Re: [pve-devel] spice tls on usix socket

2013-07-16 Thread Alexandre DERUMIER
: Alexandre DERUMIER (aderum...@odiso.com) aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 16 Juillet 2013 10:05:18 Objet: RE: spice tls on usix socket And if I try to connect to the other port # remote-viewer spice://localhost:3001 then kvm print this error: 139895458642144

Re: [pve-devel] spice tls on usix socket

2013-07-16 Thread Alexandre DERUMIER
,tls-channel=playback,tls-channel=record,tls-channel=usbredir I'll redo test today to send you a full working patch. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER (aderum...@odiso.com) aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi

Re: [pve-devel] spice tls on usix socket

2013-07-16 Thread Alexandre DERUMIER
it in configuration file https://git.fedorahosted.org/cgit/virt-viewer.git/tree/src/virt-viewer-file.c * - ca: string PEM data (use \n to seperate the lines) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com

[pve-devel] pve-manager : spice tls test : remove authentification in Host field

2013-07-16 Thread Alexandre Derumier
remove the authentification check from Host header on http proxy and connect through tcp localhost instead unix domain socket. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-17 Thread Alexandre DERUMIER
Virtual Environment,CN=base32ticket - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 17 Juillet 2013 08:23:05 Objet: Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl

Re: [pve-devel] spice and sound

2013-07-18 Thread Alexandre DERUMIER
Do we need to add a soundhw for spice? I think,yes, It's not like rdp. I don't have tested it yet. And can we disable the tablet device if we use spice? We need to disable it ! (I have bad behaviour when tablet is enable). But I don't known if user is doing vnc and spice at the same time ?

Re: [pve-devel] spice and sound

2013-07-18 Thread Alexandre DERUMIER
to give user choice of the model card ? (Maybe some old os like winxp don't have intel-hda driver out of the box ?) Also, Do we need an real audio card on the physical host ? - Mail original - De: Martin Maurer mar...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, Dietmar

Re: [pve-devel] spice and sound

2013-07-18 Thread Alexandre DERUMIER
://libvirt.org/git/?p=libvirt.git;a=blob;f=tests/qemuxml2argvdata/qemuxml2argv-sound-device.args;h=4a7129b356090a2862aa3f4bd0da71f51603bcc8;hb=d9a269bc7450cd88eea0fa8befb70cab8525be87 - Mail original - De: Martin Maurer mar...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-18 Thread Alexandre DERUMIER
},status:400,data:null,message:Parameter verification failed.\n} - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Juillet 2013 12:36:34 Objet: RE: [pve-devel] spice tls + proxy

Re: [pve-devel] spice and sound

2013-07-18 Thread Alexandre DERUMIER
: Alexandre DERUMIER aderum...@odiso.com, Martin Maurer mar...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Juillet 2013 12:05:05 Objet: RE: [pve-devel] spice and sound Do we need to give user choice of the model card ? (Maybe some old os like winxp don't have intel-hda driver

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-18 Thread Alexandre DERUMIER
sorry, my fault, I didn't have updated qemuserver package I'm going testing it now - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Juillet 2013 13:32:42 Objet: Re: [pve-devel] spice tls

Re: [pve-devel] Amazon S3 Filesystem Plugin

2013-07-18 Thread Alexandre DERUMIER
Do you want to do only backup ? If yes, maybe simply use s3fs fuse to mount the s3 storage as a filesystem ? (but be careful of write speed) https://code.google.com/p/s3fs/ - Mail original - De: Albert Murillo Aguirre albertmurilloagui...@gmail.com À: pve-devel@pve.proxmox.com

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-18 Thread Alexandre DERUMIER
hostname (json-string) - port: spice/vnc tcp port for plaintext channels (json-int, optional) - tls-port: spice tcp port for tls-secured channels (json-int, optional) - cert-subject: server certificate subject (json-string, optional) - Mail original - De: Alexandre DERUMIER

Re: [pve-devel] spice and sound

2013-07-18 Thread Alexandre DERUMIER
Also, do we need more than 1 audio card ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com, Martin Maurer mar...@proxmox.com Envoyé: Jeudi 18 Juillet 2013 15:56:45 Objet: RE: [pve-devel] spice and sound

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-18 Thread Alexandre DERUMIER
mode. Also, in my firsts tests, spice client disconnect when receive client_migrate_info(it should wait for the end of the migration). I'll continue tests, I'll send a report tomorrow. - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-18 Thread Alexandre DERUMIER
client_migrate_info(it should wait for the end of the migration). I'll continue tests, I'll send a report tomorrow. - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Juillet 2013 14:30

Re: [pve-devel] KVM with same cores as host is as slow as one core

2013-07-19 Thread Alexandre DERUMIER
What are the physical processors ? (Is it an numa architecture ? if yes, could be a memory bandwith problem) Do you have tried to launch unixbench on the host to compare ? Maybe can you try to add +x2apic cpu flag ? It should reduce interrupts. (It's already in current qemu-server git)

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-19 Thread Alexandre DERUMIER
think it should be smaller). I'll do tests today. - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: Dietmar Maurer diet...@proxmox.com Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 18 Juillet 2013 17:28:47 Objet: Re: [pve-devel] spice tls + proxy: ssl_verify.c:484

[pve-devel] pve-qemu-kvm git, missing spice-socket.patch

2013-07-19 Thread Alexandre DERUMIER
I'm trying to build last pve-qemu-kvm git, but spice-socket.patch is missing Applying patch spice-socket.patch patching file qemPatch spice-tests.patch does not exist u-options.hx Hunk #1 succeeded at 899 (offset 12 lines). Hunk #2 succeeded at 923 (offset 12 lines). patching file

Re: [pve-devel] spice tls + proxy: ssl_verify.c:484:openssl_verify: ssl: hostname

2013-07-19 Thread Alexandre DERUMIER
Maybe can we try to compress the key with gzip, then convert it with base32 ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Michael Rasmussen m...@datanom.net, pve-devel@pve.proxmox.com Envoyé: Vendredi 19 Juillet 2013 12:06:23 Objet: Re: [pve-devel] spice tls + proxy:

[pve-devel] qemu-server : spice seamless migration

2013-07-21 Thread Alexandre Derumier
This add spice seamless migration support. How it's works: just before begin the migration, we use qmp command : client_migrate_info. Remote viewer will open a new standby connection to the target vm. When the migration is complete, remote-viwer switch between the 2 connections. (Before

[pve-devel] [PATCH] spiceproxy : forbid port 65535

2013-07-21 Thread Alexandre Derumier
full tls seamless migration, try to connect without tls to port 65535,and it give us a timeout. So we need to denied it as soon as possible Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/HTTPServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE

[pve-devel] pve-manager : spiceproxy : forbid port 65535

2013-07-21 Thread Alexandre Derumier
This is needed for seamless migration. seamless migration have a bug, if no port is defined, the client is trying to connect to port 65535 without tls first, then the tls port. This can give us timeouts, as they are retry. We just need to block this port. (Maybe we could block alls others

Re: [pve-devel] [PATCH] spice migration

2013-07-22 Thread Alexandre DERUMIER
it ? PVE::AccesControl ? - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 22 Juillet 2013 08:03:58 Objet: RE: [pve-devel] [PATCH] spice migration + if($conf-{vga} eq 'qxl'){ + my $rpcenv

Re: [pve-devel] qemu-server : spice seamless migration

2013-07-22 Thread Alexandre DERUMIER
to send password and ca. I will try that today. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 22 Juillet 2013 07:55:27 Objet: RE: [pve-devel] qemu-server : spice seamless migration

Re: [pve-devel] [PATCH] spice migration

2013-07-22 Thread Alexandre DERUMIER
We only use that code in qemu-server? If so, you can simply put that into PVE::QemuServer.  Ok,I'll do that. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Lundi 22 Juillet 2013 08:30:43

[pve-devel] [PATCH] spice migration

2013-07-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm | 12 +--- PVE/QMPClient.pm |3 ++- PVE/QemuMigrate.pm | 37 - PVE/QemuServer.pm | 30 -- 4 files changed, 67 insertions(+), 15

[pve-devel] qemu-server : spice seamless migration V2

2013-07-22 Thread Alexandre Derumier
changelog : refactor code ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] pve-manager : spiceproxy : allow only spice port range

2013-07-22 Thread Alexandre Derumier
changelog : allow proxmox spice port range only ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] spiceproxy : allow only spice port range

2013-07-22 Thread Alexandre Derumier
full tls seamless migration, try to connect without tls to port 65535,and it give us a timeout. So we need to denied it as soon as possible Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/HTTPServer.pm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE

[pve-devel] pve-manager : spiceproxy : allow only spice port range

2013-07-22 Thread Alexandre Derumier
changelog : rebase on last git ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] spiceproxy : allow only spice port range

2013-07-22 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/HTTPServer.pm |2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm index 89eff30..f516735 100755 --- a/PVE/HTTPServer.pm +++ b/PVE/HTTPServer.pm @@ -500,6 +500,8 @@ sub

Re: [pve-devel] [PATCH] spiceproxy : allow only spice port range

2013-07-22 Thread Alexandre DERUMIER
' connected='disconnect'/ - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Lundi 22 Juillet 2013 12:59:00 Objet: RE: [pve-devel] [PATCH] spiceproxy : allow only spice port range full tls seamless

Re: [pve-devel] [PATCH] spiceproxy : allow only spice port range

2013-07-23 Thread Alexandre DERUMIER
Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 23 Juillet 2013 09:04:47 Objet: RE: [pve-devel] [PATCH] spiceproxy : allow only spice port range About password, I wonder if we could not retrieve the current ticket from spice

Re: [pve-devel] [PATCH] spiceproxy : allow only spice port range

2013-07-23 Thread Alexandre DERUMIER
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

[pve-devel] qemu-server : spice migration v3

2013-07-23 Thread Alexandre Derumier
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

[pve-devel] [PATCH] spice migration

2013-07-23 Thread Alexandre Derumier
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

[pve-devel] qemu-server : spice migration v4

2013-07-23 Thread Alexandre Derumier
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

[pve-devel] [PATCH] spice migration

2013-07-23 Thread Alexandre Derumier
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

Re: [pve-devel] [PATCH] spice migration

2013-07-23 Thread Alexandre DERUMIER
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, pve-devel

[pve-devel] [PATCH 1/3] add read_x509_subject_spice

2013-07-23 Thread Alexandre Derumier
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

[pve-devel] qemu-server : spice migration v5

2013-07-23 Thread Alexandre Derumier
changelog : split in multiple commits ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 3/3] add spice migration

2013-07-23 Thread Alexandre Derumier
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

[pve-devel] [PATCH 2/3] allow to pass spiceticket to vm_start

2013-07-23 Thread Alexandre Derumier
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 29e7647

Re: [pve-devel] [PVE-User] SPICE for Proxmox VE (pvetest)

2013-07-23 Thread Alexandre DERUMIER
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

Re: [pve-devel] [PATCH] spice migration

2013-07-24 Thread Alexandre DERUMIER
ok, I will try that. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mardi 23 Juillet 2013 19:45:04 Objet: RE: [pve-devel] [PATCH] spice migration + if($conf-{vga} eq 'qxl'){ + my $res = PVE

[pve-devel] [PATCH 3/3] add spice migration

2013-07-24 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuMigrate.pm | 45 +++-- PVE/QemuServer.pm | 15 --- 2 files changed, 55 insertions(+), 5 deletions(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index dd48f78

[pve-devel] spice migration v6

2013-07-24 Thread Alexandre Derumier
changelog : pass the spiceticket as envvar. (sorry I don't known how to pass it as stdin, feel free to change it). Note: on the target host, a ps auxx show only this /usr/bin/perl -w /usr/sbin/qm mtunnel (That's why I thinked that using --spiceticket ... was secure enough)

[pve-devel] [PATCH 1/3] add read_x509_subject_spice

2013-07-24 Thread Alexandre Derumier
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

[pve-devel] [PATCH 2/3] allow to pass spiceticket as ENVVAR to vm_start

2013-07-24 Thread Alexandre Derumier
we need it add spiceticket to target vm for migration Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/API2/Qemu.pm |4 +++- PVE/QemuServer.pm |2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 29e7647..d90574e

Re: [pve-devel] spice migration v6

2013-07-24 Thread Alexandre DERUMIER
Well, 'qm start' only runs a few milliseconds (normally).  Oh, ok, I understand now. Thanks. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 24 Juillet 2013 10:24:54 Objet: RE: [pve-devel

Re: [pve-devel] [PATCH 3/3] add spice migration

2013-07-24 Thread Alexandre DERUMIER
Works fine! Thanks! - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 24 Juillet 2013 12:51:46 Objet: RE: [pve-devel] [PATCH 3/3] add spice migration applied and slightly modified

Re: [pve-devel] [PATCH 3/3] add spice migration

2013-07-24 Thread Alexandre DERUMIER
to spice server. I don't known if it's possible to reimplement the api ? (don't have read the code yet) - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 24 Juillet 2013 13:35:17 Objet: RE

[pve-devel] faster live migration : hpn-ssh build tutorial for wheezy

2013-07-25 Thread Alexandre DERUMIER
Hi, I just found this tutorial to build hpn-ssh for wheezy http://blog.admiralakber.com/?p=248 Don't known if it could be a good idea to add/maintain it to proxmox repository ? (as an optionnal package for some users) Some guys on the forum need to migration crazy memory (700go) vms, and

[pve-devel] I'm on holiday for 2 weeks

2013-07-25 Thread Alexandre DERUMIER
Hi, I'm going on holiday for 2 weeks. (I'll try to keep the computer shutdown ;) I'll be back around 11 august. Alexandre ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] faster live migration : hpn-ssh build tutorial for wheezy

2013-07-26 Thread Alexandre DERUMIER
Hi, I see that libvirt allow migration through a tls tunnel . (I think they manage it through the libvirt daemon). I don't known if performance is better than through ssh ? - Mail original - De: Stefan Priebe - Profihost AG s.pri...@profihost.ag À: Dietmar Maurer

Re: [pve-devel] boot from scsi

2013-08-03 Thread Alexandre DERUMIER
Hi, I don't remember exactly, but their is a case, with lsi + scsi-block (I think) which doesn't boot. Qemu dev have no plan to fix that. - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Michael Rasmussen m...@datanom.net Cc: pve.proxmox.com pve-devel@pve.proxmox.com

Re: [pve-devel] boot from scsi

2013-08-04 Thread Alexandre DERUMIER
original - De: Michael Rasmussen m...@datanom.net À: pve.proxmox.com pve-devel@pve.proxmox.com Envoyé: Samedi 3 Août 2013 20:23:58 Objet: Re: [pve-devel] boot from scsi On Sat, 03 Aug 2013 19:15:25 +0200 (CEST) Alexandre DERUMIER aderum...@odiso.com wrote: Hi, I don't remember exactly

Re: [pve-devel] LVM no snapshots?

2013-08-07 Thread Alexandre DERUMIER
Thanks, i just started to setup a small proxmox home server where i don't have any storage server just disks in my systems and thought i could use snapshots with lvm. lvm snapshot have a big impact on performance, so they should be used temporary, like for backup. Also when you remove the

<    9   10   11   12   13   14   15   16   17   18   >