similar to: Network interface name of guest via python API

Displaying 20 results from an estimated 7000 matches similar to: "Network interface name of guest via python API"

2018 Mar 19
0
Re: Network interface name of guest via python API
On 03/19/2018 11:46 AM, Dennis Jacobfeuerborn wrote: > Hi, > I'm trying to get some basic data from running guests on a libvirt HV > but one thing I'm missing is the name of the network interfaces of the > guests. I can get the MAC address from the XML but there seems to be no > function to actually get the name of the interface. > > The only function that comes close
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
2014 Nov 03
2
Re: fstrim support in libvirt/qemu guests
On Mon, Nov 3, 2014 at 4:24 PM, Michal Privoznik <mprivozn@redhat.com> wrote: > On 01.11.2014 05:30, Dennis Jacobfeuerborn wrote: >> >> Hi, >> I'm trying to find out how to enable fstrim support for libvirt/qemu >> guests. Specifically I'm trying to enable this on a CentOS 7 host (qemu >> 1.5). I searched the web but only found very vague information
2014 Nov 01
2
fstrim support in libvirt/qemu guests
Hi, I'm trying to find out how to enable fstrim support for libvirt/qemu guests. Specifically I'm trying to enable this on a CentOS 7 host (qemu 1.5). I searched the web but only found very vague information and no clear documentation on the requirements or how to modify the guest xml to enable discard/fstrim support. Can someone point me in the right direction? Regards, Dennis
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
2016 Apr 01
1
Using virDomainInterfaceAddresses
Hi, I'm trying to use virDomainInterfaceAddresses to get interface info for XEN DOMs but keep getting following error: libvirt: Domain Config error : this function is not supported by the connection driver: virDomainInterfaceAddresses I tried recompiling libvirt with ./configure --with-interface --with-network and it all went fine but still no luck. Am i missing something? Thanks,
2016 Jan 08
1
operation forbidden Read Only Access
Hi, When issuing virDomainInterfaceAddresses() libvirt C language API, I got following error: libvirt: Domain Config error : operation forbidden: read only access prevents virDomainInterfaceAddresses How may I ask for a non-readonly connexion ? ( looks like to be RO by default) Thx for help. Regards, J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4
2020 May 12
3
Re: Unit libvirtd.service could not be found. on VM
if I understand correctly then I shouldn't have installed libvirt-daemon on the guests VMs? On Tue, May 12, 2020 at 2:34 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > On Tue, May 12, 2020 at 02:25:29PM +0300, Dana Elfassy wrote: > > Thanks, Daniel > > I verified I had libvirt-daemon rpm on my laptop and reloaded its units, > > but that didn't solve the
2018 Mar 01
1
qemu-guest-agent doesnt start
Hello, I need to communicate with windows 10 guest from cent os host. Following this docs - https://access.redhat.com/solutions/732773, https://wiki.libvirt.org/page/Qemu_guest_agent I add new device in my Win10 guest <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> </channel> and install gemu-ga x64 from this iso -
2017 Sep 20
1
Re : Libvirt Java Bindings
I am developing a Java Application using Libvirt. I found that the Java Bindings are not in active development. I need to obtain the IP Address of the Domain. In C, it may relate to virDomainInterfaceAddresses. Is there any way to implement it in Java.
2015 Dec 18
1
Getting IP address of a lxc container via libvirt
Hello I wanted to understand if there is a way to get LXC container's ip address. - virDomainInterfaceAddresses API only works for qemu/kvm and not with the lxc driver. What other options do I have? Using enter-lxc-namespace is throwing this error: virsh -c lxc:/// lxc-enter-namespace <domain> --noseclabel /sbin/ifconfig libvirt: error : Expected at least one file descriptor
2015 Jul 13
2
Can't figure out how to restart VM after making config changes in virt-manager
I finally figured out my VNC configuration, so I can now run virt-manager to inspect and manipulate my VM. I initially created the VM with "virt-install", but I haven't been able to see the console or do anything with it. When I ran virt-manager, I tried to configure the vcpus (1->4) and change the boot order (cdrom, then disk, as I created the VM with an ISO). When I made
2017 Jul 19
2
Re: SSH from host to domain using hostname
19. Juli 2017 17:19, c.monty@web.de schrieb: > 19. Juli 2017 17:12, c.monty@web.de schrieb: > >> 19. Juli 2017 16:36, "Michal Privoznik" <mprivozn@redhat.com> schrieb: >> >>> On 07/19/2017 04:27 PM, c.monty@web.de wrote: >> >> <snip/> >> >> Guest OS is Debian 9 with this network configuration: >> thomas@vm02-fai:~$
2023 Mar 19
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
hi, I have configured a routed network on my laptop with a ipv6 subnet and dnsmasq is handing out ipv6 addresses to my vms and it works really wel, but finding out which ips have been used is not as easy as with ipv4. [root at lenovo ~]# virsh domifaddr --domain wec --source lease Name MAC address Protocol Address
2017 Jul 19
6
Re: SSH from host to domain using hostname
18. Juli 2017 16:45, "Michal Privoznik" <mprivozn@redhat.com> schrieb: > On 07/18/2017 04:31 PM, c.monty@web.de wrote: > >> Hello! >> >> I have upgraded all libvirt packages to version 3.5.0-655.1 and restarted host. > > That wasn't necessary. It's not Windows ;-) > >> This is the current default network config: >> ld4004:~
2023 Mar 21
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
On 3/19/23 20:21, Natxo Asenjo wrote: > hi, > > I have configured a routed network on my laptop with a ipv6 subnet and > dnsmasq is handing out ipv6 addresses to my vms and it works really wel, > but finding out which ips have been used is not as easy as with ipv4. > > [root at lenovo ~]# virsh domifaddr --domain wec --source lease > ?Name ? ? ? MAC address ? ? ? ?
2017 Jul 17
5
SSH from host to domain using hostname
Hello! I want to SSH from host to specific guest using hostname, e.g. ssh <user>@<guest> or ssh test@vm02-fai ssh to guest using IP works w/o issues. I found Wiki article for "NSS module" (http://wiki.libvirt.org/page/NSS_module), but there are no results for the following commands: ld4004:/home # virsh net-dhcp-leases default Expiry Time MAC address
2023 Mar 21
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
hi, On Tue, Mar 21, 2023 at 3:40?PM Michal Pr?vozn?k <mprivozn at redhat.com> wrote: > On 3/19/23 20:21, Natxo Asenjo wrote: > > hi, > > > > I have configured a routed network on my laptop with a ipv6 subnet and > > dnsmasq is handing out ipv6 addresses to my vms and it works really wel, > > but finding out which ips have been used is not as easy as with
2018 Jun 18
2
Re: How libvirt interacts with dhcpd?
Thanks for the reply Laine. My problem is that dnsmasq is masking dhcpd, xCAT uses dhcpd for PXE stuff. If dnsmasq answer DHCP requests the PXE boot won' t work. I want to see the logs for ensuring the dnsmasq is not masking dhcpd. Regards, 2018-06-18 11:39 GMT-03:00 Laine Stump <laine@redhat.com>: > On 06/18/2018 09:16 AM, Daniel. wrote: >> Cool, thanks!! Does it have logs?
2019 Mar 26
3
[PATCH 1/3] v2v: tests: add debian-9 and fedora-29 for test-v2v-conversion-of
Test the newer versions of these distros. --- v2v/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2v/Makefile.am b/v2v/Makefile.am index 53c137fc6..39511022e 100644 --- a/v2v/Makefile.am +++ b/v2v/Makefile.am @@ -530,8 +530,10 @@ real_guests_scripts = \ test-v2v-conversion-of-debian-6.sh \ test-v2v-conversion-of-debian-7.sh \ test-v2v-conversion-of-debian-8.sh \ +