Displaying 20 results from an estimated 11000 matches similar to: "Re: On which /dev/pts/x is channel source"
2015 Aug 25
2
On which /dev/pts/x is channel source mapped ?
Hi,
By adding following lines in a Guest .xml conf file , I'm able to send / receive datas between host and this guest.
<channel type='pty'>
<target type='virtio' name='arbitrary.virtio.serial.port.name'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
My question is
2015 Aug 26
2
Virtio serial exposition
Hi,
I try to exchange datas between host and Guest by adding these lines in a guest .xml conf file :
<channel type='pty'>
<target type='virtio' name='arbitrary.virtio.serial.port.name'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
Then
2016 Jan 08
2
Re: operation forbidden Read Only Access
Hi,
I found an answer :
Use virConnectOpenAuth() instead of virConnectOpenReadOnly().
As my piece of code is running silently (without user connected) , by using virConnectOpenAuth() ,
is it possible to avoid to prompt user to get user /password ?
Thx.
J.P.
-----Message d'origine-----
De : libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] De la part de
2015 Sep 08
0
Re: Windows Guest ports enumeration ..
Hi,
I add the device in the .xml conf file using this way :
<channel type='unix'>
<source mode='bind' path='//var/lib/libvirt/qemu/omnivision_1.agent'/>
<target type='virtio' name='omnivision_1.agent' state='disconnected'/>
<alias name='channel1'/>
<address type='virtio-serial'
2016 Jan 12
2
Re: libvirt-users Digest, Vol 73, Issue 12 ] Failure when attaching a device
Hi,
I think that issue is due to the fact that my Guest is a transient domain.
When shutting down it or migrating to another host , then virsh list --all doesn't show this Guest anymore.
How may I make this Guest a persistent one ?
( i.e. this Guest has been created via RHEV-M GUI)
Thx for hlep.
Regards,
J.P.
-----Message d'origine-----
De : libvirt-users-bounces@redhat.com
2015 Nov 09
2
availability of target type state within a dumpxml result
Hi,
I'm trying to find out what is the minimum release I need to use to have this field 'state' available ?
<channel type='unix'>
<source mode='bind' path='//var/lib/libvirt/qemu/dummy_agent'/>
<target type='virtio' name=dummy' state='connected'/>
<alias name='channel0'/>
<address
2015 Aug 28
2
When adding a channel device, we need a shutdown
Hi,
It looks like , when adding a channel device, that the Guest must be powered off / on to be able to detect
the new device . ( simple reboot isn't not enough)
Is there any way to avoid this power_cycle ?
Thx.
J.P. Ribeauville
P: +33.(0).1.47.17.27.87
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
2015 Aug 31
3
about guest live migration configuration changes persistence ..
Hi,
Is a change , by edit it via virsh edit , in the "local" .xml configuration file (i.e. adding a channel device) persistent when
live migrating the guest on another host ?
Thx.
J.P. Ribeauville
P: +33.(0).1.47.17.27.87
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P Pensez à
2015 Aug 13
1
Host and Guest UUID ?
Hi,
Are there some kind of UUIDs for Host and Guest ?
If yes , how may I retrieve them programmatically ?
My goal is to trace GUEST migrations.
Thx for help.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.27.87
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P Pensez à l'environnement avant
2015 Aug 25
1
Check whether we are runnig on a KVM guest
Hi,
How may I , via a C program , check whether I'm running on a KVM guest ?
May I use the same API on Windows and Linux Guest ?
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.27.87
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P Pensez à l'environnement avant d'imprimer.
2015 Aug 25
1
from command line to xml file
Hi,
In order to use a virtio-serial to exchange data between host and its guests, I'd like to modify the .xml Guest conf file by adding these parameters ( as found in the command line) :
-device virtio-serial \
-chardev socket,path=/tmp/foo,server,nowait,id=foo \
-device virtserialport,chardev=foo,name=org.fedoraproject.port.0
How should I build the XML tags ?
Thx for help.
J.P.
2015 Oct 29
0
Re: How to retrieve legacy cgroups location ?
On Thu, Oct 29, 2015 at 10:40:44AM +0000, Jean-Pierre Ribeauville wrote:
>Hi,
>
>As told in "Control Groups Resource Management" libvirt page :
>Legacy cgroups layout
>Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy
2015 Nov 04
0
Re: Retrieving datas sent by host within the Guest
On Wed, Nov 04, 2015 at 02:38:43PM +0000, Jean-Pierre Ribeauville wrote:
>Hi,
>
>I' trying to read datas sent by my KVM host within the Guest.
>Host send these datas trough a channel UNIX type , by using AF_UNIX socket stuff.
>
>If i try to retrive the datas by using such type of thing in the Guest :
>
>
>#define NAME "/dev/virtio-ports/agent"
>
>sock
2015 Nov 09
0
Re: availability of target type state within a dumpxml result
On Mon, Nov 09, 2015 at 10:28:54AM +0000, Jean-Pierre Ribeauville wrote:
>Hi,
>
>I'm trying to find out what is the minimum release I need to use to have this field 'state' available ?
>
libvirt added that support in 1.2.11, but you also need a version of
QEMU that can signal an event on change, otherwise libvirt has nothing
to report
><channel
2016 Jan 08
0
Re: Unable to retrieve Guest IP Addresses via libvirt API
On Thu, Jan 07, 2016 at 07:31:57PM +0000, Jean-Pierre Ribeauville wrote:
>Hi ,
>
>Despite the fact that my Guest has an IP address , by running this piece of code on a KVM host :
>
> ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LEASE, NULL);
> ifaces_count = F_virDomainInterfaceAddresses(domain,
2016 Jan 12
0
Re: vdsm hook issues
On Tue, Jan 12, 2016 at 03:17:30PM +0000, Jean-Pierre Ribeauville wrote:
>Hi,
>
>1) is it enough to add a hook.py in /usr/libexec/vdsm/hooks/before_vm_start directory , and then shut down and reboot a guest to
> see this hook.py invoked ?
>
Since this is vdsm-related, I would ask on their list. Or just try it
and you'll see...
>2) when running manually my hook.py, I
2016 Jan 20
0
Re: channel device "state" value missing within OpenStack Kilo version
Hi,
Discard this request , I was investigating on the wrong compute node.
It works fine.
Sorry for incovenience.
Regards,
J.P.
De : Jean-Pierre Ribeauville
Envoyé : mercredi 20 janvier 2016 16:18
À : 'libvirt-users@redhat.com'
Objet : channel device "state" value missing within OpenStack Kilo version
Hi,
I've installed a OpenStack KILO all-in-one .
For private
2016 Jan 12
2
vdsm hook issues
Hi,
1) is it enough to add a hook.py in /usr/libexec/vdsm/hooks/before_vm_start directory , and then shut down and reboot a guest to
see this hook.py invoked ?
2) when running manually my hook.py, I got following error :
ImportError: No module named hooking
Do I have to install anything to solve this issue ?
Thanks for help.
Regards,
J.P. Ribeauville
P:
2016 Jan 07
3
Unable to retrieve Guest IP Addresses via libvirt API
Hi ,
Despite the fact that my Guest has an IP address , by running this piece of code on a KVM host :
ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LEASE, NULL);
ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_AGENT, NULL);
I'm not able to get a ifaces_count different from
2015 Aug 27
4
Using unix-type channel ....
Hi,
I'm trying to use unix-type channel to send/receive datas between host and guest .
Here are the steps I follow :
1) Adding these lines to expose a channel unix type to my guest
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/omnivision_1.agent'/>
<target type='virtio'