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 patch only introduces it for VBD for starters. QDisk
On 07/18/2016 12:15 PM, Ján Tomko wrote:
> Patches 1-2 from v4 are pushed already.
>
> Patch 5/8 is new, adding new tests.
> Patches 6/8 and 8/8 have not been ACKed in the previous version.
>
>
> Ján Tomko (8):
> Introduce virDomainUSBAddressSet
> Add functions for adding USB controllers
20-Jul-16 18:00, Nikolay Shirokovskiy пишет:
diff from original:
1. include patch to check domain status on acquiring job condition
2. add patch to fix domain objects naming (update device patch
series which was created before convention was enstablished
sneak
Hey,
This small series implements host cpu description in caps, by getting
topology and xen hwcaps parsing done, followed by having
cpu-{compare,baseline} APIs implemented. Last thing missing I think it
would be to libxl_cpuid_set the features to enable/disable whichever
format we choose plus the
Akin to previous commit but for "virsh cpu-baseline" which
computes a baseline CPU for a set of host cpu elements.
Signed-off-by: Joao Martins
---
src/libxl/libxl_driver.c | 22 ++
1 file changed, 22 insertions(+)
diff --git
Add support for describing cpu topology in host cpu element. In doing
so, refactor hwcaps part to its own helper namely libxlCapsInitCPU to
handle all host cpu related operations, including topology.
Signed-off-by: Joao Martins
---
src/libxl/libxl_capabilities.c | 46
Parse libxl_hwcap accounting for versions since Xen 4.4 - Xen 4.7.
libxl_hwcaps is a set of cpuid leaves output that is described in [0] or
[1] in Xen 4.7. This is a collection of CPUID leaves that we version
in libvirt whenever feature words are reordered or added. Thus we keep the
common ones in
Implement support for "virsh cpu-compare" so that we can calculate
common cpu element between a pool of hosts, which had a requirement
of providing host cpu description.
Signed-off-by: Joao Martins
---
src/libxl/libxl_driver.c | 38
Current vz driver implementation is not usable when it comes to
long runnig operations. Migration or saving a domain blocks all
other operations even query ones which are expecteted to be available.
This patch address this problem.
All vz driver API calls fall into next 3 groups:
1. only
sdk domain handle is unique per connection so there is
no sense to query it again if we have it in vzDomObjPtr.
Side effect of prlsdkSdkDomainLookupByUUID is refreshing
domain config is of no use too as PrlVm_BeginEdit do it too.
---
src/vz/vz_sdk.c | 14 --
1 file changed, 4
This patch is not critical but nice to have. The original motivation
was error message in logs on undefining domain thru vz driver.
Undefine procedure drops domain lock while waiting for detaching
disks vz sdk call. Meanwhile vz sdk event domain-config-changed
arrives, its handler finds domain
---
src/vz/vz_sdk.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index 6b5adbf..5390ead 100644
--- a/src/vz/vz_sdk.c
+++ b/src/vz/vz_sdk.c
@@ -2036,7 +2036,6 @@ prlsdkHandleVmAddedEvent(vzDriverPtr driver,
unsigned char *uuid)
{
see 4385b868
---
src/vz/vz_driver.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index c12832c..2ad3d94 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -1208,38 +1208,38 @@
diff from original:
1. include patch to check domain status on acquiring job condition
2. add patch to fix domain objects naming (update device patch
series which was created before convention was enstablished
sneak in)
3. squash in all quickfixes
4. rename
I'm seeing this compilation warning on Fedora 24, with
wireshark-devel-2.1.0-3.fc24.x86_64 which has the header file fix that was
previously breaking compilation:
CC wireshark/src/wireshark_src_libvirt_la-packet-libvirt.lo
CC wireshark/src/wireshark_src_libvirt_la-plugin.lo
CCLD
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 effect.
> ---
> Changes from v2:
>
> * define MSG_NOSIGNAL to zero
On Wed, 2016-07-20 at 14:17 +0100, Daniel P. Berrange wrote:
> On Tue, Jul 19, 2016 at 07:04:36PM +0200, Andrea Bolognani wrote:
> >
> > On Tue, 2016-07-19 at 16:17 +0200, Andrea Bolognani wrote:
> > >
> > > Commit 8156493d8db9 changed libvirt so that '-device pci-ohci'
> > > would be used
On Wed, 2016-07-20 at 14:49 +0100, Justin Clift wrote:
> > v3 coming right up!
>
> Trivial side thought... since this isn't a "configure" patch any more, should
> the title for the patch be adjusted? ;)
Definitely! Luckily, I realized that on my own before sending
out v3 and making a fool of
---
daemon/libvirtd.h| 2 +
daemon/remote.c | 206 +++
src/remote/remote_driver.c | 139 +
src/remote/remote_protocol.x | 43 -
src/remote_protocol-structs | 19
5 files changed, 408
---
examples/object-events/event-test.c | 68 +
1 file changed, 68 insertions(+)
diff --git a/examples/object-events/event-test.c
b/examples/object-events/event-test.c
index f2f71cc..2f9756a 100644
--- a/examples/object-events/event-test.c
+++
---
src/node_device/node_device_udev.c | 24
1 file changed, 24 insertions(+)
diff --git a/src/node_device/node_device_udev.c
b/src/node_device/node_device_udev.c
index 76c60ea..a4748ef 100644
--- a/src/node_device/node_device_udev.c
+++
---
src/conf/node_device_conf.h | 4
src/node_device/node_device_driver.c | 42
src/node_device/node_device_driver.h | 10 +
3 files changed, 56 insertions(+)
diff --git a/src/conf/node_device_conf.h b/src/conf/node_device_conf.h
index
Add nodedev-event support for node device lifecycle events
---
tools/virsh-nodedev.c | 211 ++
tools/virsh-nodedev.h | 10 +++
tools/virsh.pod | 18 +
3 files changed, 239 insertions(+)
diff --git a/tools/virsh-nodedev.c
nodedev events don't have a uuid value and will pass in NULL
---
src/conf/object_event.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/conf/object_event.c b/src/conf/object_event.c
index cb984ff..bbef7f6 100644
--- a/src/conf/object_event.c
+++
Introducing implementation of node device event APIs. Code changes
follow network/storage pool event APIs.
Implemented functions: virNodeDeviceEventRegisterAny(),
virNodeDeviceEventDeregisterAny(), virNodeDeviceLifeCycleEventNew(),
introduced CREATED and DELETED.
There are also test as well as
Add node device event handling infrastructure to node_device_event.[ch]
---
src/Makefile.am | 5 +
src/conf/node_device_event.c | 234 +++
src/conf/node_device_event.h | 59 +++
src/libvirt_private.syms | 5 +
4 files changed,
Node device lifecycle event API entry points for registering and deregistering
node deivce events, as well as types of events associated with node devices.
These entry points will be used for implementing asynchronous lifecycle events.
Node device API:
virConnectNodeDeviceEventRegisterAny
Also includes unittests for node device lifecycle events API
---
src/test/test_driver.c | 49 +
tests/objecteventtest.c | 72 +
2 files changed, 121 insertions(+)
diff --git a/src/test/test_driver.c
On 20 Jul 2016, at 14:38, Andrea Bolognani wrote:
> On Wed, 2016-07-20 at 14:19 +0100, Daniel P. Berrange wrote:
>> On Wed, Jul 20, 2016 at 03:16:35PM +0200, Andrea Bolognani wrote:
>>>
>>> The symbol being missing has been reported as causing build
>>> failures on OS X.
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 not already defined
instead of conditionally compiling the code depending
On Wed, 2016-07-20 at 14:19 +0100, Daniel P. Berrange wrote:
> On Wed, Jul 20, 2016 at 03:16:35PM +0200, Andrea Bolognani wrote:
> >
> > The symbol being missing has been reported as causing build
> > failures on OS X. Check for its availability before using it.
> > ---
> > Changes from v1:
> >
On Wed, Jul 20, 2016 at 03:16:35PM +0200, Andrea Bolognani wrote:
> The symbol being missing has been reported as causing build
> failures on OS X. Check for its availability before using it.
> ---
> Changes from v1:
>
> * don't unnecessarily check for availability at configure
> time
On Tue, Jul 19, 2016 at 07:04:36PM +0200, Andrea Bolognani wrote:
> On Tue, 2016-07-19 at 16:17 +0200, Andrea Bolognani wrote:
> > Commit 8156493d8db9 changed libvirt so that '-device pci-ohci'
> > would be used instead of '-usb' on ppc64 when no specific USB
> > controller model had been
On 19 Jul 2016, at 15:48, Andrea Bolognani wrote:
> On Tue, 2016-07-19 at 16:23 +0200, Ján Tomko wrote:
>> On Tue, Jul 19, 2016 at 04:00:25PM +0200, Andrea Bolognani wrote:
>>>
>>> The symbol being missing has been reported as causing build
>>> failures on OS X. Check for
The symbol being missing has been reported as causing build
failures on OS X. Check for its availability before using it.
---
Changes from v1:
* don't unnecessarily check for availability at configure
time (thanks J??n)
src/util/virsystemd.c | 4 ++--
1 file changed, 2 insertions(+), 2
On 20 Jul 2016, at 13:57, Justin Clift wrote:
On 20 Jul 2016, at 13:43, Andrea Bolognani wrote:
>> If you post the error message you're getting we'll of course
>> try to help you out to the best of our possibilities :)
>
> Sure. Lets see if my 2nd
On 20 Jul 2016, at 13:43, Andrea Bolognani wrote:
> On Wed, 2016-07-20 at 13:28 +0100, Justin Clift wrote:
>> I'll put more time into investigating why the patch barfed for me. I
>> think it'll just be something simple like forgetting to set the time/date
>> stamp of the
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 domain that was started with different XML than
defined will leave the
On Wed, Jul 20, 2016 at 02:33:33PM +0200, Andrea Bolognani wrote:
> On Tue, 2016-07-19 at 15:35 +0100, Daniel P. Berrange wrote:
> > On Thu, May 05, 2016 at 08:48:05PM +0200, Andrea Bolognani wrote:
> > >
> > > On Fri, 2016-01-29 at 01:32 -0500, Shivaprasad G Bhat wrote:
> > > >
> > > > The
On Wed, 2016-07-20 at 13:28 +0100, Justin Clift wrote:
> I'll put more time into investigating why the patch barfed for me. I
> think it'll just be something simple like forgetting to set the time/date
> stamp of the patched file so make doesn't try to regenerate ./configure
> again. Will find
---
docs/schemas/domaincommon.rng | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 741f268..eb78187 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -4681,6 +4681,9 @@
Nikolay Shirokovskiy (2):
schema: add missed alias element to memory device
schema: fix resolved interfaces of network type
docs/schemas/domaincommon.rng | 43 +-
docs/schemas/network.rng | 5 +
docs/schemas/networkcommon.rng | 6 ++
3
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 virDomainActualNetDefContentsFormat are taken as reference.
---
docs/schemas/domaincommon.rng
On Tue, 2016-07-19 at 15:35 +0100, Daniel P. Berrange wrote:
> On Thu, May 05, 2016 at 08:48:05PM +0200, Andrea Bolognani wrote:
> >
> > On Fri, 2016-01-29 at 01:32 -0500, Shivaprasad G Bhat wrote:
> > >
> > > The nodeinfo output was fixed earlier to reflect the actual cpus
> > > available in
>
On 20 Jul 2016, at 12:21, Martin Kletzander wrote:
> On Tue, Jul 19, 2016 at 06:30:47PM +0100, Justin Clift wrote:
>> On 19 Jul 2016, at 17:58, Andrea Bolognani wrote:
>>> Did you manage to build and run libvirt succesfully with the
>>> patch I posted?
On Wed, Jul 20, 2016 at 10:17:35AM +0200, Andrea Bolognani wrote:
On Tue, 2016-07-19 at 11:00 +0200, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander
---
src/qemu/qemu_conf.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
On Tue, Jul 19, 2016 at 06:30:47PM +0100, Justin Clift wrote:
On 19 Jul 2016, at 17:58, Andrea Bolognani wrote:
On Tue, 2016-07-19 at 16:30 +0100, Justin Clift wrote:
On 19 Jul 2016, at 15:03, Andrea Bolognani wrote:
It's outside the #endif for
Nothing in the code path after the removed call has needs/uses the alias
anyway (as would be the case for command line building or talking to monitor).
The alias is VIR_FREE'd in virDomainDeviceInfoClear which is called for any
device that needs/uses an alias via virDomainDeviceDefFree or
Based off review of :
http://www.redhat.com/archives/libvir-list/2016-July/msg00672.html
Rather than add the ignore_value, just remove the unused / unnecessary code
Patch 1 has no callers any more and from inspection patch 2 is essentially
redone again as each device is handled during domain def
Since commit id 'fb06350' these are no longer called, so remove them
Signed-off-by: John Ferlan
---
src/conf/domain_conf.c | 35 ---
src/conf/domain_conf.h | 2 --
src/libvirt_private.syms | 2 --
3 files changed, 39 deletions(-)
diff
Since virNetServerAddClient checks for the limits in order to temporarily
suspend the services, thus not accepting any more clients, there is no reason
why virNetServerCheckLimits, which is only responsible for re-enabling
previously disabled services according to the limits, could not do both. To
Commit 2737aaaf changed our policy for accepting new clients in a way, that
instead of accepting new clients only to disconnect them immediately because
that would overcommit the limit we temporarily disable polling for the
dedicated file descriptor, so any new connection will queue on the socket.
So far, virNetServerCheckLimits was only used to possibly re-enable accepting
new clients that might have previously by disabled due to client limits
violation (max_clients, max_anonymous_clients). This patch refactors
virNetServerAddClient which is currently the only place where the services get
The original naming was just a leftover that should have been fixed in commit
8b1f0469.
Signed-off-by: Erik Skultety
---
daemon/admin_server.c | 4 ++--
src/rpc/virnetserver.c | 6 +++---
src/rpc/virnetserver.h | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
This series slightly refactors the code in virnetserver.c in order to resolve
https://bugzilla.redhat.com/show_bug.cgi?id=1357776. The problem resides in
updating of the client limits which even though updated, thus "permitting" new
connections to be established, do not re-enable polling for the
Prior to commit 2737aaaf, we allowed every client to connect successfully,
however, if accepting the client would eventually lead to an overcommit of the
limits, we would disconnect it immediately with "Too many active clients,
dropping connection from...". Commits 4d693241 and e34fbb9e refactored
On Tue, Jul 19, 2016 at 10:54:48AM -0400, John Ferlan wrote:
After pushing and working on the next set of changes, I realized that
the setting of some booleans needed to be inside an if condition .
John Ferlan (2):
qemu: Move setting of obj bools for qemuDomainAttachVirtioDiskDevice
qemu:
On Tue, Jul 19, 2016 at 02:27:40PM -0400, John Ferlan wrote:
> virStorageBackendCreateQemuImgCheckEncryption didn't return -1 if there
> were no secrets.
>
> Signed-off-by: John Ferlan
> ---
> src/storage/storage_backend.c | 1 +
> 1 file changed, 1 insertion(+)
ACK
On Tue, Jul 19, 2016 at 02:27:42PM -0400, John Ferlan wrote:
> Commit id '5e46d7d6' did not take into account that usage of a luks
> volume will require usage of the master key encrypted passphrase for
> a QEMU environment. So rather than allow creation of something that
> won't be usable, just
On Tue, Jul 19, 2016 at 02:27:41PM -0400, John Ferlan wrote:
> Resolves a CI test integration failure with a RHEL6/Centos6 environment.
>
> In order to use a LUKS encrypted device, the design decision was to
> generate an encrypted secret based on the master key. However, commit
> id 'da86c6c'
On Tue, 2016-07-19 at 11:00 +0200, Martin Kletzander wrote:
> Signed-off-by: Martin Kletzander
> ---
> src/qemu/qemu_conf.c | 7 +--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
> index
On Tue, Jul 19, 2016 at 18:55:54 +0200, Ján Tomko wrote:
> Most of the lines we look at are not going to match one of the
> driver types contained in $groups_regex.
>
> Move on to the next line if it does not contain any of them early.
> This speeds up the script execution by 50%, since this
On Tue, Jul 19, 2016 at 18:55:53 +0200, Ján Tomko wrote:
> The %groups hash contains all the driver types (e.g.
> virHypervisorDriver or virSecretDriver).
>
> When searching for all the APIs that are implemented by a driver
> of that specific driver type, we keep iterating over the %groups
> hash
On Tue, Jul 19, 2016 at 11:00:56AM +0200, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander
---
src/qemu/qemu_conf.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index
On Tue, Jul 19, 2016 at 18:55:52 +0200, Ján Tomko wrote:
> When generating the hvsupport.html.in file, we parse the -api.xml
> files generated by apibuild.py to know in which HTML file the API
> function is.
>
> Doing an XPath query for every single 'function' element in the
> file is
On Wed, Jul 20, 2016 at 09:13:54 +0200, Boris Fiuczynski wrote:
> This patch reverts commit 73e4e10e62e4b1aea64b317be96af5e5488007d7
> and thereby disabling the panic device autogeneration for S390 guests.
> In addition tests are patched as well.
>
> The reverted commit breaks backwards
This patch reverts commit 73e4e10e62e4b1aea64b317be96af5e5488007d7
and thereby disabling the panic device autogeneration for S390 guests.
In addition tests are patched as well.
The reverted commit breaks backwards compatibility of S390 guests.
As an example: A domain xml without a panic device
67 matches
Mail list logo