similar to: HELP!

Displaying 20 results from an estimated 700 matches similar to: "HELP!"

2019 Feb 15
0
Re: HELP!
Please consider writing more descriptive subjects. No need to shout, too. On Fri, Feb 15, 2019 at 08:43:36PM +0530, Shashwat shagun wrote: [...] >func (d *DomService) Connect() error { > var err error > d.Conn, err = libvirt.NewConnect("qemu:///system") > if err != nil { > fmt.Println(err) > } >defer d.Conn.Close() I
2018 Aug 08
2
Copy volume from one storage to another
Hi, I want to copy a volume from one to pool to another pool through libvirt golang api but I’m unaware of any such functions. Can anybody guide me a little bit here? Best Regards, Shashwat Shagun me@shashwat.tech
2018 Jan 30
2
Cannot add metadata to network XML
Hi, i tried adding metadata to Network XML ( NOT DOMAIN XML) but it removes it as soon as i save here's my network XML <network> <name>bridgeTest0</name> <uuid>cf2aae7a-b459-459b-ba2c-399190607629</uuid> <metadata> <app1:foo xmlns:app1="http://app1.org/app1/"> <app1:test>testing!</app1:test>
2018 Jun 07
3
issue regarding libguestfs-golang
Hi, i cannot import libguestfs golang lib, go get package libguestfs.org/guestfs: unrecognized import path " libguestfs.org/guestfs" (https fetch: Get https://libguestfs.org/guestfs?go-get=1: dial tcp [2001:41c9:1:422::215]:443: getsockopt: connection refused) Any ideas? has the url changed or something? @rwmjones -- Regards, Shashwat Shagun
2018 Jan 29
2
How do i associate a VM to An IP
I want to block my VM with mac addr 52:54:00:a1:05:b6 from using IPs other than 192.168.124.130 is there any libvirt way to do this? -- Regards, Shashwat Shagun
2018 Jan 30
2
is it possible to add <metadata/> to libvirt Network XML
i need to know is it possible to add metadata to Libvirt Network XML like i do in Domain XML with </metadata> tag? -- Regards, Shashwat Shagun
2017 Sep 18
1
How can i limit CPU allowance to 25% of a single core
Hi, How do Hard limit a CPU allowance to 25% of a single core in KVM? Regards, Shashwat Shagun
2018 Jan 31
2
Live update network configuration
Hi, i want live update the <metadata/> in libvirt network xml config. is this possible? -- Regards, Shashwat Shagun
2020 Jun 28
2
get contents of a storage volume in bytes
Hi, i have two machines with libvirt installed. I want to move a storage volume from the 1st machine to 2nd machine with code. I'm thinking of reading a storage volume into a byte array/stream then uploading through my own/custom handler (written in go) to the 2nd machine's custom handler which will then be writing the byte stream to libvirt storage volume. Is there a libvirt function to
2018 Jan 15
1
domain xml does not have <target dev='vnetX'/>
Hi I'm trying to monitor bandwidth usage of a KVM VM but couldn't find <target dev='vnet0'/> on virsh edit domain_name all i get is this <interface type='network'> <mac address='52:54:00:a1:05:b6'/> <source network='vmango'/> <model type='virtio'/> <address type='pci'
2018 Jun 10
1
Amazon s3 as libvirt storage pool
Namaste, i want to use Minio (open source amazon S3 compatible object storage) as libvirt storage pool. is such thing possible? i apologize if this is a stupid question. if not then can i write some driver for it? -- Regards, Shashwat Shagun
2020 Sep 09
1
libvirt binding
is the connection object a connection pool or just a single connection? Can it be used concurrently? Shashwat.
2018 Aug 25
1
Download image to libvirt storage pool
Is there any function in libvirt (golang SDK) to download image to libvirt storage pool from path?
2023 Mar 30
0
About libvirt domain dump state and persistent state
Hi all, I use libvirt-go in my agent to attach rbd volumes. I ofen suffer the issue of incosistent of domain dump xml and domain persistent xml file. For example, when I try to attach volume, the the domain by ?virConnectListAllDomains? api from libvirt tell me the vdf or 0x0a is empty, but when attach it with the vdf device or 0x0a address, qemu return the error duplicated with vdf or PCI
2018 May 30
2
Need help to understand about some lines which are printing on console
Hi, Some lines are printing on console: [CCafException] CAppConf@[1711]: CommAmqpListener: [CCafException] CAppConfig:: getString() Required config parameter [amqp_password] is missing from section [c ommunication_amqp] Can you help me to understand why we are getting these lines on console? How we can remove these lines from the console? Please suggest. Thanks & Regards, Shagun
2018 Jun 21
2
NetworkManager updating resolv.cfg
Hi, I am facing issue stoping NetworkManager to update resolv.cfg, I am using below configuration for eth0 interface: TYPE=Ethernet BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=eth0 UUID=93b90a46-dab5-4a67-8fd0-fefe8874a8b9 DEVICE=eth0 ONBOOT=no PEERDNS=no PEERROUTES=yes
2017 May 17
2
Callback re-registration after libvirtd restart
Hi all, I'm using libvirt-go and I following code to listen for lifecycle events: func event_listen() { log.Printf("event_listen %s", conf.Libvirt.LocalUrl) hv, err := libvirt.NewConnect(conf.Libvirt.LocalUrl) lifecycleCallback := func(c *libvirt.Connect, d *libvirt.Domain, event *libvirt.DomainEventLifecycle) { event_message(c, d, "lifecycle", event)
2017 May 17
2
Re: Callback re-registration after libvirtd restart
No, I'm not, I'm calling it sooner: func libvirt_start() { libvirt.EventRegisterDefaultImpl() event_listen() } S pozdravom / Best regards Daniel Kucera. 2017-05-17 15:47 GMT+02:00 Daniel P. Berrange <berrange@redhat.com>: > On Wed, May 17, 2017 at 03:41:09PM +0200, Daniel Kučera wrote: > > Hi Daniel, > > > > I tried that but it doesn't
2017 May 17
2
Re: Callback re-registration after libvirtd restart
Hi Daniel, I tried that but it doesn't work: func libvirt_close_callback(conn *libvirt.Connect, reason libvirt.ConnectCloseReason){ log.Printf("close callback: %+v", reason) } func event_listen() { log.Printf("event_listen %s", conf.Libvirt.LocalUrl) hv, err := libvirt.NewConnect(conf.Libvirt.LocalUrl) err =
2016 Nov 19
1
kde-runtime fails to install on Custom ISO due to dependency error
Hi, I have built successfully all the dependent packages of kde-runtime. Following is the list of RPMs cloned and built from GIT:- kde-runtime-4.10.5-8.el7.centos.x86_64.rpm kde-runtime-drkonqi-4.10.5-8.el7.centos.x86_64.rpm kde-runtime-libs-4.10.5-8.el7.centos.x86_64.rpm kde-baseapps-4.10.5-4.el7.centos.x86_64.rpm kde-baseapps-libs-4.10.5-4.el7.centos.x86_64.rpm However, when we copy these