This is a multi-part message in MIME format.
------=_NextPartTM-000-d4844d8f-d0f2-40a7-b2a5-ade3eb96038a
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Von: Itamar Heim [iheim(a)redhat.com]=0A=
Gesendet: Freitag, 31. Januar 2014 18:49=0A=
An: Markus Stockhausen; ovirt-users; spice-devel=0A=
Betreff: Re: [Users] Share SPICE console between 2 admins=0A=
=0A=
On 01/31/2014 07:42 PM, Markus Stockhausen wrote:=0A=
> Hello,=0A=
>=0A=
> we want to share the spice console of our VMs for 2 or more=0A=
> administrators. So that they can see the same desktop. I read=0A=
> several articles about SPICE_DEBUG_ALLOW_MC=3D1 and think=0A=
> that my be the way to go.=0A=
>=0A=
> The only problem seems to be that I must set it as an environment=0A=
> variable on the hypervisor hosts. /etc/profile does not work. Seems=0A=
> to be a similar problem as in proxmox.=0A=
>=0A=
>
http://forum.proxmox.com/threads/17265-Siimultaneous-Spice-Client-Conne=
ctions=0A=
>=0A=
> But where to fix that in Ovirt?=0A=
>=0A=
> Markus=3D=0A=
>=0A=
>=0A=
>=0A=
> _______________________________________________=0A=
> Users mailing list=0A=
> Users(a)ovirt.org=0A=
>
http://lists.ovirt.org/mailman/listinfo/users=0A=
>=0A=
=0A=
adding spice-devel.=0A=
i assume you need to pass something to libvirt to make this happen on=0A=
hypervisor side, a custom hook can let you do that.=0A=
http://www.ovirt.org/VDSM-Hooks=0A= =0A=
OMG Hook writing will not be my future passion. Nevertheless finally get=0A=
the parameters passed to the kvm command line. But sharing does not work. =
=0A=
=0A=
Do I need a special version for that? I'm on =0A=
- Fedora 19=0A=
- kvm 1.6.1 - 2.fc19=0A=
- libvirt-1.1.3.2-1.fc19=0A=
- vdsm-4.13.2-1.fc19=0A=
- spice 0.12.4 - 3.fc19=0A=
=0A=
# cat /var/log/libvirtd/libvirtd.log=0A=
2014-01-31 18:31:11.883+0000: 1491: debug : virCommandRunAsync:2265 : =0A=
About to run LC_ALL=3DC PATH=3D/usr/local/sbin:/usr/local/bin:/usr/sbin:/=
usr/bin =0A=
QEMU_AUDIO_DRV=3Dspice SPICE_DEBUG_ALLOW_MC=3D1 /usr/bin/qemu-kvm =0A=
-name Win7x64_Master ...=0A=
=0A=
=0A=
# cat /usr/libexec/vdsm/hooks/before_vm_start/50_shared_spice.py=0A=
#!/usr/bin/python=0A=
=0A=
import os=0A=
import sys=0A=
import hooking=0A=
import traceback=0A=
=0A=
domxml =3D hooking.read_domxml()=0A=
=0A=
d =3D domxml.getElementsByTagName('domain')[0]=0A=
d.setAttribute('xmlns:qemu','http://libvirt.org/schemas/domai...
=0A=
=0A=
c =3D domxml.createElement('qemu:commandline')=0A=
p =3D domxml.createElement('qemu:env')=0A=
=0A=
p.setAttribute('name','SPICE_DEBUG_ALLOW_MC')=0A=
p.setAttribute('value','1')=0A=
=0A=
c.appendChild(p)=0A=
d.appendChild(c)=0A=
=0A=
hooking.write_domxml(domxml)=0A=
#=0A=
=0A=
Markus=0A=
=0A=
------=_NextPartTM-000-d4844d8f-d0f2-40a7-b2a5-ade3eb96038a
Content-Type: text/plain;
name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="InterScan_Disclaimer.txt"
****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
Vorstand:
Kadir Akin
Dr. Michael Höhnerbach
Vorsitzender des Aufsichtsrates:
Hans Kristian Langva
Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
executive board:
Kadir Akin
Dr. Michael Höhnerbach
President of the supervisory board:
Hans Kristian Langva
Registry office: district court Cologne
Register number: HRB 52 497
****************************************************************************
------=_NextPartTM-000-d4844d8f-d0f2-40a7-b2a5-ade3eb96038a--