[libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Nehal J. Wani
Could anyone please list out the steps required to run the command $virsh qemu-agent-command Steps that I followed: 1. Clone the latest source code of libvirt 2. Create a vm of f18 (source:liveCD) 3. Edit f18 domain xml and add this: channel type='unix' source mode='bind'

Re: [libvirt] [PATCH] Document security reporting handling process

2013-06-17 Thread Jason Helfman
On Tue, Jun 4, 2013 at 9:29 AM, Roman Bogorodskiy bogorods...@gmail.comwrote: Daniel P. Berrange wrote: On Tue, Jun 04, 2013 at 09:33:15AM -0600, Eric Blake wrote: On 06/04/2013 04:06 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Historically

Re: [libvirt] libvirtd 1.0.6 refuses to start

2013-06-17 Thread Osier Yang
On 12/06/13 15:49, Michal Privoznik wrote: On 11.06.2013 16:59, Franky Van Liedekerke wrote: I just downloaded and compiled libvirtd on the same server as I did 1.0.4. Upon updating, libvirtd refuses to start, with this in the logfile (obfuscated the hostname by xxx's): 2013-06-11

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Osier Yang
On 17/06/13 14:00, Nehal J. Wani wrote: Could anyone please list out the steps required to run the command $virsh qemu-agent-command Steps that I followed: 1. Clone the latest source code of libvirt 2. Create a vm of f18 (source:liveCD) 3. Edit f18 domain xml and add this: channel type='unix'

Re: [libvirt] libvirtd 1.0.6 refuses to start

2013-06-17 Thread Ján Tomko
On 06/17/2013 09:05 AM, Osier Yang wrote: On 12/06/13 15:49, Michal Privoznik wrote: On 11.06.2013 16:59, Franky Van Liedekerke wrote: So it seems two issues are present here: 1) it searches for /sys/class/fc_host//host0/max_npiv_vports for both host1 and host2. Imho this path needs to be

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Nehal J. Wani
The error: # ./tools/virsh qemu-agent-command f18 '{execute:guest-network-get-interfaces}' error: unknown procedure: 3 Comes when I clone from $git clone git://libvirt.org/libvirt.git But when I download http://libvirt.org/sources/libvirt-1.0.6.tar.gz and make, I get: # ./tools/virsh

Re: [libvirt] libvirtd 1.0.6 refuses to start

2013-06-17 Thread Osier Yang
On 17/06/13 15:23, Ján Tomko wrote: On 06/17/2013 09:05 AM, Osier Yang wrote: On 12/06/13 15:49, Michal Privoznik wrote: On 11.06.2013 16:59, Franky Van Liedekerke wrote: So it seems two issues are present here: 1) it searches for /sys/class/fc_host//host0/max_npiv_vports for both host1 and

Re: [libvirt] [PATCH 1/7] storage: rework qemu-img command line generation

2013-06-17 Thread Ján Tomko
On 06/10/2013 04:12 PM, Martin Kletzander wrote: On 06/10/2013 02:10 PM, Ján Tomko wrote: Split out option string generation to make adding new options easier and simplify the code. --- src/storage/storage_backend.c | 111 ++ 1 file changed, 59

Re: [libvirt] [PATCH V2] Expose all CPU features in host definition

2013-06-17 Thread Jiri Denemark
On Fri, Jun 14, 2013 at 12:32:35 -0600, Don Dugger wrote: On Fri, Jun 14, 2013 at 03:06:52PM +0200, Jiri Denemark wrote: I was just trying to say that it doesn't provide anything more than it's supported by the host CPU, which gives mostly no value in the context of libvirt. Can you explain

[libvirt] [PATCH] check return values of virBufferTrim

2013-06-17 Thread Ján Tomko
Just to silence Coverity: Event check_return: Calling function virBufferTrim(virBufferPtr, char const *, int) without checking return value (as is done elsewhere 5 out of 6 times). --- src/node_device/node_device_udev.c | 5 ++--- src/rpc/virnetsshsession.c | 3 +-- 2 files changed, 3

[libvirt] libvirt compliation from git source fails with gnulib/tests/Makefile.in' not found error

2013-06-17 Thread chandrashekar shastri
Hi, I am compiling the libvirt from source and I am getting the following error: Don't forget to - include gnulib.mk from within gnulib/lib/Makefile.am, - include gnulib.mk from within gnulib/tests/Makefile.am, - mention -I gnulib/m4 in ACLOCAL_AMFLAGS in Makefile.am, - mention

Re: [libvirt] [RFC] conf: Order of AddImplicitControllers and DomainDefPostParse

2013-06-17 Thread Martin Kletzander
On 06/14/2013 02:34 PM, Viktor Mihajlovski wrote: Implicit controllers may be dependent on device definitions altered in a post-parse callback. E.g., if a console device is defined without the target type, the type will be set in QEMU's callback. In the case of s390, this is virtio, which

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Michal Privoznik
On 17.06.2013 09:21, Nehal J. Wani wrote: The error: # ./tools/virsh qemu-agent-command f18 '{execute:guest-network-get-interfaces}' error: unknown procedure: 3 Comes when I clone from $git clone git://libvirt.org/libvirt.git But when I download

[libvirt] [PATCH] python: virConnect: fix destructor

2013-06-17 Thread Sandro Bonazzola
Fixed virConnect destructor checking for attribute existance before trying to use it. Avoids: Exception AttributeError: AttributeError(virConnect instance has no attribute 'domainEventCallbacks',) in bound method virConnect.__del__ of libvirt.virConnect instance at 0x4280f38 ignored However,

