Re: [libvirt-users] Setup a network

2012-03-15 Thread Martin Kletzander
On 03/14/2012 10:24 PM, Felix Blanke wrote: > Hello, > > this isn't a bug report or an advanced usage question. This is just a > question from a noob who is new to kvm and needs some help to setup a > network between the host and the guests. If you're willing to spend a > little time to help me ou

Re: [libvirt-users] Setup a network

2012-03-15 Thread Martin Kletzander
On 03/15/2012 10:13 AM, Felix Blanke wrote: > On 3/15/12 9:22 AM, Martin Kletzander wrote: >> On 03/14/2012 10:24 PM, Felix Blanke wrote: [...] >> http://libvirt.org/formatnetwork.html >> http://libvirt.org/formatnwfilter.html > > So I could use something like "vi

Re: [libvirt-users] manage VM without root access?

2012-03-19 Thread Martin Kletzander
On 03/19/2012 07:21 AM, Jun Koi wrote: > hi, > > with libvirt, is it possible to manage VMs (using virsh, for e.g) > without root access? The daemon is usually running as root, but virsh can do everything as a user also. > if that is possible, how can i do that? I'm using *local* connection to

Re: [libvirt-users] Python Libvirt Bindings

2012-05-22 Thread Martin Kletzander
On 05/21/2012 08:03 PM, Hubert Zhang wrote: > https://www.redhat.com/archives/libvirt-users/2012-May/msg5.html > > > When I run the sample code with the case of Python code for using qemu+tcp > with SASL, I always got this SASL error: > > Traceback (most recent call last): > File "esxLi

Re: [libvirt-users] Python Libvirt Bindings

2012-05-22 Thread Martin Kletzander
On 05/22/2012 10:04 AM, Martin Kletzander wrote: [...] > I'll have a look at it and fix it if it's like this. Going through the docs, I realized I made a mistake and I've set up the keys incorrectly (I should read more slowly and twice) and the documentation is right. '*

Re: [libvirt-users] [libvirt] [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]

2012-06-01 Thread Martin Kletzander
On 05/31/2012 08:33 AM, Onkar wrote: > Hello All, > Any idea on this issue ? > > Regards, > Onkar > > Forwarded Message > From: Onkar > To: libvir-list > Subject: error: this function is not supported by the connection > driver : virConnectNumOfStoragePool > Date: Wed, 30

Re: [libvirt-users] Can't NAT in KVM

2012-07-27 Thread Martin Kletzander
On 07/27/2012 09:15 AM, Borden Rhodes wrote: > Good morning, list, > > I've been trying to get my KVM virtual machines to connect to the > Interwebs for the last 3 hours with no success. I'm running Debian > Wheezy (fully patched) and building virtual machines using KVM in Virt > Manager. > > Wit

Re: [libvirt-users] question about using openAuth with Python

