Displaying 20 results from an estimated 2000 matches similar to: "How can i limit CPU allowance to 25% of a single core"
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
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
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
2015 Apr 13
2
Re: CPU Resource Reservation using KVM
On 4/13/2015 1:18 PM, Kashyap Chamarthy wrote:
> On Mon, Apr 13, 2015 at 12:14:12PM +0530, Jatin Davey wrote:
>> Hi All
>>
>> I am new to KVM world. I have been using VMware for about a year.
>>
>> In VMware world we can reserve cpu resources for a VM. Say for instance if
>> we need 4 vCPUs with a total of 8000 GHz then we can mention this
>>
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 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
2012 May 11
1
Permission issue with cgroups
Hello libvirt users,
I'm using the cgroup with QEMU guests. At /etc/libvirt/qemu.conf, I have
the following parameter:
cgroup_controllers = [ "cpu" ]
This controller is successfully mounted and libvirt is able to create
subgroups for each VM, it's really great the cgroups support in libvirt.
The problem is that I can only set the parameters of a given cgroup under
the cpu
2011 Oct 24
1
Hard limit for the cpu usage of a VM
Hi ,
I was previously using xen and currently moved to KVM. I am using libvirt to manage these VMs. In den's credit scheduler , I had the ability to set a cap on the cpu usage for a VM. But I was not able to find a similar substitute in KVM. I find that we can use cgroups to provide shares for VM but that will be more like weight based and it doesn't set a hard cap for that VM. I tried
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 Jan 30
0
Re: Cannot add metadata to network XML
On 01/30/2018 10:16 AM, Shashwat shagun wrote:
>
> Hi, i tried adding metadata to Network XML ( NOT DOMAIN XML) but it
> removes it as soon as i save
There are two possibilities:
1) If the network is already active when you edit it, you won't see the
change in the output off virsh net-dumpxml until the next time you
restart that network. (alternately, you can see it immediately
2018 Jan 31
0
Re: is it possible to add <metadata/> to libvirt Network XML
On Tue, Jan 30, 2018 at 10:01:53PM +0530, Shashwat shagun wrote:
>i need to know is it possible to add metadata to Libvirt Network XML like i
>do in Domain XML with </metadata> tag?
>
Yes.
>--
>Regards,
>Shashwat Shagun
>_______________________________________________
>libvirt-users mailing list
>libvirt-users@redhat.com
2019 Apr 30
2
Running all my virtual machines with a low priority
Hi all:
I have an Ubuntu 18.04 system. What is the easiest way to run all of my virtual machines with a low priority? Say a "nice" level of 15.
I just do not want my virtual machines to have too much of an impact in any other processes on the system.
Thanks in advance,
rdiez
2017 Sep 16
0
Question: How do i set data transfer quota
Hi,
I want to limit my user's internet data transfer of his VPS. Is this possible?
P.S I’m not talking about the internet speed. I’m talking about data usage limit
Regards,
Shashwat Shagun
me@shashwat.tech
2015 Nov 30
2
Re: enabling virtio-scsi-data-plane in libvirt
2015-11-19 16:09 GMT+03:00 John Ferlan <jferlan@redhat.com>:
> Check out virsh iothread{info|pin|add|del} and of course the
> corresponding virDomain{Add|Pin|Del}IOThread and virDomainGetIOThreadInfo.
Yes, thanks! Does in near feature libvirt devs integrate this ability
to domain format? As i understand all qemu stable features supported
by libvirt. And data plane for virtio-blk is
2019 May 01
2
Re: Running all my virtual machines with a low priority
>> I have an Ubuntu 18.04 system. What is the easiest way to run all of my virtual machines with a low priority? Say a "nice" level of 15.
>
> You can use the <vcpusched> (and related elements) to control
> the schedular nice level up or down
>
> https://libvirt.org/formatdomain.html#elementsCPUTuning
Thanks for your quick answer.
I took at look at