Re: [libvirt] [PATCH 0/2] Support setting the 'removable' flag for USB disks

2013-06-17 Thread anonym
Bump! Also: 31/05/13 16:23, Fred A. Kemp wrote: For reference, my first attempt at a patch for this feature was: 1363682454-32012-1-git-send-email-ano...@lavabit.com On second thought, an archive link might be a better reference for people that doesn't keep old emails in the inbox for very

Re: [libvirt] Unable to setup qemu-guest-agent

2013-06-17 Thread Nehal J. Wani
I was able to solve the error. It was a stupid mistake. There was a mismatch between versions of virsh and the libvirt daemon. On Mon, Jun 17, 2013 at 3:56 PM, Michal Privoznik mpriv...@redhat.comwrote: On 17.06.2013 09:21, Nehal J. Wani wrote: The error: # ./tools/virsh qemu-agent-command

Re: [libvirt] [PATCH] Move virGetUserEnt() to where its needed

2013-06-17 Thread Michal Privoznik
On 16.06.2013 23:45, Doug Goldstein wrote: In the first if case, virGetUserEnt() isn't necessary so don't bother calling it before determining we need it. --- Found this trying to get libvirtd running happily on my Mac OS X machine for qemu. Unfortunately it appears virGetUserEnt() is always

Re: [libvirt] [PATCH] check return values of virBufferTrim

2013-06-17 Thread Michal Privoznik
On 17.06.2013 10:34, Ján Tomko wrote: Just to silence Coverity: Event check_return: Calling function virBufferTrim(virBufferPtr, char const *, int) without checking return value (as is done elsewhere 5 out of 6 times). --- src/node_device/node_device_udev.c | 5 ++---

Re: [libvirt] [PATCH] check return values of virBufferTrim

2013-06-17 Thread Ján Tomko
On 06/17/2013 02:15 PM, Michal Privoznik wrote: On 17.06.2013 10:34, Ján Tomko wrote: Just to silence Coverity: Event check_return: Calling function virBufferTrim(virBufferPtr, char const *, int) without checking return value (as is done elsewhere 5 out of 6 times). ---

Re: [libvirt] [PATCH] check return values of virBufferTrim

2013-06-17 Thread Michal Privoznik
On 17.06.2013 14:53, Ján Tomko wrote: On 06/17/2013 02:15 PM, Michal Privoznik wrote: On 17.06.2013 10:34, Ján Tomko wrote: Just to silence Coverity: Event check_return: Calling function virBufferTrim(virBufferPtr, char const *, int) without checking return value (as is done elsewhere 5 out

[libvirt] [PATCHv2 2/2] conf: Swap order of AddImplicitControllers and DomainDefPostParse

2013-06-17 Thread Viktor Mihajlovski
Implicit controllers may be dependent on device definitions altered in a post-parse callback. Specifically, if a console device is defined without the target type, the type will be set in QEMU's callback. In the case of s390, this is virtio, which requires an implicit virtio-serial controller.

[libvirt] [PATCHv2 1/2] S390: Testcase for console default target type (virtio)

2013-06-17 Thread Viktor Mihajlovski
For s390 the default console target type is virtio. This also requires that an implicit virtio-serial controller is instantiated. This testcase verifies that the target type of virtio is correctly set in the generated XML if no target element was given and that the corresponding virtio-serial

[libvirt] [PATCHv2 0/2] Swap order of AddImplicitControllers and DomainDefPostParse

2013-06-17 Thread Viktor Mihajlovski
Implicit controllers may be dependent on device definitions altered in a post-parse callback. E.g., if a console device is defined without the target type, the type will be set in QEMU's callback. In the case of s390, this is virtio, which requires an implicit virtio-serial controller. By moving

[libvirt] libvirt-python API for domdisplay

2013-06-17 Thread mzawdx
Hi all: Work with virsh CLI, I can easy use the CLI virsh -c qemu+tcp://127.0.0.1/system domdisplay instance-0001 successfully: [root@webmintest ~]# virsh -c qemu+tcp://127.0.0.1/system domdisplay instance-0001 Please enter your authentication name: fred Please enter your

Re: [libvirt] libvirt-python API for domdisplay

2013-06-17 Thread Michal Privoznik
On 17.06.2013 17:19, mzawdx wrote: Hi all: Work with virsh CLI, I can easy use the CLI virsh -c qemu+tcp://127.0.0.1/system domdisplay instance-0001 successfully: [root@webmintest ~]# virsh -c qemu+tcp://127.0.0.1/system domdisplay instance-0001 Please enter your

[libvirt] [PATCH] spec: Enable KVM support on ARM

2013-06-17 Thread Cole Robinson
F20/rawhide has will support this. From: Peter Robinson pbrobin...@gmail.com --- libvirt.spec.in | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 8d43e6d..e357a3d 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -54,7 +54,11 @@

Re: [libvirt] [PATCHv4] Configure native vlan modes on Open vSwitch ports

2013-06-17 Thread james robson
Are there any comments on this iteration? On Thu, 2013-05-23 at 18:12 +0100, james robson wrote: This patch adds functionality to allow libvirt to configure the 'native-tagged' and 'native-untagged' modes on openvswitch networks. v2 changes: Fix problems reported by Eric Blake v3

Re: [libvirt] [PATCHv4] Configure native vlan modes on Open vSwitch ports

2013-06-17 Thread Laine Stump
On 06/17/2013 01:56 PM, james robson wrote: Are there any comments on this iteration? Sorry, it somehow got lost in my unread list mail. I'll do my best to review it before the end of the week. On Thu, 2013-05-23 at 18:12 +0100, james robson wrote: This patch adds functionality to allow