2012-08-27 Thread Martin Kletzander
On 08/26/2012 03:39 PM, lulin Fan wrote: > Hi guys > > Is anybody can help me how to use openAuth to connect a remote URI > without input the boring password? we assume the password of root for > remote machine is "123456". > > Even I running the example in libvirt library esxlist.py(change uri

Re: [libvirt-users] How to migrate over TCP without certs

2012-09-13 Thread Martin Kletzander
On 09/13/2012 02:20 AM, Renich Bon Ciric wrote: > Hey guys, > > I have a private network and I trust it! /me hides behind trees... > > So, in order to exercise my trust, I wanna migrate guests over TCP; > with and without shared storage. > > This is: > > - I want to migrate from host1 to host2;

Re: [libvirt-users] Libvirt Error guest wont start

2012-10-10 Thread Martin Kletzander
On 10/10/2012 04:47 PM, Shawn Furrow wrote: > I am using QEMU 1.1.0, the latest libvirt (from the git repo, but I've > also tried release 0.10.0). Host os is Ubuntu 10.04 and the VM os is > also 10.04. > > I am getting the qemu version from qemu-system-x86_64 --version so I > know its the one that

Re: [libvirt-users] Block device IO limits

2012-11-26 Thread Martin Kletzander
On 11/26/2012 11:34 AM, Davide Guerri wrote: > Hi all, > is there a way to limit the throughput (or the number of operations per > seconds) of a block device? > > I ask because I've a couple of misconfigured VMs that are performing a lot of > disk activity (swapping I'd bet but I haven't access

Re: [libvirt-users] How to device port on the controller

2013-04-09 Thread Martin Kletzander
On 04/08/2013 11:58 PM, Daniele Testa wrote: > Hi, > > I am adding a disk to my KVM virtual server, but for some reason it refuses > to honor the > > I have tried the following 3: > > > > > > my-fake-serial > > > > > > > >

Re: [libvirt-users] How to device port on the controller

2013-04-09 Thread Martin Kletzander
parameter (which I doubt with such old implementation) or not. > Regards, > Daniele > > > 2013/4/9 Martin Kletzander > >> On 04/08/2013 11:58 PM, Daniele Testa wrote: >>> Hi, >>> >>> I am adding a disk to my KVM virtual server, but for some reason it &g

Re: [libvirt-users] virt-install on powerpc64 issues

2013-04-11 Thread Martin Kletzander
On 04/10/2013 07:15 AM, Alexey Kardashevskiy wrote: > Hi! > > I am trying to setup a guest using virt-install script: > > /usr/bin/virt-install -n fc18guest5 -r 1024 \ > --disk path=/home/aik/virtimg/fc18guest,size=8 \ > -c /home/aik/virtimg/Fedora-18-ppc64-DVD.iso \ > --video vga

Re: [libvirt-users] reboot command lost

2013-04-11 Thread Martin Kletzander
On 04/11/2013 06:25 AM, 邓焕聪 wrote: > when i send a reboot command to libvirtd to reboot a domain, it does not > receive and print the following warn:2013-04-10 06:01:39.080+: 2908: > warning : qemuDomainObjTaint:1311 : Domain id=56 > name='69751ca7-3198-4f3c-8265-cb8cb70ad750' > uuid=69751c

Re: [libvirt-users] virt-install on powerpc64 issues

2013-04-11 Thread Martin Kletzander
On 04/11/2013 02:41 PM, Alexey Kardashevskiy wrote: > On 04/11/2013 09:34 PM, Martin Kletzander wrote: >> On 04/10/2013 07:15 AM, Alexey Kardashevskiy wrote: >>> Hi! >>> >>> I am trying to setup a guest using virt-install script: >>> >>>

Re: [libvirt-users] virt-install on powerpc64 issues

2013-04-11 Thread Martin Kletzander
On 04/11/2013 03:16 PM, Alexey Kardashevskiy wrote: > On 04/11/2013 11:10 PM, Martin Kletzander wrote: >> On 04/11/2013 02:41 PM, Alexey Kardashevskiy wrote: >>> On 04/11/2013 09:34 PM, Martin Kletzander wrote: >>>> On 04/10/2013 07:15 AM, Alexey Kardashevskiy wro

Re: [libvirt-users] virt-install on powerpc64 issues

2013-04-11 Thread Martin Kletzander
On 04/11/2013 04:04 PM, Alexey Kardashevskiy wrote: > oops. Misunderstood. Sorry. "qemu:///session" shows the list. What is > the difference (shortly if possible)? Two different daemons? > In system mode, the daemon runs as root. It is the preferable option, default when connecting as root, supp

Re: [libvirt-users] virt-install on powerpc64 issues

2013-04-15 Thread Martin Kletzander
On 04/12/2013 05:46 AM, Alexey Kardashevskiy wrote: > On 04/12/2013 12:23 AM, Martin Kletzander wrote: >> On 04/11/2013 04:04 PM, Alexey Kardashevskiy wrote: >>> oops. Misunderstood. Sorry. "qemu:///session" shows the list. What is >>> the difference (shortl

Re: [libvirt-users] Using a Windows partition as libvirt media

2013-06-14 Thread Martin Kletzander
On 06/13/2013 08:48 PM, Roland Giesler wrote: > Surely there must be someone here that knows how to do this? Maybe > someone that has used some other partition type in this way? > > On Mon, Jun 10, 2013 at 10:06 PM, Roland Giesler > wrote: >> I'm running Ubuntu desktop 12.10 with libvirt and vi

Re: [libvirt-users] Fwd: Haswell 4770 misidentified as Sandy Bridge

2013-06-17 Thread Martin Kletzander
On 06/13/2013 10:11 PM, Michael Giardino wrote: > Hi, > > I'm running libvert on a Debian 7 system. I have upgraded libvert and qemu > from source (v1.06 and 1.5.0 respectively) and the problem persists. The > guest OS is also a Debian 7 system running a non-SMP kernel. The error > message from vi

Re: [libvirt-users] Fwd: Haswell 4770 misidentified as Sandy Bridge

2013-06-18 Thread Martin Kletzander
On 06/17/2013 05:41 PM, Michael Giardino wrote: > Kashyap: I have not tried integrating your guest xml but I will look > over it today when I get a chance. Thank you. > > Martin: Below is the output from /proc/cpuinfo. Let me know if there is > anything else that would be helpful in debugging this

Re: [libvirt-users] Using a Windows partition as libvirt media

2013-06-18 Thread Martin Kletzander
On 06/18/2013 09:36 AM, Roland Giesler wrote: > On Fri, Jun 14, 2013 at 11:07 AM, Martin Kletzander > wrote: >> On 06/13/2013 08:48 PM, Roland Giesler wrote: >>> On Mon, Jun 10, 2013 at 10:06 PM, Roland Giesler >>> wrote: [...] >>>> I tried with vir

Re: [libvirt-users] Fwd: Haswell 4770 misidentified as Sandy Bridge

2013-06-19 Thread Martin Kletzander
On 06/19/2013 05:32 AM, Michael Giardino wrote: > Sorry to blow up everyone's email on this but I tried something new and > found a different problem. I uninstalled all the debian package (libvirt, > kvm, qemu, virt-manager, etc.) and then remade all the packages and > installed them. Haswell again

Re: [libvirt-users] Fwd: Haswell 4770 misidentified as Sandy Bridge

2013-06-19 Thread Martin Kletzander
On 06/19/2013 05:32 AM, Michael Giardino wrote: > Sorry to blow up everyone's email on this but I tried something new and > found a different problem. I uninstalled all the debian package (libvirt, > kvm, qemu, virt-manager, etc.) and then remade all the packages and > installed them. Haswell again

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Martin Kletzander
On 07/01/2013 01:27 PM, Maciej Gałkiewicz wrote: > Hello > > I have a question about live migration when libvirt requires sasl > authentication. I have managed to configure remote access for user nova > with sasl enabled (credentials stored in auth.conf - > https://review.openstack.org/#/c/12706/)

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Martin Kletzander
On 07/02/2013 10:13 AM, Maciej Gałkiewicz wrote: > On 2 July 2013 09:58, Martin Kletzander wrote: > >> I'd say this is a problem with sasl, nothing else. "No mechanism found" >> may mean that libraries for configured mechanism aren't found or unknown >

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Martin Kletzander
On 07/02/2013 10:43 AM, Maciej Gałkiewicz wrote: > On 2 July 2013 10:36, Martin Kletzander wrote: > >> I couldn't know you were able to do that. Since I presume you are using >> the same server and client to check that, I must fallback to default >> questions like &

Re: [libvirt-users] libvirt possibly ignoring cache=none ?

2013-08-08 Thread Martin Kletzander
On 08/07/2013 02:24 PM, Brano Zarnovican wrote: > Hi, > > I have an instance with 8G ram assigned. All block devices have cache > disabled (cache=none) on host. However, cgroup is reporting 4G of > cache associated to the instance (on host) > > # cgget -r memory.stat libvirt/qemu/i-09fa > lib

Re: [libvirt-users] libvirt possibly ignoring cache=none ?

2013-08-09 Thread Martin Kletzander
On 08/08/2013 05:03 PM, Brano Zarnovican wrote: > On Thu, Aug 8, 2013 at 9:39 AM, Martin Kletzander wrote: >> At first let me explain that libvirt is not ignoring the cache=none. >> This is propagated to qemu as a parameter for it's disk. From qemu's >> POV (anyone

Re: [libvirt-users] vnc ip binding problem

2013-08-12 Thread Martin Kletzander
On 08/09/2013 12:05 PM, Jungnam Lee wrote: > Hi, all. > > I tested some operations with libvirt 1.1 on Xen 4.3 > > Creating vm seems okay, but I cannot connect to its vnc console. So, I > checked its bining. > > [root@dev-2 ~]# netstat -antp|grep 5900 > tcp0 0 127.0.0.1:5900

Re: [libvirt-users] Stop the relabeling of CD images

2013-08-20 Thread Martin Kletzander
On 08/20/2013 04:19 AM, Cristian Ciupitu wrote: > - Original Message - >> From: Eric Blake >> To: Cristian Ciupitu >> Cc: libvirt-users >> Sent: Monday, August 19, 2013 11:24 PM >> Subject: Re: [libvirt-users] Stop the relabeling of CD images > >> So maybe this would do it: >> >> >>

Re: [libvirt-users] Stop the relabeling of CD images

2013-08-20 Thread Martin Kletzander
On Tue 20 Aug 2013 10:17:19 PM CEST, Cristian Ciupitu wrote: > - Original Message - >> From: Martin Kletzander >> To: Cristian Ciupitu >> Cc: Eric Blake ; libvirt-users >> Sent: Tuesday, August 20, 2013 6:05 PM >> Subject: Re: [libvirt-users] Stop the re

Re: [libvirt-users] virConnectDomainEventRegisterAny problem

2013-08-20 Thread Martin Kletzander
On Wed 21 Aug 2013 01:03:37 AM CEST, Alexandr wrote: > > good day. i trying to make callback function for > VIR_DOMAIN_EVENT_ID_LIFECYCLE, i have successfully registering callback, > but it never called, i need to know when domain started, stopped or > crashed, i have write following code > > stati

Re: [libvirt-users] failing connections w/ virt-manager

2013-10-08 Thread Martin Kletzander
On Mon, Oct 07, 2013 at 09:36:04PM +0200, Stefan G. Weichinger wrote: > Am 04.10.2013 16:03, schrieb Stefan G. Weichinger: > > Am 04.10.2013 11:26, schrieb Stefan G. Weichinger: > >> Am 04.10.2013 07:12, schrieb Stefan G. Weichinger: > >> > >>> Thanks for any help on this, I am quite stuck here alr

Re: [libvirt-users] failing connections w/ virt-manager

2013-10-09 Thread Martin Kletzander
On Wed, Oct 09, 2013 at 11:12:47AM +0200, Stefan G. Weichinger wrote: > Am 08.10.2013 14:46, schrieb Stefan G. Weichinger: > > >> Try enabling the flag, re-emerging the package, setting the logs and > >> then reproduce it again. Check the logs and you should see why it's > >> disconnecting. > >

Re: [libvirt-users] virt-install not spawning VM

2013-11-08 Thread Martin Kletzander
On Fri, Nov 08, 2013 at 03:29:31AM +, Sudarshan Pathalam (supathal) wrote: > Hello, > > In trying girt-install with below parameters I get the following error, > -bash: virt-install --connect qemu:///system --name vm1 --ram 2048 --vcpus: > No such file or directory > What am I doing wrong? >

Re: [libvirt-users] Retry reboots in xmls files for libvirt

2014-01-16 Thread Martin Kletzander
On Thu, Jan 16, 2014 at 04:59:20PM +0100, Fernando Porro wrote: > Hi, > > I have a virtual machine defined by xml that start from pxe (network boot), > my problem is that sometimes the dhcp server is not ready when the virtual > machine try to boot. > > I need that the virtual machine keep asking f

Re: [libvirt-users] Retry reboots in xmls files for libvirt

2014-01-20 Thread Martin Kletzander
ther xen knows how to do that or how to request any kind of this configuration, sorry. But if you fond how this is made for xen, it might be pretty easy to wire up in libvirt. Martin > BR > > //Fernando > > > 2014/1/16 Martin Kletzander > > > On Thu, Jan 16,

Re: [libvirt-users] Problems with qemu-system-arm and isa-serial

2014-02-18 Thread Martin Kletzander
On Mon, Feb 17, 2014 at 05:01:05PM +0100, Niccolo Rigacci wrote: > Hi, > > I'm trying to use libvirt for an armel virtual machine hosted > into an x86_64 box. > > I know the command line to start qemu-system-arm directly, but I > cannot figure a proper .xml configuration file to let libvirt do > th

Re: [libvirt-users] Problems with qemu-system-arm and isa-serial

2014-02-18 Thread Martin Kletzander
On Tue, Feb 18, 2014 at 09:10:58AM +0100, Martin Kletzander wrote: > On Mon, Feb 17, 2014 at 05:01:05PM +0100, Niccolo Rigacci wrote: > > Hi, > > > > I'm trying to use libvirt for an armel virtual machine hosted > > into an x86_64 box. > > > > I kn

Re: [libvirt-users] Problems with qemu-system-arm and isa-serial

2014-02-18 Thread Martin Kletzander
On Tue, Feb 18, 2014 at 09:33:01AM +0100, Martin Kletzander wrote: > On Tue, Feb 18, 2014 at 09:10:58AM +0100, Martin Kletzander wrote: > > On Mon, Feb 17, 2014 at 05:01:05PM +0100, Niccolo Rigacci wrote: > > > Hi, > > > > > > I'm trying to use li

Re: [libvirt-users] 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)

2014-03-03 Thread Martin Kletzander
On Fri, Feb 28, 2014 at 03:45:01PM +, Struan Bartlett wrote: > Hi > > On a range of Dell servers containing Intel 64bit processors, 'virsh > capabilities' reports the cpu differently on Debian Wheezy-amd64 and > Wheezy-i386. The results given by the Wheezy-i386 version seem very > wrong (since

Re: [libvirt-users] 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)

2014-03-03 Thread Martin Kletzander
s now reported correctly, and my VMs that required > SandyBridge are now booting. > > Have you any further suggestions? > Oh, I missed the fact that it was 32 bit distro. In that case, I guess some cpu features won't be available. No other ideas. Martin > Struan > &

Re: [libvirt-users] 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)

2014-03-03 Thread Martin Kletzander
On Mon, Mar 03, 2014 at 10:47:03AM +, Struan Bartlett wrote: > > On 03/03/2014 10:44, Martin Kletzander wrote: > > On Mon, Mar 03, 2014 at 10:30:11AM +, Struan Bartlett wrote: > >> Hi Martin > >> > >> Thanks for your response. Here's the output

Re: [libvirt-users] 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)

2014-03-03 Thread Martin Kletzander
On Mon, Mar 03, 2014 at 11:15:51AM +, Struan Bartlett wrote: > > On 03/03/2014 10:55, Martin Kletzander wrote: > > On Mon, Mar 03, 2014 at 10:47:03AM +, Struan Bartlett wrote: > >> On 03/03/2014 10:44, Martin Kletzander wrote: > >>> On Mon, Mar 03, 2014 at

Re: [libvirt-users] 'virsh capabilities' on Debian Wheezy-amd64 reports different cpu to Wheezy-i386 (on same hardware)

2014-03-03 Thread Martin Kletzander
On Mon, Mar 03, 2014 at 02:15:43PM +, Struan Bartlett wrote: > > > On 03/03/2014 13:42, Martin Kletzander wrote: > > On Mon, Mar 03, 2014 at 11:15:51AM +, Struan Bartlett wrote: > >> On 03/03/2014 10:55, Martin Kletzander wrote: > >>> On Mon, Mar

Re: [libvirt-users] Adding an application to the list

2014-03-11 Thread Martin Kletzander
On Tue, Mar 11, 2014 at 05:54:10AM +0400, KSENYA PHIL wrote: > > Dear Sirs, > > my name is Ksenya, I'm from the ISPsystem company, which develops software > products for hosting business automation. We'd like to add VMmanager into the > Web-applications section  http://libvirt.org/apps.html#web >

Re: [libvirt-users] Adding an application to the list

2014-03-12 Thread Martin Kletzander
On Wed, Mar 12, 2014 at 04:33:34AM +0400, KSENYA PHIL wrote: > Hello, Martin. > > The following is a brief description of VMmanager:  > > Software solution for virtualization management that can be used both for > hosting virtual machines and building a cloud. With VMmanager you can manage > n

Re: [libvirt-users] questions on clock catchup

2014-03-13 Thread Martin Kletzander
On Thu, Mar 13, 2014 at 02:49:13AM -0400, Jincheng Miao wrote: > In http://libvirt.org/formatdomain.html#elementsTime , we could find there are > three attributes of catchup tickpolicy: limit, threshold and slew. > > " > The catchup element has three optional attributes, each a positive integer. >

Re: [libvirt-users] Starting processes inside VMs using Libvirt?

2014-03-25 Thread Martin Kletzander
On Mon, Mar 24, 2014 at 01:36:37PM -0600, Eric Blake wrote: > On 03/24/2014 01:31 PM, Taimur Al Said wrote: > > Thank you Eric, > > [please don't top-post on technical lists] > > > > > I am using KVM: qemu.. I'll try to see how I can use qemu-guest-agent.. > > If you have links to examples on how t

Re: [libvirt-users] libvirt: error : internal error: cannot apply process capabilities -1

2014-04-11 Thread Martin Kletzander
On Fri, Apr 11, 2014 at 05:40:25AM +, Santhosh Kokala wrote: Hi All, I am running libvirt-1.1.2 on Scientific Linux release 6.1 (Carbon). I compiled the libvirtd rpms and installed them on to my system. I see this error 2014-04-11 05:37:42.351+: 12378: error : virCommandWait:2348 : inte

Re: [libvirt-users] Snapshots

2014-04-17 Thread Martin Kletzander
On Wed, Apr 16, 2014 at 10:55:11PM +0200, lukass.va...@seznam.cz wrote: Hello, I would like to ask what I am doing  wrong and what is the best approach to resolve this situation: First of all I start virtual machine by virDomainCreateXML. In my application I use libvncclient library that sends m

Re: [libvirt-users] [libvirt] Host OS, Storage Info

2014-05-22 Thread Martin Kletzander
On Thu, May 22, 2014 at 12:16:17PM +0530, Sijo Jose wrote: Hi, Is there any way to get host OS information and host Storage in formations using libvirt API...? Rgds -Sijo Check virsh help (most of the commands you probably want start with 'node' or 'vol'/'pool') or have a look at our hvsupport

Re: [libvirt-users] How to build and install python-libvirt

2014-05-27 Thread Martin Kletzander
On Tue, May 27, 2014 at 05:36:19PM +0800, Qiang Guan wrote: ubuntu@host-192-168-0-7:~/github$ git clone git://libvirt.org/libvirt-python.git ubuntu@host-192-168-0-7:~/github$ cd libvirt-python/ ubuntu@host-192-168-0-7:~/github/libvirt-python$ python setup.py build Package libvirt was not found

Re: [libvirt-users] [libvirt] Host OS, Storage Info

2014-05-30 Thread Martin Kletzander
On Thu, May 29, 2014 at 01:31:13PM -0400, Ainsworth, Thomas wrote: Martin, et al, Sorry for the lag in response. So I started playing with the various virsh commands. Awesome. Been doing some reading and I believe I have some things configured not so well. As I stated earlier in the thread, we

Re: [libvirt-users] [libvirt] Host OS, Storage Info

2014-05-30 Thread Martin Kletzander
(kill all remaining ones in your case) and start the daemon again. Martin Thanks, Tom On Fri, May 30, 2014 at 5:12 AM, Martin Kletzander wrote: On Thu, May 29, 2014 at 01:31:13PM -0400, Ainsworth, Thomas wrote: Martin, et al, Sorry for the lag in response. So I started playing with t

Re: [libvirt-users] LIbvirt Python Snapshot -Domain Crashing

2014-06-03 Thread Martin Kletzander
On Tue, Jun 03, 2014 at 04:02:21PM +0530, Sijo Jose wrote: Hi, I'm using libvirt(1.0.0) with python, for managing virtual machines.. but while taking multiple snapshot domain is crashing... Snapshot XML - snp1 Description API

Re: [libvirt-users] Libvirt Python Bindings - Remote Connection using openAuth.

2014-06-06 Thread Martin Kletzander
On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote: Hi, I am using libvirt with python binding, and I want to connect to a remote host. I was able to connect after making ssh certificate, but It is not applicable for my project. So I want to use openAuth() method, but I could not succeed c

Re: [libvirt-users] Libvirt Python Bindings - Remote Connection using openAuth.

2014-06-06 Thread Martin Kletzander
d. Martin -Sijo On Fri, Jun 6, 2014 at 1:57 PM, Martin Kletzander wrote: On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote: Hi, I am using libvirt with python binding, and I want to connect to a remote host. I was able to connect after making ssh certificate, but It is not applica

Re: [libvirt-users] TCP connection works for only remote host

2014-06-10 Thread Martin Kletzander
On Tue, Jun 10, 2014 at 03:15:37PM +0530, usha basavaraju wrote: Restarted libvirt to listen at tcp $ sudo /etc/init.d/libvirt-bin stop [sudo] password for fluent: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service libvirt-bin stop Since the script yo

Re: [libvirt-users] libvirt issue while deploying a VM

2014-06-12 Thread Martin Kletzander
On Thu, Jun 12, 2014 at 07:08:29PM +0300, Zvi Dubitzky wrote: Using libvirt under openstack I encounter a problem when launching a VM with multiple partitions (2 G image) , While a single partition can be launched successfully . The launch is done with Openstack. We are using in libvirtd.con

Re: [libvirt-users] libvirt issue while deploying a VM

2014-06-15 Thread Martin Kletzander
ome better option than log_leve=1 exists ?) Thx Zvi Dubitzky Email:d...@il.ibm.com From: Martin Kletzander To: Zvi Dubitzky/Haifa/IBM@IBMIL, Cc: libvirt-users@redhat.com Date: 12/06/2014 07:55 PM Subject:Re: [libvirt-users] libvirt issue while deploying a VM On Thu, Jun

Re: [libvirt-users] Unable to migrate vm from redhat to ubuntu using virsh migrate

2014-06-30 Thread Martin Kletzander
On Sat, Jun 28, 2014 at 07:24:51PM -0700, Mani Devarajan wrote: Hello All, I am working on migrating the vm from redhat to ubuntu. the emulator value is as below. Ubuntu: /usr/bin/qemu-system-x86_64 redhat: /usr/libexec/qemu-kvm When i try to migrate from redhat, i get the following error. It w

Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt

2014-07-01 Thread Martin Kletzander
On Tue, Jul 01, 2014 at 07:00:29AM +, WANG Cheng D wrote: Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64

Re: [libvirt-users] virsh update-device issues

2014-07-01 Thread Martin Kletzander
On Tue, Jul 01, 2014 at 06:06:01PM +0400, Oleg Bondarev wrote: Hi, I faced a couple of issues with libvirt update-device function: 1. http://libvirt.org/hvsupport.html says that virDomainUpdateDeviceFlags is supported since 0.8.0 API version in qemu driver. However when trying to update network

Re: [libvirt-users] memoryStats question

2014-07-03 Thread Martin Kletzander
On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote: Hello, I'm trying to get memory usage statistic inside a guest machine using virDomainMemoryStats function at libvirt. According to http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the structure could have a lot o

Re: [libvirt-users] virt-install: failed to initialize KVM: Permission denied

2014-08-19 Thread Martin Kletzander
On Tue, Aug 19, 2014 at 08:33:01PM +0200, arnaud gaboury wrote: As a regular user, member of the libvirt group, I run this command to create a basic VM: virt-install --connect qemu:///system --name=test --ram 2048 --cpu host-model-only --os-variant=win7 --disk /myVM/test --boot cdrom,hd --virt-t

Re: [libvirt-users] Remote connection. Get URI

2014-08-25 Thread Martin Kletzander
On Fri, Aug 22, 2014 at 03:53:18PM +0400, Pavel Khrulev wrote: Hello. I have an app (virt-manager) for remote connection to server where libvirtd is running. When I make a new connection with uri (qemu+tcp://paul@172.16.111.20/system) I want to know username (paul What are you using for authen

Re: [libvirt-users] Progressively worsening unresponsiveness

2014-08-25 Thread Martin Kletzander
On Mon, Aug 25, 2014 at 02:56:57PM -0600, Michael Warnecke wrote: Hello all, I'm new to the list, and hoping someone can point me in the right direction. I've got an Ubuntu 14 dom0 with, what I think, are excellent specs. 12 cores, hyperthreaded, VT, 64GB RAM, gobs of disk, etc... all to run 8

Re: [libvirt-users] virsh's editor configuration

2014-09-16 Thread Martin Kletzander
On Tue, Sep 16, 2014 at 01:34:37PM +0100, lejeczek wrote: hi all where/how to change vim's I presume configuration, one that virsh uses? thanks. P. Well, virsh just starts an $EDITOR. Set it up properly and you're good to go ;) Martin signature.asc Description: Digital signature __

Re: [libvirt-users] sr-iov on Intel 82576 and rhel 7 - would not work

2014-09-19 Thread Martin Kletzander
On Fri, Sep 19, 2014 at 03:35:07PM +0100, lejeczek wrote: hi everybody a windows kvm guest would not start, process gets killed with: Out of memory: Kill process 21984 (qemu-kvm) score 44 or sacrifice child Not paying attention to the rest of the mail, I'd just say that kernel had to kill so

Re: [libvirt-users] time setting after suspend/resume

2014-09-29 Thread Martin Kletzander
On Fri, Sep 26, 2014 at 08:16:25AM +0800, Bill Kenworthy wrote: Hi, I am using libvirt with qemu/kvm with qemu-guest-agent and suspend/save/resume linux and windows vm's. Time in Windows gets handled fine with ntp but I can get neither ntp or chrony to sync after resume without manually

Re: [libvirt-users] time setting after suspend/resume

2014-09-29 Thread Martin Kletzander
On Mon, Sep 29, 2014 at 05:23:08PM +0800, Bill Kenworthy wrote: On 29/09/14 16:28, Martin Kletzander wrote: On Fri, Sep 26, 2014 at 08:16:25AM +0800, Bill Kenworthy wrote: Hi, I am using libvirt with qemu/kvm with qemu-guest-agent and suspend/save/resume linux and windows vm's. Ti

Re: [libvirt-users] time setting after suspend/resume

2014-10-02 Thread Martin Kletzander
On Mon, Sep 29, 2014 at 09:19:39AM -0600, Eric Blake wrote: On 09/29/2014 02:28 AM, Martin Kletzander wrote: On Fri, Sep 26, 2014 at 08:16:25AM +0800, Bill Kenworthy wrote: Hi, I am using libvirt with qemu/kvm with qemu-guest-agent and suspend/save/resume linux and windows vm's. Ti

Re: [libvirt-users] is memoryBacking support 'share' and 'mem-path' parameter

2014-10-08 Thread Martin Kletzander
On Wed, Oct 08, 2014 at 10:03:47AM +0800, Linhaifeng wrote: Hi, I want to use this qemu command '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on' with libvirt but i can't find the 'mem-path' and 'share' in the documentation. because the vhost-user backend based on 'sh

Re: [libvirt-users] is memoryBacking support 'share' and 'mem-path' parameter

2014-10-08 Thread Martin Kletzander
On Thu, Oct 09, 2014 at 09:54:44AM +0800, Linhaifeng wrote: On 2014/10/8 16:57, Martin Kletzander wrote: On Wed, Oct 08, 2014 at 10:03:47AM +0800, Linhaifeng wrote: Hi, I want to use this qemu command '-object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on' wi

Re: [libvirt-users] reboot problem with libxl

2014-10-31 Thread Martin Kletzander
On Thu, Oct 30, 2014 at 01:00:04PM -0400, Alvin Starr wrote: If I reboot a single vm through libvirt/libxl the system reboots normally. If I have several vm's reboot at the same time then The systems go into a paused state and do not reboot. I then have to kill them via xl and restart them.

Re: [libvirt-users] reboot problem with libxl

2014-10-31 Thread Martin Kletzander
ybe someone else has an idea? Martin On 10/31/2014 02:58 AM, Martin Kletzander wrote: On Thu, Oct 30, 2014 at 01:00:04PM -0400, Alvin Starr wrote: If I reboot a single vm through libvirt/libxl the system reboots normally. If I have several vm's reboot at the same time then The systems g

Re: [libvirt-users] VNC display size

2014-10-31 Thread Martin Kletzander
On Fri, Oct 31, 2014 at 10:55:27AM +0100, Aaron Bruelisauer wrote: Hi I would like to set the resolution of the video device of my domain. So if I connect with via vnc I see more. That is the part of the .xml file: "... ..." How can I change it? You have to change it in the guest

Re: [libvirt-users] setvcpus libvirt 1.2.9

2014-11-05 Thread Martin Kletzander
On Wed, Nov 05, 2014 at 11:35:37AM +0100, Thomas Stein wrote: Hello. I'm struggeling a little bit with the setvcpus command. I'm trying now to get this running for a linux VM. Here is what i have: 4 Now the VM is starting with 2 CPUs. When i try to increase the number of CPUs i get: setvcpus

Re: [libvirt-users] how to modify virsh vm start script

2014-11-25 Thread Martin Kletzander
On Tue, Nov 25, 2014 at 12:46:41PM +0900, Ady Wahyudi Paundu wrote: I use libvirt to manage a QEMU/KVM system. Starting a VM only by using > virsh start vmname What I want to know is how to add an option to virsh vm's start script, in my case I want to add QEMU logging option (-d and -D). I can

Re: [libvirt-users] why CPU pinning doesn't take effect when using lxc-enter-namespace to run an application

2014-12-22 Thread Martin Kletzander
On Mon, Dec 22, 2014 at 08:40:03AM +, WANG Cheng D wrote: Dear all, I want my container to run on the third CPU core and I define this by the following xml scrpits: 1 When I run my application in a container terminal, I can see the application runs on the third core as expected. When I ru

Re: [libvirt-users] Console access for a user.

2015-01-02 Thread Martin Kletzander
On Sat, Dec 27, 2014 at 04:05:30PM +0100, Le Bris Gilles wrote: Hi, I would like to allow a user (non-root) to access the console of his VM (he's got root access on it). Using sudo doesn't seem to work: /bin/virsh console vm error: failed to get domain 'vm' error: Domain not found: no domain wit

Re: [libvirt-users] Suggest to update python binding information on libvirt.org

2015-01-16 Thread Martin Kletzander
On Fri, Jan 16, 2015 at 03:25:26PM +0800, Lingyu Zhu wrote: Hello. I am new libvirt user. I downloaded and compile the source code with default configuration. I had a lot of trouble before finally found out that python bindings is now a separated package. However the web site still states that p

Re: [libvirt-users] Suggest to update python binding information on libvirt.org

2015-01-19 Thread Martin Kletzander
thing blocking us. On Fri, Jan 16, 2015 at 4:26 PM, Martin Kletzander wrote: On Fri, Jan 16, 2015 at 03:25:26PM +0800, Lingyu Zhu wrote: Hello. I am new libvirt user. I downloaded and compile the source code with default configuration. I had a lot of trouble before finally found out that python bin

Re: [libvirt-users] HugePages - can't start guest that requires them

2015-01-31 Thread Martin Kletzander
On Fri, Jan 30, 2015 at 03:33:43PM -0800, G. Richard Bellamy wrote: Hello All, I'm trying to enable hugepages, I've turned off THP (Transparent Huge Pages), and enabled hugepages in memoryBacking, and set my 2MB hugepages count via sysctl. I'm getting "libvirtd[5788]: Failed to autostart VM 'at

Re: [libvirt-users] libvirtd can't start

2015-03-24 Thread Martin Kletzander
On Tue, Mar 24, 2015 at 04:29:07PM +0800, 梅磊 wrote: Hi experts, The libvirtd can’t start on my server after the server interruption of power supply, the status is below: [root@openstack3 libvirt]# service libvirtd status Redirecting to /bin/systemctl status libvirtd.service libvirtd.ser

Re: [libvirt-users] Listing on Host sFlow under Applications>Monitoring

2015-03-25 Thread Martin Kletzander
On Wed, Mar 25, 2015 at 07:23:03AM -0700, Peter Phaal wrote: Would it be possible to list the Host sFlow project in the Monitoring section of http://libvirt.org/apps.html? That certainly would, thanks for notifying us. Host sFlow Host sFlow is a light wei

Re: [libvirt-users] 答复: libvirtd can't start

2015-03-26 Thread Martin Kletzander
t.com/show_bug.cgi?id=1179981 It is not, that is caused by something else. -Best Regards, Andy -----邮件原件- 发件人: Martin Kletzander [mailto:mklet...@redhat.com] 发送时间: 24 March 2015 21:20 收件人: 梅磊 抄送: libvirt-users@redhat.com 主题: Re: [libvirt-users] libvirtd can't start On Tue, Mar 24,

Re: [libvirt-users] Networking issues in host

2015-03-30 Thread Martin Kletzander
Since you have low expectations, I'll just try to point out the obvious places to look at ;) I'm not sure how stopping of libvirt works in Arch, but there _might_ be few things libvirt leaves running on purpose (i.e. that's not a bug). For example, if you have a network on autostart or some VM,

Re: [libvirt-users] How to burn a CD using libvirt?

2015-04-14 Thread Martin Kletzander
On Wed, Mar 25, 2015 at 05:02:33PM -0500, Steve Ross wrote: Hi, My first e-mail... my apologies if this is not the appropriate e-mail list. You did, sorry for the super-late response :) My goal is to *write* from the guest OS to a CD or DVD reader/writer on my host system. Currently, the w

Re: [libvirt-users] oddity with lxc-enter-namespace

2015-04-14 Thread Martin Kletzander
On Thu, Apr 02, 2015 at 10:25:23AM +0200, Thierry Parmentelat wrote: Hi folks I have a question about lxc-enter-namespace I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 and now I can't seem to use lxc-enter-namespace for enter

Re: [libvirt-users] oddity with lxc-enter-namespace

2015-04-15 Thread Martin Kletzander
tests based on that setup if it can be helpful Not even start? What's the XML you are using? thanks — Thierry On 14 Apr 2015, at 14:37, Martin Kletzander wrote: On Thu, Apr 02, 2015 at 10:25:23AM +0200, Thierry Parmentelat wrote: Hi folks I have a question about lxc-enter-namespace

Re: [libvirt-users] libvirt with gcc5 Test failing

2015-05-22 Thread Martin Kletzander
On Fri, May 22, 2015 at 05:36:54PM -0500, Athenas Jimenez wrote: Hello! I'm trying to compile libvirt using GCC 5.1 but one of the test are failing and I have no idea why :( Hopefully someone of you could help me, here part of my log: Are you sure this is clean source without modifications?

Re: [libvirt-users] "connect at power-on" NIC feature equivalent to that found in ESX

2015-06-25 Thread Martin Kletzander
On Wed, Jun 24, 2015 at 05:50:47PM -0500, Ron Parker wrote: As a work-around, you can remove the NIC from the VM before starting it, edit the network configuration files and then re-add the hardware. This has worked for me. Or you can just use: https://libvirt.org/formatdomain.html#elementL

Re: [libvirt-users] IPMI in Libvirt

2015-07-09 Thread Martin Kletzander
On Wed, Jul 08, 2015 at 11:46:17AM -0400, Anderson Kaiser wrote: Greetings all, I am looking for a solution to use IPMI (BMC) in with LibVirt (Virt-Manager). Actually there is a Customer behind this request as well. If the customer you are talking about is a Red Hat customer, and they want to

Re: [libvirt-users] adding devices and chardev in .xml configuration file ...

2015-07-09 Thread Martin Kletzander
On Thu, Jul 09, 2015 at 12:27:20PM +, Jean-Pierre Ribeauville wrote: Hi, As I want to start qemu by adding following parameters : -device virtio-serial -chardev socket,path=/tmp/foo,server,nowait,id=test -device virtserialport,chardev=test,name=port.0 Is it possible to add them in the .xm

Re: [libvirt-users] cpuacct and emulator/cpuacct

2015-07-09 Thread Martin Kletzander
On Wed, Jul 08, 2015 at 09:11:11AM +, Jean-Pierre Ribeauville wrote: Hello, Does it exist some documentation concerning following topic ? What's difference between following perf counters : /cgroup/cpuacct/libvirt/qemu/test/cpuacct.usage and /cgroup/cpuacct/libvirt/qemu/test/emulator/cpuac

Re: [libvirt-users] Cannot boot libvirt guests with OVMF. Raw qemu-kvm works as expected

2015-08-03 Thread Martin Kletzander
On Mon, Aug 03, 2015 at 03:39:30PM -0700, Ryan Barry wrote: On 08/03/2015 01:43 PM, Ryan Barry wrote: Using: edk2.git-0-20150803.b1141.ga0973dc.x86_64 edk2.git-ovmf-x64-0-20150802.b1139.gb234418.noarch On Fedora 22. Provisioning a i440FX system in virt-manager and attempting to boot results i

  1   2   3   4   >