similar to: Download image to libvirt storage pool

Displaying 20 results from an estimated 2000 matches similar to: "Download image to libvirt storage pool"

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 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 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
2019 Feb 15
2
HELP!
I'm getting this error (below) [root@localhost test]# ./test virError(Code=6, Domain=20, Message='invalid connection pointer in virConnectListAllDomains') 0 running domains: when running this program :- (below) package main import ( "fmt" libvirt "github.com/libvirt/libvirt-go" ) type DomService struct { Conn *libvirt.Connect } func (d
2014 Jul 11
2
golang binding help
Hello. I'm very happy with libguestfs, but now i'm try to write packer plugin to strip images: 1) resize filesystem to minimum 2) resize partitions to minimum 3) create/resize file with needed size But golang binding have not docs. Is that possible to generate something suitable to godoc.org to determine api methods and input,output variables for functions? -- Vasiliy Tolstov, e-mail:
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 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
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
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
2014 Jul 13
2
Re: golang binding help
2014-07-12 14:00 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>: > It depends entirely on what the Linux kernel and tools can do. If > there are properly maintained Linux tools for resizing BSD slices, > then it should be no problem to add this. > > Compare with 'ntfsresize', where ntfs-3g exists and is well-maintained > and available in the majority of Linux
2015 Apr 23
3
double length prefix in ssh-keygen certificates (values of critical options)
Hi, I have a question regarding the binary format of the certificates generated with ssh-keygen, in particular when the critical options of source-address or force-command are present and the correspondence to the certificate format specifications such as http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD . It appears that the string values of the source-address
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'
2020 Sep 09
1
libvirt binding
is the connection object a connection pool or just a single connection? Can it be used concurrently? Shashwat.
2014 Jul 11
2
Re: golang binding help
2014-07-12 0:33 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>: > On Fri, Jul 11, 2014 at 06:18:12PM +0400, Vasiliy Tolstov wrote: >> Hello. I'm very happy with libguestfs, but now i'm try to write packer >> plugin to strip images: > > Packer is: http://www.packer.io/intro ? Yes, i'm try to build cloud images using it. Does it possible to add ability to
2018 Jun 07
0
Re: issue regarding libguestfs-golang
On Thu, Jun 07, 2018 at 05:11:44PM +0530, Shashwat shagun wrote: > for anyone who wants build something similar. i made a repo. > https://github.com/Shashwatsh/libguestfs-golang. P.S guestfs.go is not in > https://github.com/libguestfs/libguestfs/tree/master/golang/src/libguestfs.org/guestfs It is generated from the API description, see:
2023 Aug 11
2
[libnbd PATCH] golang: Bump minimum Go version to 1.17
Go 1.17 or newer is required to use unsafe.Slice(), which in turn allows us to write a simpler conversion from a C array to a Go object during callbacks. To check if this makes sense, look at https://repology.org/project/go/versions compared to our list in ci/manifest.yml, at the time I made this commit: Alpine 3.15: 1.17.10 AlmaLinux 8: 1.19.10 CentOS Stream 8: 1.20.4 Debian 10: 1.11.6 Debian
2013 Dec 12
4
[PATCH 1/2] golang: Fix for out-of-tree builds
--- configure.ac | 2 +- golang/Makefile.am | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4e2bc65..9abec95 100644 --- a/configure.ac +++ b/configure.ac @@ -1530,7 +1530,7 @@ AS_IF([test "x$enable_golang" != "xno"],[ AC_CHECK_PROG([GOLANG],[go],[go],[no]) AS_IF([test "x$GOLANG" !=
2020 Apr 21
2
[PATCH nbdkit v2] Add the ability to write plugins in golang.
Thanks: Dan Berrangé XXX UNFINISHED: - Is using uintptr for the handle a good idea? Plugins must return something != 0. In other languages we would allow plugins to return an arbitrary object here, but this is not possible in golang because of lack of GC roots. - Default can_* methods are hard to implement. Ideally we would be able to test if a user plugin implements a