Fwd: Need help

2022-12-21 Thread Gk Gk
FYI -- Forwarded message - From: Gk Gk Date: Wed, Dec 21, 2022 at 9:46 PM Subject: Re: Need help To: Daniel P. Berrangé I have just created a new vm and rechecked the disk stats. This time around too, they seem to be different as shown below: >From libvirt python libr

Fwd: Need help

2022-12-21 Thread Gk Gk
For larger reach... -- Forwarded message - From: Gk Gk Date: Thu, Dec 22, 2022 at 8:35 AM Subject: Re: Need help To: Daniel P. Berrangé Hi Daniel, Did you get a chance to check this out ? Please let me know On Wednesday, December 21, 2022, Gk Gk wrote: > I have j

Re: Need help

2022-12-21 Thread Daniel P . Berrangé
On Wed, Dec 21, 2022 at 08:14:14PM +0530, Gk Gk wrote: > Hi All, > > I am trying to get guest VM's disk statistics using a libvirt python > library as follows: > --- > raw_xml = domain.XMLDesc(0) > for disk in doc.getElementsByTagName('disk'): > disk_data = disk.getElementsByTagName('target') >

Need help

2022-12-21 Thread Gk Gk
Hi All, I am trying to get guest VM's disk statistics using a libvirt python library as follows: --- raw_xml = domain.XMLDesc(0) for disk in doc.getElementsByTagName('disk'): disk_data = disk.getElementsByTagName('target') --- The above code is yielding the following stats for two disks inside

Re: Need help

2022-12-02 Thread Laine Stump
On 12/2/22 7:43 AM, Gk Gk wrote: Hi, We have an openstack platform and we are trying to get the network details of the guest vm on the hypervisors using the python libvirt library (domain.interfaceStats) . But in cases of SR-IOV vms, the interface is not being reported by the above tool. 

Need help

2022-12-02 Thread Gk Gk
Hi, We have an openstack platform and we are trying to get the network details of the guest vm on the hypervisors using the python libvirt library (domain.interfaceStats) . But in cases of SR-IOV vms, the interface is not being reported by the above tool. The interface in this case is "hostdev"

[libvirt-users] Need help for block committing

2016-05-12 Thread Zhang Qiang
Hi all. Can snapshots of identical images being blocked committed to the base images that are not the original ones? For example, suppose I have base0 and made a snapshot of it called SN0, then I copy base0 as base0', can SN0 be block committed into base0'? I think it's possible in theory but

[libvirt-users] Need help with [virt net-create]

2014-05-20 Thread Srinivas_G_Gowda
Is it possible to configure 2 virtual nics in the same ip range ? Here is what I am trying. This works cat nw1.xml network namenw1/name domain name='nw1' / forward mode='nat' dev='eth2'/ ip address='192.168.101.1' netmask='255.255.255.0' dhcp range

Re: [libvirt-users] Need help with [virt net-create]

2014-05-20 Thread Srinivas_G_Gowda
: [libvirt-users] Need help with [virt net-create] On Tue, May 20, 2014 at 01:59:42AM -0700, srinivas_g_go...@dell.com wrote: Is it possible to configure 2 virtual nics in the same ip range ? Nope, that's unsupported. We need to key various things off the IP address + mask used for the NIC, so you

Re: [libvirt-users] Need help with [virt net-create]

2014-05-20 Thread Daniel P. Berrange
On Tue, May 20, 2014 at 06:35:54AM -0700, srinivas_g_go...@dell.com wrote: Thanks Daniel. Why was I trying to do something like this ? Two reasons 1. I was referring to ( Figure 18.4. Virtual network switch running dnsmasq)

Re: [libvirt-users] Need help with [virt net-create]

2014-05-20 Thread Srinivas_G_Gowda
To: Gowda, Srinivas G Cc: libvirt-us...@redhat.coms Subject: Re: [libvirt-users] Need help with [virt net-create] On Tue, May 20, 2014 at 06:35:54AM -0700, srinivas_g_go...@dell.com wrote: Thanks Daniel. Why was I trying to do something like this ? Two reasons 1. I was referring to ( Figure 18.4

[libvirt-users] need help on libvirt and virt manager

2014-04-04 Thread Muhammad Yousuf Khan
Hello every one. i have been running Libvirt for few weeks on testing and will be migrating from Proxmox to libvirt very soon however there is a problem with command line learning. Virsh and virt-install is a complete set of commands. but i want to learn in depth some more command line option. so

Re: [libvirt-users] need help on libvirt and virt manager

2014-04-04 Thread Giuseppe Scrivano
Muhammad Yousuf Khan sir...@gmail.com writes: Hello every one. i have been running Libvirt for few weeks on testing and will be migrating from Proxmox to libvirt very soon however there is a problem with command line learning. Virsh and virt-install is a complete set of commands. but i want

Re: [libvirt-users] Need help regarding perl sys::virt

2012-12-19 Thread Rawat, Vishwanath
-users] Need help regarding perl sys::virt Hi Daniel, It means that libvirt (and other related) libs should be installed on both client and server? Client is the machine from where connection is made(using $uri) to Remote machine(server). Regards, Rawat -Original Message- From

Re: [libvirt-users] Need help regarding perl sys::virt

