On 03.09.2012 17:07, Peter Krempa wrote:
> When the password change failed we updated the graphic definition
> anyways, which is not desired.
> ---
> src/qemu/qemu_hotplug.c | 5 +
> 1 file changed, 5 insertions(+)
>
ACK
Michal
--
libvir-list mailing list
libvir-list@redhat.com
https://www
On 03.09.2012 20:49, Laine Stump wrote:
> On 09/03/2012 11:52 AM, Shradha Shah wrote:
>> Hello All,
>>
>> I wanted to ask a question regarding the tests that are run during make
>> check.
>>
>> If a particular test fails when running make check, how do we which test
>> failed
>> and why?
>
> The
Hi all,
I have create a Thin lvm and installed a guest os on it,
Now when i cloned that lvm using virt-clone
# virt-clone --prompt --force --original lvm_thin1 --name lvm_thin2 --file
/dev/volgrp/lvm_thin2
The cloned Disk lvm_thin2 size is fully expanded , But I want a thin Lvm cloned
image
On 09/04/12 09:03, Michal Privoznik wrote:
On 03.09.2012 17:07, Peter Krempa wrote:
When the password change failed we updated the graphic definition
anyways, which is not desired.
---
src/qemu/qemu_hotplug.c | 5 +
1 file changed, 5 insertions(+)
ACK
Pushed. Thanks!
Peter
--
libv
On 09/02/2012 01:53 PM, Jagath Weerasinghe wrote:
> Hi All,
>
> Can a VM connected as IEEE802.1Qbh be migrated to a destination host
> as it were connected as IEEE802.1Qbg? What I wanted to know is, is it
> possible to change the configuration from IEEE802.1Qbh to IEEE802.1Qbg
> on the fly?
>
II
This patch sets cpuset.cpus to the lastest value for lxc driver when the driver
is being initialized, and registers 2 cpu hotplug handlers for lxc driver:
- lxcNetlinkCpuHotplugHandleCallback()
- lxcNetlinkCpuHotplugRemoveCallback()
Signed-off-by: Tang Chen
---
src/lxc/lxc_driver.c | 6
It seems that libvirt is not cpu hotplug aware.
Please refer to the following problem.
1. At first, we have 2 cpus.
# cat /cgroup/cpuset/cpuset.cpus
0-1
# cat /cgroup/cpuset/libvirt/qemu/cpuset.cpus
0-1
2. And we have a vm1 with following configuration.
3. Offline cpu1.
# echo
This patch adds some helpers to support cpu hotplug in libvirt.
virHotplugGetCpuidFromMsg():
Get cpuid from cpu hotplug netlink message. The message is of the following
format:
{online|offline}@/devices/system/cpu/cpuxx (xx is cpuid)
virHotplugUpdateCgroupCpuset():
Update the cpus
This patch sets cpuset.cpus to lastest for qemu driver when the driver
is being initialized, and then registers 2 cpu hotplug events handlers
for qemu driver:
- qemuNetlinkCpuHotplugHandleCallback()
- qemuNetlinkCpuHotplugRemoveCallback()
Signed-off-by: Tang Chen
---
src/qemu/qemu_driver
This patch first sets cpuset.cpus to lastest value for libvirtd,
and then registers 2 callback for cpu hotplug event for libvirtd:
- daemonNetlinkCpuHotplugHandleCallback()
- daemonNetlinkCpuHotplugRemoveCallback()
Signed-off-by: Tang Chen
---
daemon/libvirtd.c| 62
On Mon, Sep 03, 2012 at 06:29:47PM +0800, Osier Yang wrote:
> On 2012年08月29日 14:44, Daniel P. Berrange wrote:
> >On Wed, Aug 29, 2012 at 01:29:37AM -0400, Alex Jia wrote:
> >>ACK.
> >>
> >>--
> >>Regards,
> >>Alex
> >>
> >>
> >>- Original Message -
> >>From: "Osier Yang"
> >>To: libvir-list
On Mon, Sep 03, 2012 at 12:57:50PM -0300, Marcelo Cerri wrote:
> Hi,
>
> I was discussing with Jiri Denemark about the current behavior of
> none seclabels with multiple security drivers and I'd like to hear
> more opinions about how this should work.
>
> Currently, a none security label can be d
On Tue, Sep 04, 2012 at 10:22:56 +0100, Daniel P. Berrange wrote:
> On Mon, Sep 03, 2012 at 12:57:50PM -0300, Marcelo Cerri wrote:
> > Hi,
> >
> > I was discussing with Jiri Denemark about the current behavior of
> > none seclabels with multiple security drivers and I'd like to hear
> > more opini
On Tue, Sep 04, 2012 at 11:28:19AM +0200, Jiri Denemark wrote:
> On Tue, Sep 04, 2012 at 10:22:56 +0100, Daniel P. Berrange wrote:
> > On Mon, Sep 03, 2012 at 12:57:50PM -0300, Marcelo Cerri wrote:
> > > Hi,
> > >
> > > I was discussing with Jiri Denemark about the current behavior of
> > > none s
Hi everyone,
I'm not sure if this belongs here, I sent a question to the users list
yesterday without getting a response, so I'm trying here.
I have storage-pool that for some reason became inactive (possibly due to
an error with pool-refresh in an old version of a Java API binding).
I want to r
On Tue, Sep 04, 2012 at 10:31:54 +0100, Daniel P. Berrange wrote:
> On Tue, Sep 04, 2012 at 11:28:19AM +0200, Jiri Denemark wrote:
> > On Tue, Sep 04, 2012 at 10:22:56 +0100, Daniel P. Berrange wrote:
> > > On Mon, Sep 03, 2012 at 12:57:50PM -0300, Marcelo Cerri wrote:
> > > >
> > > > So, my quest
On Tue, Sep 04, 2012 at 12:00:33PM +0200, Jiri Denemark wrote:
> On Tue, Sep 04, 2012 at 10:31:54 +0100, Daniel P. Berrange wrote:
> > On Tue, Sep 04, 2012 at 11:28:19AM +0200, Jiri Denemark wrote:
> > > On Tue, Sep 04, 2012 at 10:22:56 +0100, Daniel P. Berrange wrote:
> > > > On Mon, Sep 03, 2012
On Mon, Sep 03, 2012 at 02:23:24PM +0800, liguang wrote:
> allow migration even domain isn't active by
> inserting some stubs to tunnel migration path.
>
> Signed-off-by: liguang
> ---
> src/qemu/qemu_driver.c|2 +-
> src/qemu/qemu_migration.c | 181
> +++
When reboot using qemu guest agent was requested, qemu driver kept
waiting for SHUTDOWN event from qemu. However, such event is never
emitted during guest reboot and qemu driver would keep waiting forever.
---
src/qemu/qemu_agent.c | 5 -
src/qemu/qemu_agent.h | 3 ++-
src/qemu/qemu_proces
Hi,
We found the problem, and the solution as well.
The problem was that there was inconsistency in the gluster storage volume
which was underneath the libvirt storage pool. One file in multiple
locations with different sizes. After this fixing those inconsistencies
pool-start worked correctly.
B
On 04.09.2012 13:14, Jiri Denemark wrote:
> When reboot using qemu guest agent was requested, qemu driver kept
> waiting for SHUTDOWN event from qemu. However, such event is never
> emitted during guest reboot and qemu driver would keep waiting forever.
> ---
> src/qemu/qemu_agent.c | 5 -
>
On 09/03/2012 03:07 PM, Doug Goldstein wrote:
> On Mon, Sep 3, 2012 at 7:03 AM, Ján Tomko wrote:
>> QEMU (since 1.2-rc0) supports setting up a syscall whitelist through
>> libseccomp on linux kernel from 3.5-rc1. This is enabled by specifying
>> -sandbox on on qemu command line.
>
>
>
> There's
Hi Experts,
I am compiling libvirt 0.9.9 on Solaris 9. But got following errors when run
"./configure --with-esx --with-qemu"
---
checking for library containing dlopen... -ldl
checking for xen_vm_
Hello.
# Avi Kivity avi(a)redhat recommended I copy kvm in on this. It would also seem
relevent to libvirt. #
I have a Centos 6.2 server and Centos 6.2 client.
[root@store ~]# cat /etc/exports
/dev/shm
10.149.0.0/16(rw,fsid=1,no_root_squash,insecure)(I have
On Tue, Sep 04, 2012 at 11:14:35 +0100, Daniel P. Berrange wrote:
> On Tue, Sep 04, 2012 at 12:00:33PM +0200, Jiri Denemark wrote:
>
> I don't think that description of existing behaviour is accurate. With old
> libvirt you have one (for SELinux/AppArmour), but secretly there
> are 2 security dri
On Tue, Sep 04, 2012 at 01:43:43PM +0200, Jiri Denemark wrote:
> On Tue, Sep 04, 2012 at 11:14:35 +0100, Daniel P. Berrange wrote:
> > On Tue, Sep 04, 2012 at 12:00:33PM +0200, Jiri Denemark wrote:
> >
> > I don't think that description of existing behaviour is accurate. With old
> > libvirt you h
On 08/31/2012 03:33 PM, Viktor Mihajlovski wrote:
On 08/30/2012 07:37 PM, Daniel P. Berrange wrote:
How about using this:
Regards,
Daniel
That is perfectly fine with me. Any other suggestions for a v2 patch?
Hi Daniel,
since the original patch went upstream with : do you want
me to
On Tue, Sep 04, 2012 at 01:57:00PM +0200, Viktor Mihajlovski wrote:
> On 08/31/2012 03:33 PM, Viktor Mihajlovski wrote:
> >On 08/30/2012 07:37 PM, Daniel P. Berrange wrote:
> >
> >>How about using this:
> >>
> >>
> >>
> >>Regards,
> >>Daniel
> >>
> >
> >That is perfectly fine with me. Any other
On Tue, 2012-09-04 at 11:31 +0200, Andrew Holway wrote:
> Hello.
>
> # Avi Kivity avi(a)redhat recommended I copy kvm in on this. It would also
> seem relevent to libvirt. #
>
> I have a Centos 6.2 server and Centos 6.2 client.
>
> [root@store ~]# cat /etc/exports
> /dev/shm
On Fri, Aug 31, 2012 at 03:56:58PM -0700, Eric Blake wrote:
> Commit 2a41bc9 dropped a dependency on gawk, but we can go one step
> further and avoid awk altogether.
>
> * src/nwfilter/nwfilter_ebiptables_driver.c
> (iptablesLinkIPTablesBaseChain): Simplify command.
> (ebiptablesDriverInit, ebipta
On Tue, Sep 04, 2012 at 12:50:55 +0100, Daniel P. Berrange wrote:
> When I think of upgrade issues, i consider the scenario where the new
> libvirt is configured in the same way as the old livirt, and we need
> to make sure the guest behaviour remains the same. This scenario you
> describe obviousl
On Tue, Sep 04, 2012 at 13:46:05 +0200, Michal Privoznik wrote:
> On 04.09.2012 13:14, Jiri Denemark wrote:
> > When reboot using qemu guest agent was requested, qemu driver kept
> > waiting for SHUTDOWN event from qemu. However, such event is never
> > emitted during guest reboot and qemu driver w
Explicit the fact that it sets the maximum domain memory.
---
libvirt-gconfig/libvirt-gconfig-domain.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-domain.c
b/libvirt-gconfig/libvirt-gconfig-domain.c
index 2ca478f..e6f22bd 100644
--- a
This is useful when you want to set the content of the current node.
---
libvirt-gconfig/libvirt-gconfig-object.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-object.c
b/libvirt-gconfig/libvirt-gconfig-object.c
index a7352a5..ac054
gvir_config_[gs]et_memory have an optional 'unit' attribute which
indicates the unit used to express the memory size. This commit
adds support for parsing this unit, and adjusting the returned
value accordingly.
---
libvirt-gconfig/libvirt-gconfig-domain.c | 81 ++--
1
libvirt will insert a node when setting the domain
maximum memory. If we want to be able to later increase the domain
maximum memory, libvirt-gconfig needs to be able to set this
currentMemory node as well, otherwise this will cap the available
memory in the domain.
---
libvirt-gconfig/libvirt-gc
>
> That is expected behaviour. DIRECT_IO over RDMA needs to be page aligned
> so that it can use the more efficient RDMA READ and RDMA WRITE memory
> semantics (instead of the SEND/RECEIVE channel semantics).
Yes, I think I am understanding that now.
I need to find a way of getting around the l
On Tue, Sep 04, 2012 at 04:45:16PM +0800, Tang Chen wrote:
> It seems that libvirt is not cpu hotplug aware.
> Please refer to the following problem.
>
> 1. At first, we have 2 cpus.
> # cat /cgroup/cpuset/cpuset.cpus
> 0-1
> # cat /cgroup/cpuset/libvirt/qemu/cpuset.cpus
> 0-1
>
> 2. And we hav
The quota and period tunables for cpu scheduler accept only a certain
range of values. When changing the live configuration invalid values get
rejected. This check is not performed when changing persistent config.
This patch adds a separate range check, that improves error messages
when changing l
This patch tries to clean the code up a little bit and shorten very long
lines.
---
src/qemu/qemu_driver.c | 69 +++---
1 file changed, 31 insertions(+), 38 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index b12d9bc..4b8b751
Peter Krempa (2):
qemu: clean up qemuSetSchedulerParametersFlags()
qemu: Add range checking for scheduler tunables
src/qemu/qemu_driver.c | 96 ++
1 file changed, 58 insertions(+), 38 deletions(-)
--
1.7.12
--
libvir-list mailing list
libvir-
As a request was raised for this, I added few lines in the "Notes"
part of the "security_driver" comments about allowed values.
---
The related bug for this patch is here:
https://bugzilla.redhat.com/show_bug.cgi?id=853925
src/qemu/qemu.conf | 5 -
1 file changed, 4 insertions(+), 1 deletion(
The command 'dompmwakeup' can wakeup any pmsuspended domain, not only
domains suspended previously by dompmsuspend and this patch fixed the
man page and help string for that.
---
tools/virsh-domain.c | 6 +++---
tools/virsh.pod | 7 ---
2 files changed, 7 insertions(+), 6 deletions(-)
di
This is another fix for the emulator-pin series. When going through
the cputune pinning settings, the current code is trying to pin all
the CPUs, even when not all of them are specified. This causes error
in the subsequent function which, of course, cannot find the cpu to
pin. Since it's enough to
After discussion with DB we decided to rename the new iolimit
element as it creates the impression it would be there to
limit (i.e. throttle) I/O instead of specifying immutable
characteristics of a block device.
This is also backed by the fact that the term I/O Limits has
vanished from newer stora
On 09/04/2012 08:12 AM, Peter Krempa wrote:
> This patch tries to clean the code up a little bit and shorten very long
> lines.
> ---
> src/qemu/qemu_driver.c | 69
> +++---
> 1 file changed, 31 insertions(+), 38 deletions(-)
>
> diff --git a/src/qemu/
>From b53dc971cc50b5ac397e4568449d25041477c8d6 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse
Date: Tue, 4 Sep 2012 16:47:26 +0200
Subject: [PATCH] Pass a correct pointer type to localtime_r(3).
Fixes a warning:
warning: passing argument 1 of 'localtime_r' from incompatible pointer type
On 09/04/2012 08:23 AM, Martin Kletzander wrote:
> As a request was raised for this, I added few lines in the "Notes"
> part of the "security_driver" comments about allowed values.
> ---
> The related bug for this patch is here:
> https://bugzilla.redhat.com/show_bug.cgi?id=853925
>
> src/qemu/qe
>From 05dd99030d865127c874d1b489b9c17412bdbb3b Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse
Date: Tue, 4 Sep 2012 16:48:51 +0200
Subject: [PATCH] Define DYNLIB_NAME on OpenBSD.
---
src/vbox/vbox_XPCOMCGlue.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sr
On 09/04/2012 08:23 AM, Martin Kletzander wrote:
> The command 'dompmwakeup' can wakeup any pmsuspended domain, not only
> domains suspended previously by dompmsuspend and this patch fixed the
> man page and help string for that.
> ---
> tools/virsh-domain.c | 6 +++---
> tools/virsh.pod | 7
On 09/04/2012 08:30 AM, Viktor Mihajlovski wrote:
> After discussion with DB we decided to rename the new iolimit
> element as it creates the impression it would be there to
> limit (i.e. throttle) I/O instead of specifying immutable
> characteristics of a block device.
> This is also backed by the
FYI, these patches and those I will send later supersede the previous patchsets
I sent yesterday for fixing and making libvirt work on OpenBSD.
On Tue, Sep 04, 2012 at 04:49:52PM +0200, Jasper Lievisse Adriaanse wrote:
> >From b53dc971cc50b5ac397e4568449d25041477c8d6 Mon Sep 17 00:00:00 2001
> Fro
On 09/04/2012 02:20 AM, yue wang wrote:
> it seems the 'generic ethernet connection' network doesn't have the
> 'virtualport ' element, so there is no way to associate it with an
> interface's uuid.
> are there any workaround?
See the other reply I just sent (I thought I'd typed it up yesterday,
On 09/04/2012 08:12 AM, Peter Krempa wrote:
> The quota and period tunables for cpu scheduler accept only a certain
> range of values. When changing the live configuration invalid values get
> rejected. This check is not performed when changing persistent config.
>
> This patch adds a separate ran
>From 0f352c0577f76a64924636a8c9ba72de5862b6d6 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse
Date: Tue, 4 Sep 2012 16:59:55 +0200
Subject: [PATCH] Use sockpeercred on OpenBSD.
---
src/rpc/virnetsocket.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/rp
>From bafcb4ed2b90b5ba845ca6b61861e3caa548b16a Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse
Date: Tue, 4 Sep 2012 16:57:09 +0200
Subject: [PATCH] Include some extra headers needed for OpenBSD.
---
src/util/virnetdevbridge.c |9 +
1 files changed, 9 insertions(+), 0 deleti
Now that we're after the release it would be time to get this series
finished up. Could you please post a rebased version (There will be some
problem probably after splitting virsh) so that we can get this wrapped
up early in the devel phase.
Also, I'd like to ask you to send it split by new A
>From bdf3bce37531ec346474bc5c4f37a5d2985d1d35 Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse
Date: Tue, 4 Sep 2012 17:03:43 +0200
Subject: [PATCH] Don't link with -lrt on OpenBSD
---
configure.ac |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/configure
Only VNC_{{DIS,}CONNECTED,INITIALIZED} and SPICE_INITIALIZED events are
documented to support server/auth field and even there it is marked as
optional. Emit "" auth scheme in case QEMU didn't send it.
---
src/qemu/qemu_monitor_json.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
dif
On 09/03/2012 06:41 AM, yue wang wrote:
>
>
> Hi:
>
>
> i used to use linux bridge and specify interfaces
> by 'Generic ethernet connection' mode,after
> reading this page:
>
>
> http://libvirt.org/f
On 2012年09月04日 23:04, Peter Krempa wrote:
Now that we're after the release it would be time to get this series
finished up. Could you please post a rebased version (There will be some
problem probably after splitting virsh) so that we can get this wrapped
up early in the devel phase.
Actually I
On 09/04/2012 04:29 AM, Martin Kletzander wrote:
> On 09/02/2012 01:53 PM, Jagath Weerasinghe wrote:
>> Hi All,
>>
>> Can a VM connected as IEEE802.1Qbh be migrated to a destination host
>> as it were connected as IEEE802.1Qbg? What I wanted to know is, is it
>> possible to change the configuration
On 08/22/2012 11:47 AM, Eric Blake wrote:
> On 08/22/2012 11:39 AM, Eric Blake wrote:
>> On 08/22/2012 10:59 AM, Gene Czarcinski wrote:
>>> As I said in a previous message, dnsmasq is forwarding a number of
>>> queries upstream that should not be done. There still remains an MX
>>> query for a pla
src/conf/storage_conf.c: Add virStoragePoolMatch to filter the
pools; Add virStoragePoolList to iterate over the pool objects
with filter.
src/conf/storage_conf.h: Declare virStoragePoolMatch,
virStoragePoolList, and the macros for filters.
src/libvirt_private.syms: Export helper virStoragePoolLi
Think the subject tells enough after 3 rounds, so ommits words here.
v3 - v4:
* Just rebase on the top:
- Version changes
- rebase after virsh split cleanups
1/10 ~ 2/10 are ACK'ed in v3, but for easy viewing, they are still
posted.
Osier Yang (10):
list: Define new API virStorageLis
The RPC generator doesn't support returning list of object, this patch do
the work manually.
* daemon/remote.c:
Implement the server side handler remoteDispatchConnectListAllStoragePools
* src/remote/remote_driver.c:
Add remote driver handler remoteConnectListAllStoragePools.
* src
src/test/test_driver.c: Implement listAllStoragePools
---
src/test/test_driver.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index aa4418a..1504251 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_
On 09/04/2012 08:57 AM, Jasper Lievisse Adriaanse wrote:
>>From bafcb4ed2b90b5ba845ca6b61861e3caa548b16a Mon Sep 17 00:00:00 2001
> From: Jasper Lievisse Adriaanse
> Date: Tue, 4 Sep 2012 16:57:09 +0200
> Subject: [PATCH] Include some extra headers needed for OpenBSD.
>
> ---
> src/util/virnetde
src/storage/storage_driver.c: Implement listAllStoragePools.
---
src/storage/storage_driver.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c
index 3dc66db..4f99eb9 100644
--- a/src/storage/stora
Move definition of MATCH from virsh-domain-monitor.c into
virsh.h for further use.
---
tools/virsh-domain-monitor.c |2 --
tools/virsh.h|2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c
index 7e
This introduces a new API to list the storage pool objects,
4 groups of flags are provided to filter the returned pools:
* Active or not
* Autostarting or not
* Persistent or not
* And the pool type.
include/libvirt/libvirt.h.in: New enum virConnectListAllStoragePoolFlags;
tools/virsh-pool.c:
* vshStoragePoolSorter to sort the pool list by pool name.
* struct vshStoragePoolList to present the pool list, pool info
is collected by list->poolinfo if 'details' is specified by
user.
* vshStoragePoolListFree to free the pool list
* vshStoragePoolListColl
tools/virsh.c: New helper function vshStringToArray.
tools/virsh.h: Declare vshStringToArray.
tools/virsh-domain.c: use the helper in cmdUndefine.
---
tools/virsh-domain.c | 19 ++-
tools/virsh.c| 44
tools/virsh.h|
The storage pool's management doesn't relate with a domain, it
probably was an intention, but not achieved yet. And the fact
is only active pools are listed by default.
---
tools/virsh.pod |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/tools/virsh.pod b/tools/virs
[adding bug-gnulib]
On 09/04/2012 08:49 AM, Jasper Lievisse Adriaanse wrote:
>>From b53dc971cc50b5ac397e4568449d25041477c8d6 Mon Sep 17 00:00:00 2001
> From: Jasper Lievisse Adriaanse
> Date: Tue, 4 Sep 2012 16:47:26 +0200
> Subject: [PATCH] Pass a correct pointer type to localtime_r(3).
>
> Fix
The implementation is done manually as the generator does not support
wrapping lists of C pointers into Python objects.
python/libvirt-override-api.xml: Document
python/libvirt-override-virConnect.py: Add listAllStoragePools
python/libvirt-override.c: Implementation for the wrapper.
---
python/li
On 09/04/2012 09:04 AM, Jasper Lievisse Adriaanse wrote:
>>From bdf3bce37531ec346474bc5c4f37a5d2985d1d35 Mon Sep 17 00:00:00 2001
> From: Jasper Lievisse Adriaanse
> Date: Tue, 4 Sep 2012 17:03:43 +0200
> Subject: [PATCH] Don't link with -lrt on OpenBSD
>
> ---
> configure.ac |8 +++-
>
On 3 September 2012 20:05, Eric Blake wrote:
> On 09/03/2012 06:39 AM, Rahul Bansal wrote:
>
> [Please don't top-post on technical lists.]
>
> > I ran 'sudo make install' in /path/to/libvirt. But same error is coming.
> > Maybe following will be helpful:
> > -> I extracted the libvirt.0.10.1 in ~
On 09/04/2012 09:00 AM, Jasper Lievisse Adriaanse wrote:
>>From 0f352c0577f76a64924636a8c9ba72de5862b6d6 Mon Sep 17 00:00:00 2001
> From: Jasper Lievisse Adriaanse
> Date: Tue, 4 Sep 2012 16:59:55 +0200
> Subject: [PATCH] Use sockpeercred on OpenBSD.
>
> ---
> src/rpc/virnetsocket.c |4
The implementation is done manually as the generator does not support
wrapping lists of C pointers into Python objects.
python/libvirt-override-api.xml: Document
python/libvirt-override-virStoragePool.py:
* New file, includes implementation of listAllVolumes.
python/libvirt-override.c: Impleme
The RPC generator doesn't returning support list of object, this
patch do the work manually.
* daemon/remote.c:
Implemente the server side handler remoteDispatchStoragePoolListAllVolumes
* src/remote/remote_driver.c:
Add remote driver handler remoteStoragePoolListAllVolumes
* src/r
src/test/test_driver.c: Implement poolListAllVolumes.
---
src/test/test_driver.c | 67
1 files changed, 67 insertions(+), 0 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 1504251..8d93129 100644
--- a/src/test/tes
src/storage/storage_driver.c: Implement poolListAllVolumes.
---
src/storage/storage_driver.c | 67 ++
1 files changed, 67 insertions(+), 0 deletions(-)
diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c
index 4f99eb9..4f83348 100644
tools/virsh-volume.c:
* vshStorageVolSorter to sort storage vols by name
* vshStorageVolumeListFree to free the volume objects list
* vshStorageVolumeListCollect to collect the volume objects, trying
to use new API first, fall back to older APIs if it's not supported.
---
tools/virsh-v
v3 - v4:
* Just rebase on the top, and split each API from the big set.
Osier Yang (6):
list: Define new API virStoragePoolListAllVolumes
list: Implemente RPC calls for virStoragePoolListAllVolumes
list: Implement virStoragePoolListAllVolumes for storage driver
list: Implement virStorage
Simply returns the storage volume objects. No supported filter
flags.
include/libvirt/libvirt.h.in: Declare the API
python/generator.py: Skip the function for generating. virStoragePool.py
will be added in later patch.
src/driver.h: virDrvStoragePoolListVolumesFlags
src/libvir
On 09/04/2012 09:03 AM, Jiri Denemark wrote:
> Only VNC_{{DIS,}CONNECTED,INITIALIZED} and SPICE_INITIALIZED events are
> documented to support server/auth field and even there it is marked as
> optional. Emit "" auth scheme in case QEMU didn't send it.
> ---
> src/qemu/qemu_monitor_json.c | 5 +++-
This is to list the network objects, supported filtering flags
are: active|inactive, persistent|transient, autostart|no-autostart.
include/libvirt/libvirt.h.in: Declare enum virConnectListAllNetworkFlags
and virConnectListAllNetworks.
python/generator.py: Skip auto-ge
src/conf/network_conf.c: Add virNetworkMatch to filter the networks;
and virNetworkList to iterate over all the networks with the filter.
src/conf/network_conf.h: Declare virNetworkList and define the macros
for filters.
src/libvirt_private.syms: Export virNetworkList.
---
src/conf/network_conf.
src/network/bridge_driver.c: Implement listAllNetworks.
---
src/network/bridge_driver.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 53eebed..73ad43f 100644
--- a/src/network/bridge_driver.
src/test/test_driver.c: Implement listAllNetworks.
---
src/test/test_driver.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 8d93129..821cf72 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_dri
tools/virsh-network.c:
* vshNetworkSorter to sort networks by name
* vshNetworkListFree to free the network objects list.
* vshNetworkListCollect to collect the network objects, trying
to use new API first, fall back to older APIs if it's not supported.
* New options --persistent, --
The RPC generator doesn't support returning list of object, this patch
do the work manually.
* daemon/remote.c:
Implemente the server side handler remoteDispatchConnectListAllNetworks.
* src/remote/remote_driver.c:
Add remote driver handler remoteConnectListAllNetworks.
* src/remote/remote_p
v3 - v4:
- Just rebase on top, and split the API from the big set
Osier Yang (7):
list: Define new API virConnectListAllNetworks
list: Implement RPC calls for virConnectListAllNetworks
list: Add helpers to list network objects
list: Implement listAllNetworks for network driver
list: Im
The implementation is done manually as the generator does not support
wrapping lists of C pointers into Python objects.
python/libvirt-override-api.xml: Document
python/libvirt-override-virConnect.py: Implement listAllNetworks.
python/libvirt-override.c: Implementation for the wrapper.
---
pyth
v3 - v4:
- Just rebase on the top, split the API from v3's big set.
Osier Yang (5):
list: Define new API virConnectListAllInterfaces
list: Implemente RPC calls for virConnectListAllInterfaces
list: Implement listAllInterfaces
list: Use virConnectListAllInterfaces in virsh
list: Expose
This is not that ideal as API for other objects, as it's still
O(n). Because interface driver uses netcf APIs to manage the
stuffs, instead of by itself. And netcf APIs don't return a object.
It provides APIs like old libvirt APIs:
ncf_number_of_interfaces
ncf_list_interfaces
ncf_lookup_b
The RPC generator doesn't support returning list of object yet, this patch
do the work manually.
* daemon/remote.c:
Implemente the server side handler remoteDispatchConnectListAllInterfaces.
* src/remote/remote_driver.c:
Add remote driver handler remoteConnectListAllInterfaces.
* s
The implementation is done manually as the generator does not support
wrapping lists of C pointers into Python objects.
python/libvirt-override-api.xml: Document
python/libvirt-override-virConnect.py:
* New file, includes implementation of listAllInterfaces.
python/libvirt-override.c: Implemen
tools/virsh-interface.c:
* vshInterfaceSorter to sort interfaces by name
* vshInterfaceListFree to free the interface objects list.
* vshInterfaceListCollect to collect the interface objects, trying
to use new API first, fall back to older APIs if it's not supported.
---
tools/virsh-in
1 - 100 of 161 matches
Mail list logo