The address sets (pci, ccw, virtio serial) are currently cached
in qemu private data, but all the information required to recreate
these sets is in the domain definition. Therefore I am removing
the redundant data and adding a way to recalculate these sets.
Add a function that calculates the pci
The address sets (pci, ccw, virtio serial) are currently cached
in qemu private data, but all the information required to recreate
these sets is in the domain definition. Therefore I am removing
the redundant data and adding a way to recalculate these sets.
Add a function that calculates the ccw
Dropping the caching of ccw address set.
The cached set is not required anymore, because the set is now being
recalculated from the domain definition on demand, so the cache
can be deleted.
---
src/qemu/qemu_domain.c | 1 -
src/qemu/qemu_domain.h | 1 -
Dropping the caching of virtio serial address set.
Instead of using the cached address set, a function in qemu_hotplug.c
now recalculates it on demand.
Credit goes to Cole Robinson.
---
src/qemu/qemu_hotplug.c | 38 ++
1 file changed, 26 insertions(+), 12
Since address sets are now recalculated on demand instead of being
cached, there's no need for functions that release addresses.
---
src/conf/domain_addr.c | 100 ---
src/conf/domain_addr.h | 16
src/libvirt_private.syms | 3 --
3 files
The cached pci address set is not required anymore, because the set
is now being recalculated from the domain definition on demand,
so the cache can be deleted.
---
src/qemu/qemu_domain.c | 1 -
src/qemu/qemu_domain.h | 1 -
src/qemu/qemu_domain_address.c | 16 +++-
From: Tomasz Flendrich
These patches delete the caching of pci, virtioSerial and ccw address sets.
I am deleting them, because they can be recalculated from the domain definition,
and there's no point in keeping redundant data, especially because handling
a
Dropping the caching of pci address set.
Instead of using the cached address set, functions in qemu_hotplug.c
now recalculate it on demand.
---
src/qemu/qemu_domain_address.c | 6 --
src/qemu/qemu_hotplug.c| 47 +++---
2 files changed, 39
Dropping the caching of ccw address set.
Instead of using the cached address set, functions in qemu_hotplug.c
now recalculate it on demand.
---
src/qemu/qemu_hotplug.c | 26 +-
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c
The address sets (pci, ccw, virtio serial) are currently cached
in qemu private data, but all the information required to recreate
these sets is in the domain definition. Therefore I am removing
the redundant data and adding a way to recalculate these sets.
Add a function that calculates the
Dropping the caching of virtio serial address set.
The cached set is not required anymore, because the set is now being
recalculated from the domain definition on demand, so the cache
can be deleted.
Credit goes to Cole Robinson.
---
src/qemu/qemu_domain.c | 1 -
src/qemu/qemu_domain.h
On 07/20/2016 04:48 PM, Joao Martins wrote:
> Introduce initial support for domainBlockStats API call that
> allow us to query block device statistics. openstack nova
> uses this API call to query block statistics, alongside
> virDomainMemoryStats and virDomainInterfaceStats. Note that
> this
On Thu, Jul 21, 2016 at 08:38:17PM +0200, Tomasz Flendrich wrote:
[…]
But the problem is that you are not checking any assignment. The code
is not executed at all. That's because you specify 'target dev=' from
which we're trying to guess the right address.
Because
There's a plan to rework the address handling, so testcases
that verify hotplugging ccw devices will help in avoiding
regression.
In this commit, some files are duplicated because of the way
qemuhotplug.c calculates the expected xml filenames.
I plan on changing that to explicitly stating the
On Fri, Jul 22, 2016 at 01:34:09PM +0100, Zeeshan Ali (Khattak) wrote:
>
> Thanks. If there is a way to also set the address to send emails to,
> I'll gladly drop my commands (actually they are git aliases).
That's git config sendemail.to f...@example.com
Christophe
signature.asc
Description:
On Fri, Jul 22, 2016 at 09:14:50AM -0400, John Ferlan wrote:
>
> ping. Even if the answer is - let's not fix this...
I don't think we want todo this. The method where you're putting the
sleep(1) is called from the libvirt main event loop. So that's going
to add major stalls in processing other
John Ferlan [2016-07-22, 12:58PM +0200]:
[...]
Ahh - the success case. I was reading as the failure and goto case
probably because of the commit message.
Yeah, I probably should have explained this explicitly in the commit
message, sorry about that.
So ACK to the patch
ping. Even if the answer is - let's not fix this...
Tks -
John
On 06/29/2016 05:43 PM, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1319544
>
> During processing of a vport_create event, udevEventHandleCallback
> will call udevProcessSCSIHost to read the fibre channel
From: Christophe Fergeau
They will be useful to do more checks in the GVirDomainDeviceHostdev
unit test.
---
.../libvirt-gconfig-domain-address-pci.c | 45 ++
.../libvirt-gconfig-domain-address-pci.h | 5 +++
Add API to read and write PCI hostdev nodes.
---
libvirt-gconfig/Makefile.am| 2 +
.../libvirt-gconfig-domain-hostdev-pci.c | 232 +
.../libvirt-gconfig-domain-hostdev-pci.h | 81 +++
Add API to read and write domain/devices/hostdev nodes. This patch only
adds the baseclass and hence is not useful on it's own. A more specific
subclass to represent PCI devices will be added in a following patch.
---
libvirt-gconfig/Makefile.am| 2 +
From: Christophe Fergeau
---
libvirt-gconfig/libvirt-gconfig-object-private.h | 2 ++
libvirt-gconfig/libvirt-gconfig-object.c | 13 +
2 files changed, 15 insertions(+)
diff --git a/libvirt-gconfig/libvirt-gconfig-object-private.h
---
tests/test-gconfig.c| 43 +
tests/xml/gconfig-domain-device-pci-hostdev.xml | 11 +++
2 files changed, 54 insertions(+)
create mode 100644 tests/xml/gconfig-domain-device-pci-hostdev.xml
diff --git a/tests/test-gconfig.c
On Fri, Jul 22, 2016 at 01:42:44PM +0200, Peter Krempa wrote:
> On Fri, Jul 22, 2016 at 12:08:45 +0200, Guido Günther wrote:
> > We have a qemuMonitorDriveDel now so use it
> > ---
> > src/qemu/qemu_hotplug.c | 9 +
> > 1 file changed, 5 insertions(+), 4 deletions(-)
> >
> > diff --git
Hi,
On Fri, Jul 22, 2016 at 10:27 AM, Christophe Fergeau
wrote:
> On Thu, Jul 21, 2016 at 06:11:36PM +0100, Zeeshan Ali (Khattak) wrote:
>> Hi,
>>
>> On Mon, Jul 18, 2016 at 3:54 PM, Christophe Fergeau
>> wrote:
>> > Please add a gconfig: prefix to the
fixed another way in
https://www.redhat.com/archives/libvir-list/2016-July/msg00208.html,
so closed
On 29.06.2016 15:22, Nikolay Shirokovskiy wrote:
> Signed-off-by: Nikolay Shirokovskiy
> ---
> src/qemu/qemu_hotplug.c | 8
> 1 file changed, 4
On 07/22/2016 06:09 AM, Guido Günther wrote:
> ---
> src/security/virt-aa-helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
> index bdead57..49e12b9 100644
> --- a/src/security/virt-aa-helper.c
> +++
On 07/22/2016 06:08 AM, Guido Günther wrote:
> There is a drive_del in QEMU so we should use it.
>
> Guido Günther (2):
> qemu: attempt to delete disk when SCSI attach failed
> qemu: attempt to delete disk when USB mass storage attach failed
>
> src/qemu/qemu_hotplug.c | 24
On Fri, Jul 22, 2016 at 12:08:45 +0200, Guido Günther wrote:
> We have a qemuMonitorDriveDel now so use it
> ---
> src/qemu/qemu_hotplug.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
> index e8a30d5..6232a0e
On 07/21/2016 07:43 AM, Bjoern Walk wrote:
> John Ferlan [2016-07-21, 12:23PM +0200]:
>>
>>
>> On 07/08/2016 06:30 AM, Bjoern Walk wrote:
>>> Since return code is checked globally at the end of the function, let's
>>> make sure that we set it correctly at any point.
>>>
>>>
On 22 Jul 2016, at 10:13, Daniel P. Berrange wrote:
> On Wed, Jul 20, 2016 at 03:11:51PM +0100, Justin Clift wrote:
>> On 20 Jul 2016, at 14:46, Andrea Bolognani wrote:
>>> The symbol being missing has been reported as causing build
>>> failures on OS X.
On Fri, Jul 22, 2016 at 15:14:47 +0530, Prasanna Kalever wrote:
> On Fri, Jul 22, 2016 at 2:03 PM, Peter Krempa wrote:
> > On Fri, Jul 22, 2016 at 13:50:28 +0530, Prasanna Kumar Kalever wrote:
> >> These series of patches are rebased on latest master;
> >> The dependent QEMU
We have a qemuMonitorDriveDel now so use it
---
src/qemu/qemu_hotplug.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 6232a0e..87c208b 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
We have a qemuMonitorDriveDel now so use it
---
src/qemu/qemu_hotplug.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index e8a30d5..6232a0e 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@
There is a drive_del in QEMU so we should use it.
Guido Günther (2):
qemu: attempt to delete disk when SCSI attach failed
qemu: attempt to delete disk when USB mass storage attach failed
src/qemu/qemu_hotplug.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
---
src/security/virt-aa-helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index bdead57..49e12b9 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -107,7 +107,7 @@
On Fri, Jul 22, 2016 at 01:50:29PM +0530, Prasanna Kumar Kalever wrote:
> This patch adds support for initialization of gluster backend
> with multiple servers which acts as gluster volfile servers for
> the gluster storage backend.
>
> This will help in achieving high availability of gluster
On Fri, Jul 22, 2016 at 2:03 PM, Peter Krempa wrote:
> On Fri, Jul 22, 2016 at 13:50:28 +0530, Prasanna Kumar Kalever wrote:
>> These series of patches are rebased on latest master;
>> The dependent QEMU patches are now merged on master targeting for 2.7
>
> I actually started
On Thu, Jul 21, 2016 at 06:11:36PM +0100, Zeeshan Ali (Khattak) wrote:
> Hi,
>
> On Mon, Jul 18, 2016 at 3:54 PM, Christophe Fergeau
> wrote:
> > Please add a gconfig: prefix to the subject line.
>
> I have a custom git command to add 'libvirt-glib' prefix but I keep
>
On Wed, Jul 20, 2016 at 03:11:46PM +0300, Nikolay Shirokovskiy wrote:
> This patch reflects cases when element and its
> subelement for network type are formated based on actual type resolved
> from referenced network instead of original one. networkAllocateActualDevice
> and
On Wed, Jul 20, 2016 at 03:11:45PM +0300, Nikolay Shirokovskiy wrote:
> ---
> docs/schemas/domaincommon.rng | 3 +++
> 1 file changed, 3 insertions(+)
ACK
Regards,
Daniel
--
|: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o-
On Wed, Jul 20, 2016 at 02:56:41PM +0200, Martin Kletzander wrote:
> So commit 306b3a8504 tried mimicking behaviour of commit 540c339a25, but
> added a virObjectRef(vm) only after virDomainObjListAdd() in
> lxcDomainDefineXMLFlags() and not in lxcDomainCreateXMLWithFiles().
> That way undefining a
On Wed, Jul 20, 2016 at 03:11:51PM +0100, Justin Clift wrote:
> On 20 Jul 2016, at 14:46, Andrea Bolognani wrote:
> > The symbol being missing has been reported as causing build
> > failures on OS X. If it's not already defined, define it to
> > zero so that it won't have any
On Wed, Jul 20, 2016 at 03:46:56PM +0200, Andrea Bolognani wrote:
> The symbol being missing has been reported as causing build
> failures on OS X. If it's not already defined, define it to
> zero so that it won't have any effect.
> ---
> Changes from v2:
>
> * define MSG_NOSIGNAL to zero if
On Thu, Jul 21, 2016 at 03:37:22PM +, Katerina Koukiou wrote:
> This patch series adds support for saving an running lxc domain's state into
> files with lxcDomainSave and restore afterwards from files with
> lxcDomainRestore.
> Usage: virsh save [domain-name] [domain-id or domain-uuid]
On Thu, Jul 21, 2016 at 03:37:27PM +, Katerina Koukiou wrote:
> Add support for saving an lxc domain's state into files with lxcDomainSave
> and restore from file with lxcDomainRestore.
> Usage: virsh save [domain-name] [domain-id or domain-uuid] [directory name]
>
> Signed-off-by: Katerina
On Thu, Jul 21, 2016 at 03:37:26PM +, Katerina Koukiou wrote:
> When doing lxc migration or simply restoring the container from a
> saved state, we need restore the container from CRIU img files that
> we have stored in disk. In this patch, we should extend
> lxcContainerStart into a more
On Thu, Jul 21, 2016 at 03:37:25PM +, Katerina Koukiou wrote:
> This patch adds some helper functions for checkpointing/restoring
> linux containers. We use CRIU binary.
>
> Signed-off-by: Katerina Koukiou
> ---
> po/POTFILES.in | 1 +
> src/Makefile.am| 3
On Thu, Jul 21, 2016 at 03:37:24PM +, Katerina Koukiou wrote:
> This patch forces container's init process, to become a session leader,
> that is its session ID is made the same as its process ID.
> That might seem unnecessary in general, but if we want to checkpoint a
> container with CRIU,
On Fri, Jul 22, 2016 at 13:50:28 +0530, Prasanna Kumar Kalever wrote:
> These series of patches are rebased on latest master;
> The dependent QEMU patches are now merged on master targeting for 2.7
I actually started implementing this already. The precursor for this
series is the JSON backing
On Thu, Jul 21, 2016 at 03:37:23PM +, Katerina Koukiou wrote:
> Check for CRIU binary in autotools. This binary is needed
> for checkpointing/restoring linux containers.
>
> Signed-off-by: Katerina Koukiou
> ---
> configure.ac | 8
> 1 file changed, 8
On Fri, Jul 22, 2016 at 01:50:30PM +0530, Prasanna Kumar Kalever wrote:
> This patch adds support for gluster specific JSON formatter functionality
>
> currently libvirt has the capability to parse only one host and convert that
> into URI formatted string, with the help of this patch libvirt
This patch adds support for initialization of gluster backend
with multiple servers which acts as gluster volfile servers for
the gluster storage backend.
This will help in achieving high availability of gluster backend
connectivity via libgfapi i.e. when the first volfile server fails,
then
These series of patches are rebased on latest master;
The dependent QEMU patches are now merged on master targeting for 2.7
Prasanna Kumar Kalever (3):
storage: add gluster backend initialization support for multiple
servers
qemu: add support for multiple gluster hosts/servers
util:
This patch adds support for gluster specific JSON formatter functionality
currently libvirt has the capability to parse only one host and convert that
into URI formatted string, with the help of this patch libvirt will be able
to parse multiple hosts from the domain xml and can convert that into
This patch adds support for gluster specific JSON parser functionality
This will help in parsing the backing store which uses JSON syntax and update
the meta-data in the domain specific objects while taking snapshots which inturn
helps in successful creation/updation of backing store information
56 matches
Mail list logo