* add libvirt_list_active_storagepools & libvirt_list_inactive_storagepools
* modified EXTRA_DIST for necessary files
* generate libvirt-php.spec from .in file
* bug fix for memeory leak
---
Makefile.am |2 +-
configure.ac|1 +
libvirt-php.spec| 82 ---
> > > +
> > > +driver = dom->conn->privateData;
> > > +qemuDriverLock(driver);
> > > +vm = virDomainFindByUUID(&driver->domains, dom->uuid);
> > > +if (!vm) {
> > > +qemuReportError(VIR_ERR_NO_DOMAIN, _("cannot find domain '%s'"),
> > > +dom->name);
>
Currently a single storage volume with a broken backing file will disable the
whole storage pool. This can happen when the backing file is on some
unavailable network storage or if the backing volume is deleted, while the
storage volumes using it are not.
Since the storage pool then can not be re-
Currently a single storage volume with a broken backing file will disable the
whole storage pool. This can happen when the backing file is on some
unavailable network storage or if the backing volume is deleted, while the
storage volumes using it are not.
Since the storage pool then can not be re-a
Replace wrong "set" by correct "seek" in error message.
Signed-off-by: Philipp Hahn
---
src/util/storage_file.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/storage_file.c b/src/util/storage_file.c
index 4faa99d..62dad0d 100644
--- a/src/util/storage_file.c
Currently a single storage volume with a broken backing file will disable the
whole storage pool. This can happen when the backing file is on some
unavailable network storage or if the backing volume is deleted, while the
storage volumes using it are not.
Since the storage pool then can not be re-a
On Thu, 24 Feb 2011 14:47:00 +0800
Hu Tao wrote:
> On Thu, Feb 24, 2011 at 01:08:40PM +0900, KAMEZAWA Hiroyuki wrote:
> > >From b06da6d9b4ee996046af72a81c89b90852372e53 Mon Sep 17 00:00:00 2001
> > From: KAMEZAWA Hiroyuki
> > Date: Thu, 24 Feb 2011 13:08:54 +0900
> > Subject: [PATCH 2/2] libvirt
Thank you for review.
On Thu, 24 Feb 2011 14:25:24 +0800
Hu Tao wrote:
> On Thu, Feb 24, 2011 at 01:06:36PM +0900, KAMEZAWA Hiroyuki wrote:
> > >From d6c65102224c493f67008b6521b0115d798f5a67 Mon Sep 17 00:00:00 2001
> > From: KAMEZAWA Hiroyuki
> > Date: Thu, 24 Feb 2011 12:14:25 +0900
> > Subj
On Thu, Feb 24, 2011 at 01:08:40PM +0900, KAMEZAWA Hiroyuki wrote:
> >From b06da6d9b4ee996046af72a81c89b90852372e53 Mon Sep 17 00:00:00 2001
> From: KAMEZAWA Hiroyuki
> Date: Thu, 24 Feb 2011 13:08:54 +0900
> Subject: [PATCH 2/2] libvirt/qemu : support attach/detach-interface
> --persistent with
On Thu, Feb 24, 2011 at 01:06:36PM +0900, KAMEZAWA Hiroyuki wrote:
> >From d6c65102224c493f67008b6521b0115d798f5a67 Mon Sep 17 00:00:00 2001
> From: KAMEZAWA Hiroyuki
> Date: Thu, 24 Feb 2011 12:14:25 +0900
> Subject: [PATCH 1/2] libvirt/qemu - support updating inactive domains.
>
> Now, virsh at
>From b06da6d9b4ee996046af72a81c89b90852372e53 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki
Date: Thu, 24 Feb 2011 13:08:54 +0900
Subject: [PATCH 2/2] libvirt/qemu : support attach/detach-interface
--persistent with qemu
Now, virsh attach/detach-interface have --persistent option for
updatin
>From d6c65102224c493f67008b6521b0115d798f5a67 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki
Date: Thu, 24 Feb 2011 12:14:25 +0900
Subject: [PATCH 1/2] libvirt/qemu - support updating inactive domains.
Now, virsh attach-disk/detach-disk has --persistent option and
it can update XML definition
LinkedIn
I'd like to add you to my professional network on LinkedIn.
- Lyre
Lyre Li
Engineer at Skybility
China
Confirm that you know Lyre Li
https://www.linkedin.com/e/k4zv0-gkj412ae-3z/isd/2389916274/QzDJLaNZ/
--
(c) 2011, LinkedIn Corporation--
libvir-list mailing list
On Wed, Feb 23, 2011 at 11:27:06AM +, Daniel P. Berrange wrote:
> On Wed, Feb 23, 2011 at 03:26:30PM +0800, Daniel Veillard wrote:
> > On Tue, Feb 22, 2011 at 11:17:05AM -0700, Eric Blake wrote:
> > > On 02/22/2011 10:55 AM, Daniel P. Berrange wrote:
> > > > The virCgroupKill method kills all P
On 02/23/2011 03:49 PM, Shi Jin wrote:
Hi there,
> From http://wiki.libvirt.org/page/FAQ, it says:
Network interface management: Any host running the libvirt daemon can be used to manage
physical and logical network interfaces. Enumerate existing interfaces, as well as
configure (and create) i
On Wed, 23 Feb 2011 17:22:27 +0800
Hu Tao wrote:
> libvirt uses spaces for indention, but the patches use tabs in
> several lines. make syntax-check will complains about this.
>
Thank you for pointing out, I'll fix.
Thanks,
-Kame
--
libvir-list mailing list
libvir-list@redhat.com
https://www.r
* src/util/cgroup.c (virCgroupAllowDevicePath)
(virCgroupDenyDevicePath): Don't fail with EINVAL for
non-devices.
* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Update caller.
* src/qemu/qemu_cgroup.c (qemuSetupDiskPathAllow)
(qemuSetupChardevCgroup, qemuSetupHostUsbDeviceCgroup)
(qemuSetupCgroup,
* src/qemu/qemu_audit.h (qemuDomainCgroupAudit): New prototype.
* src/qemu/qemu_audit.c (qemuDomainCgroupAudit): Implement it.
* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Add audit.
* src/qemu/qemu_cgroup.c (qemuSetupDiskPathAllow)
(qemuSetupChardevCgroup, qemuSetupHostUsbDeviceCgroup)
(qemuSet
* src/qemu/qemu_audit.h (qemuDomainMemoryAudit)
(qemuDomainVcpuAudit): New prototypes.
* src/qemu/qemu_audit.c (qemuDomainResourceAudit)
(qemuDomainMemoryAudit, qemuDomainVcpuAudit): New functions.
(qemuDomainStartAudit): Call as appropriate.
* src/qemu/qemu_driver.c (qemudDomainSetMemory)
(qemudDo
I'm following up on danpb's patches to add initial audit support to
qemu actions (see around commit 8dc136b in Oct 2010). This series
adds the following additional audit points:
All changes to the device ACL whitelist via the cgroup device controller
All changes to memory balloon and vcpu sizes
Al
* src/qemu/qemu_audit.h (qemuDomainHostdevAudit): New prototype.
* src/qemu/qemu_audit.c (qemuDomainHostdevAudit): New function.
(qemuDomainStartAudit): Call as appropriate.
* src/qemu/qemu_hotplug.c (qemuDomainAttachHostPciDevice)
(qemuDomainAttachHostUsbDevice, qemuDomainDetachHostPciDevice)
(qem
* src/qemu/qemu_cgroup.h (struct qemuCgroupData): New helper type.
(qemuSetupDiskPathAllow, qemuSetupChardevCgroup)
(qemuTeardownDiskPathDeny): Drop unneeded prototypes.
(qemuSetupDiskCgroup, qemuTeardownDiskCgroup): Adjust prototype.
* src/qemu/qemu_cgroup.c
(qemuSetupDiskPathAllow, qemuSetupChard
Hi,
On Tue, Feb 22, 2011 at 05:54:31PM +, Daniel P. Berrange wrote:
> +virHashTablePtr virHashCreateFull(int size, virHashDeallocator deallocator,
> + virHashCode code, virHashEqual equal,
> + virHashCopy copy, virHashRelease re
On 02/23/2011 10:20 AM, Daniel P. Berrange wrote:
> Using the 'personality(2)' system call, we can make a container
> on an x86_64 host appear to be i686. Likewise for most other
> Linux 64bit arches.
>
> * src/lxc/lxc_conf.c: Fill in 32bit capabilities for x86_64 hosts
> * src/lxc/lxc_container.h
Hi there,
>From http://wiki.libvirt.org/page/FAQ, it says:
Network interface management: Any host running the libvirt daemon can be used
to manage physical and logical network interfaces. Enumerate existing
interfaces, as well as configure (and create) interfaces, bridges, vlans, and
bond devic
Paolo Bonzini writes ("[Xen-devel] Re: [PATCH V2] Add libxenlight driver"):
> On 02/23/2011 03:56 AM, Jim Fehlig wrote:
> > Add a new xen driver based on libxenlight [1], which is the primary
> > toolstack starting with Xen 4.1.0. The driver is stateful, runs
> > privileged only, and is accessed w
Using the 'personality(2)' system call, we can make a container
on an x86_64 host appear to be i686. Likewise for most other
Linux 64bit arches.
* src/lxc/lxc_conf.c: Fill in 32bit capabilities for x86_64 hosts
* src/lxc/lxc_container.h, src/lxc/lxc_container.c: Add API to
check if an arch has a
On 02/22/2011 10:12 AM, Фёдор Пранович wrote:
Hi I want use the virDomainInterfaceStats for get statistic of domain,
but I don't now how get path parametr.
Please help me!
The path argument in virDomainInterfaceStats() is intended to be the
name of the tap interface on the host that's used to
On 02/23/2011 08:11 AM, Daniel P. Berrange wrote:
>> Huh, dispatch.c doesn't include "internal.h". Nor does dispatch.h or
>> remote.h. This only compiled because you included "memory.h", which
>> eventually included "internal.h".
>
> I'm not really seeing that as a problem. This is true for anyt
On Wed, Feb 23, 2011 at 08:02:01AM -0700, Eric Blake wrote:
> On 02/23/2011 05:14 AM, Daniel P. Berrange wrote:
> > Remove the header from all source files / headers
> > and just put it into internal.h
> >
> > * src/internal.h: Add
>
> I was about to ACK this, but then I did a spot check:
>
>
On 02/23/2011 05:14 AM, Daniel P. Berrange wrote:
> Remove the header from all source files / headers
> and just put it into internal.h
>
> * src/internal.h: Add
I was about to ACK this, but then I did a spot check:
>
> diff --git a/daemon/dispatch.c b/daemon/dispatch.c
> index 3397a00..dc3b4
On Wed, Feb 23, 2011 at 07:58:36AM -0700, Eric Blake wrote:
> On 02/23/2011 04:23 AM, Daniel P. Berrange wrote:
> > On Tue, Feb 22, 2011 at 11:17:05AM -0700, Eric Blake wrote:
> >> On 02/22/2011 10:55 AM, Daniel P. Berrange wrote:
> >>> The virCgroupKill method kills all PIDs found in a cgroup
> >>
On 02/23/2011 04:23 AM, Daniel P. Berrange wrote:
> On Tue, Feb 22, 2011 at 11:17:05AM -0700, Eric Blake wrote:
>> On 02/22/2011 10:55 AM, Daniel P. Berrange wrote:
>>> The virCgroupKill method kills all PIDs found in a cgroup
>>>
>>> The virCgroupKillRecursively method does this recursively
>>> fo
Hi
so I ran these tests again. No patch applied yet. And - at least once -
it worked. I did everything exactly the same way as before. Since the
logs are 8 MB, even when best-bzip2'd, and I don't want everybody to
have to download these, I uploaded them to an external hoster:
http://www.megaupload
Quoting Daniel P. Berrange (berra...@redhat.com):
> On Fri, Feb 18, 2011 at 03:48:29PM -0600, Serge E. Hallyn wrote:
> > Quoting ape...@gmail.com (ape...@gmail.com):
> > > From: Alan Pevec
> > =
> > # libvirt-cgred-wait
> > start on starting libvirt-bin
Remove the header from all source files / headers
and just put it into internal.h
* src/internal.h: Add
---
daemon/dispatch.c |1 -
src/conf/capabilities.h|2 --
src/conf/nwfilter_conf.h |1 -
src/conf/storage_encryption_conf.h |1 -
src/dr
On Tue, Feb 22, 2011 at 04:16:50PM -0700, Eric Blake wrote:
> On 02/22/2011 10:54 AM, Daniel P. Berrange wrote:
> > Relax the restriction that the hash table key must be a string
> > by allowing an arbitrary hash code generator + comparison func
> > to be provided
> >
> > * util/hash.c, util/hash.
On Wed, Feb 23, 2011 at 03:26:30PM +0800, Daniel Veillard wrote:
> On Tue, Feb 22, 2011 at 11:17:05AM -0700, Eric Blake wrote:
> > On 02/22/2011 10:55 AM, Daniel P. Berrange wrote:
> > > The virCgroupKill method kills all PIDs found in a cgroup
> > >
> > > The virCgroupKillRecursively method does
On Tue, Feb 22, 2011 at 11:17:05AM -0700, Eric Blake wrote:
> On 02/22/2011 10:55 AM, Daniel P. Berrange wrote:
> > The virCgroupKill method kills all PIDs found in a cgroup
> >
> > The virCgroupKillRecursively method does this recursively
> > for child cgroups.
> >
> > The virCgroupKillPainfully
On Wed, Feb 23, 2011 at 11:57:45AM +0100, Paolo Bonzini wrote:
> On 02/23/2011 03:56 AM, Jim Fehlig wrote:
> >Add a new xen driver based on libxenlight [1], which is the primary
> >toolstack starting with Xen 4.1.0. The driver is stateful, runs
> >privileged only, and is accessed with libxl:/// UR
On 02/23/2011 03:56 AM, Jim Fehlig wrote:
Add a new xen driver based on libxenlight [1], which is the primary
toolstack starting with Xen 4.1.0. The driver is stateful, runs
privileged only, and is accessed with libxl:/// URI.
Why not let the user keep xen:/// ?
Paolo
--
libvir-list mailing
libvirt uses spaces for indention, but the patches use tabs in
several lines. make syntax-check will complains about this.
--
Thanks,
Hu Tao
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
>From 3307d7228ea3c47884d626584db646d23a5a22ce Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki
Date: Wed, 23 Feb 2011 17:25:07 +0900
Subject: [PATCH 2/2] libvirt/qemu : allow persistent modification of netifs via
A(De)ttachDeviceFlags
This patch allows virsh attach/detach-interface --persistent
Sorry, pervious mail was sent to wrong list...
==
>From 030135224dd6563af0fb8615dc6a4b8e6084410d Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki
Date: Wed, 23 Feb 2011 15:25:26 +0900
Subject: [PATCH 1/2] libvirt/qemu : support attach/detach-disk --persistent
Now, only Xen supports 'virsh attach/
On 02/23/2011 05:30 AM, Daniel Veillard wrote:
On Tue, Feb 22, 2011 at 11:16:29AM +0100, Michal Privoznik wrote:
Problem is, if user does not specify mac address in input XML,
we generate a random one, which is why device-detach fails giving
a confusing error message. Therefore needs to be requ
45 matches
Mail list logo