2012-12-19 Thread Eric Blake
On 12/18/2012 03:43 AM, Rawat, Vishwanath wrote: [Please don't top-post on technical lists] Hi Daniel, I'm not Daniel; but one of the joys of open source development is that by posting to a public list, you can get answers from anyone. It means that libvirt (and other related) libs

Re: [libvirt-users] Need help regarding perl sys::virt

2012-12-18 Thread Rawat, Vishwanath
...@redhat.com] Sent: Tuesday, December 11, 2012 9:29 PM To: Rawat, Vishwanath Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Need help regarding perl sys::virt On Tue, Dec 11, 2012 at 12:46:55PM +, Rawat, Vishwanath wrote: Hi, I wanted to use perl Sys::Virt (which uses

[libvirt-users] Need help regarding perl sys::virt

2012-12-11 Thread Rawat, Vishwanath
Hi, I wanted to use perl Sys::Virt (which uses libvirt) to remotely connect KVM hypervisor. As a start I tried following simple script(KVM.pl) but I am getting following error. First it will ask for authentication which I am providing to it manually then it fails. Do I need to

Re: [libvirt-users] Need help regarding perl sys::virt

2012-12-11 Thread Daniel P. Berrange
On Tue, Dec 11, 2012 at 12:46:55PM +, Rawat, Vishwanath wrote: Hi, I wanted to use perl Sys::Virt (which uses libvirt) to remotely connect KVM hypervisor. As a start I tried following simple script(KVM.pl) but I am getting following error. First it will ask for

[libvirt-users] Need help of virDomainInterfaceStats

2012-09-03 Thread 张章
hi,all I am using virDomainInterfaceStats to monitor the network flow of VM. But there is some strange things. the description of vnet in xml is: interface type='bridge' mac address='00:16:3e:5d:aa:a8'/ source bridge='br0'/ target dev='vnet0'/

[libvirt-users] need help with sanlock plugin

2011-11-30 Thread Upendra Moturi
Hi I am working with libvirt on ubuntu. I would like have sanlock feature with ubuntu. Can you please guide me on how to. -- Thanks and Regards, Upendra.M *As a leading developer of IT infrastructure software solutions, Hexagrid developed the first cloud

Re: [libvirt-users] Need help to compile libvirt-php

2011-10-27 Thread Mohammed Naser
On Wed, Oct 26, 2011 at 11:31 AM, vmnode guy vmnode...@gmail.com wrote: Hello HetZ, I try the put in the example and try run, but it's don't seem to be works. Do you have the same problem, do you know how should i proceed ? root@cn1:/var/www# cat info.php ?php print_r (

Re: [libvirt-users] Need help to compile libvirt-php

2011-10-26 Thread vmnode guy
Thanks HetZ, it works now! Regards, Peter On Tue, Oct 25, 2011 at 8:04 PM, חץ בן חמו h...@benhamo.org wrote: Hi, Depending on which linux distribution you use, you'll need to install the php development packages. In Red Hat or Fedora it's php-devel while on ubuntu I think it's called

Re: [libvirt-users] Need help to compile libvirt-php

2011-10-26 Thread vmnode guy
Hello HetZ, I try the put in the example and try run, but it's don't seem to be works. Do you have the same problem, do you know how should i proceed ? root@cn1:/var/www# cat info.php ?php print_r ( libvirt_version() ); $conn = libvirt_connect('null', false); // $conn =

[libvirt-users] Need help to compile libvirt-php

2011-10-25 Thread vmnode guy
Hi guys, I try to compile the libvirt-php but no luck, below are the output i got.. webserver:~/libvirt-php-0.4.3 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p

Re: [libvirt-users] Need help to compile libvirt-php

2011-10-25 Thread חץ בן חמו
Hi, Depending on which linux distribution you use, you'll need to install the php development packages. In Red Hat or Fedora it's php-devel while on ubuntu I think it's called php5-dev or something like that. Install and re-run ./configure Good luck, Hetz 2011/10/25 vmnode guy

Re: [libvirt-users] Libvirt newbie, need help with doubts

2011-10-07 Thread Eric Blake
On 10/07/2011 05:28 AM, PREETHI RAMESH wrote: Hi, These are my doubts: I'll answer what I can, but you'll have to hope that others chime in as well. 1. I tried live migration of Ubuntu 11.04 from the one physical machine to another using the migrate() function. I connected via tcp in the

[libvirt-users] Need help debugging virtio net issue

2011-10-05 Thread Darren Dao
This is what I use for creating the VM sudo virt-install -n myvm -r 2048 --vcpus=1 --accelerate -v -w bridge:br0,model=virtio --nographics -m 54:52:00:01:bb:8d --disk path=/storage_pool/myvm.raw,size=20,bus=virtio --pxe It used to work fine, but now it get stuck trying to do pxeboot/kickstart.

[libvirt-users] Need help for Qemu-KVM

2011-07-25 Thread kp chetan
___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Need help for Qemu-KVM

2011-07-25 Thread Eric Blake
On 07/25/2011 02:26 AM, kp chetan wrote: Your mail did not come through with any content other than the subject line. The list software strips out html body; can you resend in just plain text, in case that explains the lack of information on your part? -- Eric Blake ebl...@redhat.com

[libvirt-users] virsh : Need help to manage a vm on a remote vmWare

2011-02-02 Thread Etienne GOSSET
Hello, I'm trying to use the tool virsh of libvirt. I want to manage via CLI a vm on a vmware hypervisor which is hosted on a remote host (Is that what you call the node??). I read a lot of thing on your site but I really don't understand how to do something... I saw that: virsh edit

[libvirt-users] i need help

2010-06-25 Thread Jounewe Lambang Paul Roland
 I am french student who works on a libvirt projet, it consists to get information from an hypervisor by using libvirt API in perl in cgi script but i have a great problem. I wrote my script and its works in EPIC but when i am trying to run it from apache web server as a CGI script, it goes