Re: [libvirt] [PATCH 3/4] Fix QEMU save/restore with block devices

2010-04-25 Thread Laine Stump
On 04/24/2010 12:50 AM, Laine Stump wrote: Is it really necessary to add this padding even when we *aren't* using dd? (ie, when is_reg == 1). Nevermind. Now that I've actual RTFC, I see that this new code *always* use dd. However, I just noticed an SELinux complaint about dd attempting to

[libvirt] [PATCH] esx: Distribute generated methods code

2010-04-25 Thread Matthias Bolte
--- src/Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 17b2226..00ab65d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -255,6 +255,8 @@ ESX_DRIVER_SOURCES = \

[libvirt] [PATCH] cygwin: Handle differences in the XDR implementation

2010-04-25 Thread Matthias Bolte
Cygwin's XDR implementation defines xdr_u_int64_t instead of xdr_uint64_t and lacks IXDR_PUT_INT32/IXDR_GET_INT32. Alter the IXDR_GET_LONG regex in rpcgen_fix.pl so it doesn't destroy the #define IXDR_GET_INT32 IXDR_GET_LONG in remote_protocol.x. Also fix the remote_protocol.h regex in

[libvirt] [PATCH] Cygwin's GCC doesn't like this .sa_handler initialization for some reason

2010-04-25 Thread Matthias Bolte
--- examples/domain-events/events-c/event-test.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/domain-events/events-c/event-test.c b/examples/domain-events/events-c/event-test.c index 53a3195..74eabba 100644 ---

Re: [libvirt] [Qemu-devel] Re: Libvirt debug API

2010-04-25 Thread Avi Kivity
On 04/25/2010 06:39 AM, Anthony Liguori wrote: On 04/24/2010 04:46 AM, Avi Kivity wrote: On 04/23/2010 09:29 PM, Anthony Liguori wrote: Maybe. We'll still have issues. For example, sVirt: if a QMP command names a labeled resource, the non-libvirt user will have no way of knowing how to

Re: [libvirt] [Qemu-devel] Re: Libvirt debug API

2010-04-25 Thread Avi Kivity
On 04/23/2010 09:33 PM, Anthony Liguori wrote: This is a different ambiguity, about the semantic results of the commands, where as I'm refering to the execution order. If I look at a libvirt log file and see a set of JSON commands logged, I want to know that this ordering from the logs, was

Re: [libvirt] [Qemu-devel] Re: Libvirt debug API

2010-04-25 Thread Anthony Liguori
On 04/25/2010 06:51 AM, Avi Kivity wrote: It depends on what things you think are important. A lot of libvirt's complexity is based on the fact that it uses a daemon and needs to deal with the security implications of that. You don't need explicit labelling if you don't use a daemon. I

[libvirt] virsh is not working for other than root users.

2010-04-25 Thread Kumar L Srikanth-B22348
Hi, I am using libvirt 0.8.0 on Fedora 32 bit system. When I issue virsh -c lxc:/// with root permissions I m able to see 'virsh' console. But, if I changed to other user say su srikanth, and issue the same command, I am not able to see the virsh console. I am getting authentication failed