On 01/14/2016 05:12 AM, Daniel P. Berrange wrote:
> On Thu, Jan 14, 2016 at 10:51:47AM +0100, Jiri Denemark wrote:
>> On Wed, Jan 13, 2016 at 16:25:14 +0100, Martin Kletzander wrote:
>>> On Wed, Jan 13, 2016 at 10:18:42AM +, Richard W.M. Jones wrote:
As people may know, we frequently
On Thu, 2016-01-14 at 18:08 +0300, Alexander Burluka wrote:
> Signed-off-by: Alexander Burluka
> ---
> src/qemu/qemu_cgroup.c | 12 +--
> src/qemu/qemu_driver.c | 97
> --
> 2 files changed, 96 insertions(+), 13
This rename is required to reuse this function in
per-domain bandwidth setup routine
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_cgroup.c | 14 +++---
src/qemu/qemu_cgroup.h | 6 +++---
src/qemu/qemu_driver.c | 5 ++---
3 files changed, 12 insertions(+),
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_command.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 5d3ab3a..087e9ad 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
This parameter represents top level period cgroup
that limits whole domain enforcement period for a quota
Signed-off-by: Alexander Burluka
---
docs/schemas/domaincommon.rng| 5 +
include/libvirt/libvirt-domain.h | 16
src/conf/domain_conf.c
---
tests/qemuxml2argvdata/qemuxml2argv-cputune.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
b/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
index 813d201..a056089 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
+++
We decide to make a global per domain bandwidth setting
as were discussed in mailing list earlier.
This patchset implements hierarchy top level cpu.cfs_period_us
and cpu.cfs_quota_us control knob. I've named this parameters
as global_period and global_quota.
Changes in v2: add XML validation test
This functions setups per-domain cpu bandwidth parameters
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_cgroup.c | 54 +
src/qemu/qemu_cgroup.h | 1 +
src/qemu/qemu_process.c | 4
3 files changed, 59
This parameter controls the maximum bandwidth to be used
within a period for whole domain.
Signed-off-by: Alexander Burluka
---
docs/schemas/domaincommon.rng| 5 +
include/libvirt/libvirt-domain.h | 16
src/conf/domain_conf.c | 19
FYI I'm testing the attached patch (written by Jiri Denemark). The
tests usually take a day to run.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests
On Thu, 2016-01-07 at 11:12 -0600, Dan Williams wrote:
> Not all lease values are mandatory, and when they aren't supplied
> by the libvirt driver they get set to NULL. That makes
> rb_str_new2() bail out.
Ping? Does this patch look OK or is there anything else I need to do
with it? Is the
On 01/14/2016 06:59 AM, Daniel P. Berrange wrote:
> On Wed, Jan 13, 2016 at 07:29:49AM -0500, John Ferlan wrote:
>> This reverts commit a41c00b472efaa192d2deae51ab732e65903238f.
>>
>> The patch was causing erroneous updates to the /proc/$pid/cgroup file.
>> This resulted in some unexpected
On Thu, Jan 14, 2016 at 06:14:45PM +0100, Henning Schild wrote:
> On Thu, 14 Jan 2016 16:42:12 +
> "Daniel P. Berrange" wrote:
>
> > On Thu, Jan 14, 2016 at 11:21:25AM -0500, John Ferlan wrote:
> > > v1:
> > >
On Wed, Jan 13, 2016 at 2:28 PM, Justin Clift wrote:
> On 2016-01-13 10:18, Richard W.M. Jones wrote:
>
>
>> I would be good if libvirt could routinely test the case of multiple
>> parallel launches of qemu:///session, since it still contains bugs
>> even after Cole's
On Thu, Jan 14, 2016 at 10:51:47AM +0100, Jiri Denemark wrote:
> On Wed, Jan 13, 2016 at 16:25:14 +0100, Martin Kletzander wrote:
> > On Wed, Jan 13, 2016 at 10:18:42AM +, Richard W.M. Jones wrote:
> > >As people may know, we frequently encounter errors caused by libvirt
> > >when running the
We decide to make a global per domain bandwidth setting
as were discussed in mailing list earlier.
This patchset implements hierarchy top level cpu.cfs_period_us
and cpu.cfs_quota_us control knob. I've named this parameters
as global_period and global_quota.
Changes in v2: add XML validation test
This functions setups per-domain cpu bandwidth parameters
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_cgroup.c | 64 +
src/qemu/qemu_cgroup.h | 1 +
src/qemu/qemu_process.c | 4
3 files changed, 69
This functions setups per-domain cpu bandwidth parameters
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_cgroup.c | 64 +
src/qemu/qemu_cgroup.h | 1 +
src/qemu/qemu_process.c | 4
3 files changed, 69
This parameter represents top level period cgroup
that limits whole domain enforcement period for a quota
Signed-off-by: Alexander Burluka
---
docs/schemas/domaincommon.rng| 5 +
include/libvirt/libvirt-domain.h | 16
src/conf/domain_conf.c
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_driver.c | 120 -
1 file changed, 118 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 48aeab6..6a0fa9b 100644
---
This parameter controls the maximum bandwidth to be used
within a period for whole domain.
Signed-off-by: Alexander Burluka
---
docs/schemas/domaincommon.rng| 5 +
include/libvirt/libvirt-domain.h | 16
src/conf/domain_conf.c | 19
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_driver.c | 120 -
1 file changed, 118 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 48aeab6..6a0fa9b 100644
---
Signed-off-by: Alexander Burluka
---
src/util/vircgroup.c | 4
src/util/vircgroup.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index 78f519c..b829794 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
---
tests/qemuxml2argvdata/qemuxml2argv-cputune.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
b/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
index 813d201..a056089 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
+++
Signed-off-by: Alexander Burluka
---
src/util/vircgroup.c | 4
src/util/vircgroup.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index 78f519c..b829794 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_command.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 5d3ab3a..087e9ad 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
On Wed, 13 Jan 2016 17:53:16 +
"Daniel P. Berrange" wrote:
> On Wed, Jan 13, 2016 at 05:51:34PM +0100, Martin Kletzander wrote:
> > On Wed, Jan 13, 2016 at 07:29:46AM -0500, John Ferlan wrote:
> > >Reposting my cgroup fixes series:
> > >
> >
On Wed, Jan 13, 2016 at 03:50:47PM +, Richard W.M. Jones wrote:
> On Wed, Jan 13, 2016 at 04:25:14PM +0100, Martin Kletzander wrote:
> > For each of the kernels, libvirt labels them (with both DAC and selinux
> > labels), then proceeds to launching qemu. If this is done parallel, the
> > race
On 13.11.2015 13:55, Dmitry Guryanov wrote:
> On Thu, 2015-11-12 at 11:11 +0300, Nikolay Shirokovskiy wrote:
>> Hi, everyone.
>>
>> I plan to add means to configure vz containers memory setting and have
>> trouble
>> getting it done thru libvirt interface. Looks like current interface fits
>>
On Wed, Jan 13, 2016 at 16:25:14 +0100, Martin Kletzander wrote:
> On Wed, Jan 13, 2016 at 10:18:42AM +, Richard W.M. Jones wrote:
> >As people may know, we frequently encounter errors caused by libvirt
> >when running the libguestfs appliance.
> >
> >I wanted to find out exactly how
On Wed, Jan 13, 2016 at 05:07:04PM -0500, John Ferlan wrote:
> Commit id '7bf3198df' neglected to initialize deflate leading to a
> possibility if model allocation/checks fail, then the VIR_FREE(deflate)
> would be erroneous. Noted by Jan Tomko.
>
> Signed-off-by: John Ferlan
I am sorry, the old version was resend with v2, please ignore it.
On 01/14/2016 01:27 PM, Alexander Burluka wrote:
We decide to make a global per domain bandwidth setting
as were discussed in mailing list earlier.
This patchset implements hierarchy top level cpu.cfs_period_us
and
On Thu, Jan 14, 2016 at 10:24:45AM +, Richard W.M. Jones wrote:
> On Thu, Jan 14, 2016 at 10:12:30AM +, Daniel P. Berrange wrote:
> > The difference comes in the restore step - where we blow away the
> > readonly label and put it back to the original. For disks we never
> > restore
On Thu, Jan 14, 2016 at 10:12:30AM +, Daniel P. Berrange wrote:
> The difference comes in the restore step - where we blow away the
> readonly label and put it back to the original. For disks we never
> restore readonly/shared labels, but for kernels we do. If we just
> kill the restore step
This rename is required to reuse this function in
per-domain bandwidth setup routine
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_cgroup.c | 14 +++---
src/qemu/qemu_cgroup.h | 6 +++---
src/qemu/qemu_driver.c | 5 ++---
3 files changed, 12 insertions(+),
This rename is required to reuse this function in
per-domain bandwidth setup routine
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_cgroup.c | 14 +++---
src/qemu/qemu_cgroup.h | 6 +++---
src/qemu/qemu_driver.c | 5 ++---
3 files changed, 12 insertions(+),
On Tue, 2016-01-12 at 19:42 +0300, Alexander Burluka wrote:
> Signed-off-by: Alexander Burluka
> ---
> src/util/vircgroup.c | 4
> src/util/vircgroup.h | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
> index
On Wed, Jan 13, 2016 at 07:29:49AM -0500, John Ferlan wrote:
> This reverts commit a41c00b472efaa192d2deae51ab732e65903238f.
>
> The patch was causing erroneous updates to the /proc/$pid/cgroup file.
> This resulted in some unexpected behavoirs.
>
> Signed-off-by: John Ferlan
On Thu, 14 Jan 2016 11:57:44 +
"Daniel P. Berrange" wrote:
> On Wed, Jan 13, 2016 at 07:29:46AM -0500, John Ferlan wrote:
> > Reposting my cgroup fixes series:
> >
> > http://www.redhat.com/archives/libvir-list/2016-January/msg00236.html
> >
> > partially because I
On Wed, Jan 13, 2016 at 07:29:50AM -0500, John Ferlan wrote:
> Recently reverted commit id 'a41c00b4' was designed to move the setting
> of the task file into the right place in the cgroup hierarchy. This patch
> applies the portion of the reverted patch which writes the pid to the
> right task
On Thu, Nov 12, 2015 at 11:11:31AM +0300, Nikolay Shirokovskiy wrote:
> Hi, everyone.
>
> I plan to add means to configure vz containers memory setting and have trouble
> getting it done thru libvirt interface. Looks like current interface fits good
> for vm memory managment but its not clear how
On Thu, 2016-01-14 at 14:28 +0300, Dmitry Guryanov wrote:
> On Tue, 2016-01-12 at 19:42 +0300, Alexander Burluka wrote:
> > This functions setups per-domain cpu bandwidth parameters
> >
> > Signed-off-by: Alexander Burluka
> > ---
> > src/qemu/qemu_cgroup.c | 64
> >
On Thu, Jan 14, 2016 at 02:09:52PM +0100, Henning Schild wrote:
> On Thu, 14 Jan 2016 12:37:18 +
> "Daniel P. Berrange" wrote:
>
> > On Thu, Jan 14, 2016 at 11:57:44AM +, Daniel P. Berrange wrote:
> > > Since this has been puzzelling us for a while, let me recap on
14.01.2016 16:01, Daniel P. Berrange пишет:
[snip]
I agree we should be more explicit about this all in the docs. For
initial XML config, we should just raise an error if both
and are present and have different values,
or possibly just clamp to match .
Hmm. And what if a user wants a VM to
On Thu, Jan 14, 2016 at 04:14:49PM +0300, Maxim Nestratov wrote:
> 14.01.2016 16:01, Daniel P. Berrange пишет:
>
> [snip]
> >I agree we should be more explicit about this all in the docs. For
> >initial XML config, we should just raise an error if both
> > and are present and have different
14.01.2016 16:16, Daniel P. Berrange пишет:
On Thu, Jan 14, 2016 at 04:14:49PM +0300, Maxim Nestratov wrote:
14.01.2016 16:01, Daniel P. Berrange пишет:
[snip]
I agree we should be more explicit about this all in the docs. For
initial XML config, we should just raise an error if both
and
On Tue, 2016-01-12 at 19:42 +0300, Alexander Burluka wrote:
> This functions setups per-domain cpu bandwidth parameters
>
> Signed-off-by: Alexander Burluka
> ---
> src/qemu/qemu_cgroup.c | 64
> +
>
On Wed, Jan 13, 2016 at 07:29:48AM -0500, John Ferlan wrote:
> Commit id '71ce4759' altered the cgroup processing with respect to the
> call to virCgroupAddTask being moved out from lower layers into the calling
> layers especially for qemu processing of emulator and vcpu threads.
>
> What was
On Wed, Jan 13, 2016 at 07:29:47AM -0500, John Ferlan wrote:
> Commit id '90b721e43' moved where the virCgroupAddTask was made until
> after the check for the vcpupin checks. However, in doing so it missed
> an option where if the cpumap didn't exist, then the code would continue
> back to the top
On Thu, Jan 14, 2016 at 11:57:44AM +, Daniel P. Berrange wrote:
> Since this has been puzzelling us for a while, let me recap on the
> cgroup setup in general.
>
> First, I'll describe how it used to work *before* Henning's patches
> were merged, on a systemd based host.
>
> - The QEMU
On Thu, Jan 14, 2016 at 01:27:59PM +0300, Alexander Burluka wrote:
> Signed-off-by: Alexander Burluka
> ---
> src/util/vircgroup.c | 4
> src/util/vircgroup.h | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
>
On Thu, 14 Jan 2016 12:37:18 +
"Daniel P. Berrange" wrote:
> On Thu, Jan 14, 2016 at 11:57:44AM +, Daniel P. Berrange wrote:
> > Since this has been puzzelling us for a while, let me recap on the
> > cgroup setup in general.
> >
> > First, I'll describe how it used
On Wed, Jan 13, 2016 at 07:29:46AM -0500, John Ferlan wrote:
> Reposting my cgroup fixes series:
>
> http://www.redhat.com/archives/libvir-list/2016-January/msg00236.html
>
> partially because I originally forgot to CC the author (Henning Schild)
> of the original series for which these patch
On Fri, Nov 13, 2015 at 01:55:15PM +0300, Dmitry Guryanov wrote:
> On Thu, 2015-11-12 at 11:11 +0300, Nikolay Shirokovskiy wrote:
> > Hi, everyone.
> >
> > I plan to add means to configure vz containers memory setting and have
> > trouble
> > getting it done thru libvirt interface. Looks like
On 14.01.2016 16:01, Daniel P. Berrange wrote:
> On Thu, Nov 12, 2015 at 11:11:31AM +0300, Nikolay Shirokovskiy wrote:
>> Hi, everyone.
>>
>> I plan to add means to configure vz containers memory setting and have
>> trouble
>> getting it done thru libvirt interface. Looks like current interface
On Thu, Jan 14, 2016 at 04:23:59PM +0300, Nikolay Shirokovskiy wrote:
>
>
> On 14.01.2016 16:01, Daniel P. Berrange wrote:
> > On Thu, Nov 12, 2015 at 11:11:31AM +0300, Nikolay Shirokovskiy wrote:
> >> Hi, everyone.
> >>
> >> I plan to add means to configure vz containers memory setting and have
On 14.01.2016 16:31, Daniel P. Berrange wrote:
> On Thu, Jan 14, 2016 at 04:23:59PM +0300, Nikolay Shirokovskiy wrote:
>>
>>
>> On 14.01.2016 16:01, Daniel P. Berrange wrote:
>>> On Thu, Nov 12, 2015 at 11:11:31AM +0300, Nikolay Shirokovskiy wrote:
Hi, everyone.
I plan to add
If dnsmasq specified DNSMASQ_IAID (so we're dealing with an IPv6
lease) but no DNSMASQ_MAC, we skip creation of the new lease object.
Also skip adding it to the leases array.
https://bugzilla.redhat.com/show_bug.cgi?id=1202350
https://bugzilla.redhat.com/show_bug.cgi?id=1292941
---
This reverts commit a41c00b472efaa192d2deae51ab732e65903238f.
After much testing and upstream discussion this has been deemed to be
the incorrect operation since it means we no longer have any guarantee
about which resource controllers the QEMU processes in general are in.
Signed-off-by: John
This reverts commit 71ce475967b3523882b0e1a0f649fdbea5abf9d5.
Since commit id 'a41c00b47' has been reverted, this no longer is
necessary
Signed-off-by: John Ferlan
---
src/lxc/lxc_cgroup.c | 11 ---
src/qemu/qemu_cgroup.c | 11 ---
src/util/vircgroup.c |
v1: http://www.redhat.com/archives/libvir-list/2016-January/msg00511.html
As discussed during the replies of the v1 - revert Henning's first
two patches, plus the one I made as a result of those.
Patch 4/4 is already ACK'd
John Ferlan (4):
Revert "qemu: do not put a task into machine cgroup"
Signed-off-by: Alexander Burluka
---
src/qemu/qemu_driver.c | 97 --
1 file changed, 95 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 48aeab6..1932d7f 100644
---
virDomainDefFormatInternal is growing rather large. Extract the cputune
formatter into a separate function.
---
src/conf/domain_conf.c | 230 +++--
1 file changed, 125 insertions(+), 105 deletions(-)
diff --git a/src/conf/domain_conf.c
Iterate over all cpus skipping inactive ones.
---
src/qemu/qemu_driver.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 2300c7e..3102fc2 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@
Since majority of the steps is shared, the function can be reused to
simplify code.
Similarly to previous path doing this same for vCPUs this also fixes the
a similar bug (which is not tracked).
---
src/qemu/qemu_driver.c | 101 +
1 file changed, 2
Now that the pinning info is stored elsewhere we can delete all the
obsolete code.
---
src/conf/domain_conf.c | 136 ---
src/conf/domain_conf.h | 27 --
src/libvirt_private.syms | 6 ---
3 files changed, 169 deletions(-)
diff --git
Performs binary subtraction of two bitmaps. Stores result in the first
operand.
---
src/libvirt_private.syms | 1 +
src/util/virbitmap.c | 21 ++
src/util/virbitmap.h | 3 +++
tests/virbitmaptest.c| 55
4 files
Due to bad design the vcpu sched element is orthogonal to the way how
the data belongs to the corresponding objects. Now that vcpus are a
struct that allow to store other info too, let's convert the data to the
sane structure.
The helpers for the conversion are made universal so that they can be
Now with the new struct the data can be stored in a much saner place.
---
src/conf/domain_conf.c | 131 ++--
src/conf/domain_conf.h | 3 +-
src/libxl/libxl_domain.c | 17 +++---
src/libxl/libxl_driver.c | 39 ++
src/qemu/qemu_cgroup.c
It's disallowed in the API.
---
src/conf/domain_conf.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 1036057..e27de96 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -14246,8 +14246,18 @@
Now that qemuDomainDetectVcpuPids is able to refresh the vCPU pid
information it can be reused in the hotplug and hotunplug code paths
rather than open-coding a very similar algorithm.
A slight algoirithm change is necessary for unplug since the vCPU needs
to be marked offline prior to calling
Add a helper function to do the checking. The check is used when
determining whether the element should be formatted.
---
src/conf/domain_conf.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index
Since majority of the steps is shared, the function can be reused to
simplify code.
Additionally this resolves
https://bugzilla.redhat.com/show_bug.cgi?id=1244128 since the cpu
bandwidth limiting with cgroups would not be set on the hotplug path.
---
src/qemu/qemu_driver.c | 35
Rather than iterating 3 times for various settings this function
aggregates all the code into single place. One of the other advantages
is that it can then be reused for properly setting IOThread info on
hotplug.
---
src/qemu/qemu_cgroup.c | 93 -
The array doesn't necessarily have the same cardinality as the count of
vCPUs for a domain. Iterating it can cause access beyond the end of the
array.
---
src/vz/vz_sdk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index b78c413..d610979
Avoid using virDomainDefSetVcpus when we can set it directly in the
structure.
---
src/qemu/qemu_driver.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index f3844d6..3aa49f2 100644
---
Use 'ret' for return variable name, clarify use of 'param_idx' and avoid
unnecessary 'success' label. No functional changes.
---
src/util/vircgroup.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/util/vircgroup.c
Remove unnecessary condition and variable.
---
src/lxc/lxc_driver.c | 3 +--
src/qemu/qemu_driver.c | 4 +---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index 24b9622..67088c8 100644
--- a/src/lxc/lxc_driver.c
+++
Counterintuitively the user would end up with a VM with maximum number
of vCPUs available.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1290324
---
src/qemu/qemu_process.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index
In some cases it may be better to have a bitmap representing state of
individual vcpus rather than iterating the definition. The new helper
creates a bitmap representing the state from the domain definition.
---
src/conf/domain_conf.c | 24
src/conf/domain_conf.h | 1
Similarly to previous commit change the way how iothread scheduler info
is stored and clean up a lot of unnecessary code.
---
src/conf/domain_conf.c | 141 +++--
src/conf/domain_conf.h | 8 +-
src/libvirt_private.syms
---
src/conf/domain_conf.c | 29 +
src/conf/domain_conf.h | 3 +++
src/libvirt_private.syms | 1 +
3 files changed, 33 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index b18ce8d..14b6c80 100644
--- a/src/conf/domain_conf.c
+++
They are disallowed in the pinning API and as default cpuset.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1293241
---
src/conf/domain_conf.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 4b4a36e..1036057 100644
---
Idioms are usually weird and obscure when translated literally.
---
src/util/virbuffer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virbuffer.c b/src/util/virbuffer.c
index 55dad37..43cd1a7 100644
--- a/src/util/virbuffer.c
+++ b/src/util/virbuffer.c
@@ -180,8
Report
error: invalid argument: requested vcpu '100' is not present in the domain
instead of
error: invalid argument: requested vcpu is higher than allocated vcpus
---
src/test/test_driver.c | 5 +++--
tests/vcpupin | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git
As the scheduler info elements are represented orthogonally to how it
makes sense to actually store the information, the extracted code will
be later used when converting between XML and internal definitions.
---
src/conf/domain_conf.c | 69 --
1
Next patch will add minimum checking, so use a more generic name.
Refactor return values to the commonly used semantics.
---
src/qemu/qemu_process.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
Rather than iterating 3 times for various settings this function
aggregates all the code into single place. One of the other advantages
is that it can then be reused for properly setting vCPU info on hotplug.
---
src/qemu/qemu_cgroup.c | 98 ---
src/qemu/qemu_cgroup.h | 1
On Thu, 14 Jan 2016 16:42:12 +
"Daniel P. Berrange" wrote:
> On Thu, Jan 14, 2016 at 11:21:25AM -0500, John Ferlan wrote:
> > v1:
> > http://www.redhat.com/archives/libvir-list/2016-January/msg00511.html
> >
> > As discussed during the replies of the v1 - revert
On Thu, Jan 14, 2016 at 9:38 PM, Chris Lalancette
wrote:
> Hi!
>
> On Thu, Jan 14, 2016 at 2:56 PM, Dan Williams wrote:
>
>> On Thu, 2016-01-14 at 13:19 -0500, Laine Stump wrote:
>> > On 01/14/2016 11:01 AM, Dan Williams wrote:
>> > > On Thu, 2016-01-07
Seems we don't have the fix for OSX/BSD in yet but I decided to
push the new release candidate out, signed tarball and rpms are at the
usual place, and it's tagged in git:
ftp://libvirt.org/libvirt/
Seems to work for me but obviously more testing is better, I will also
wait for the OSX/BSD
[trim libvirt-announce@]
Daniel Veillard wrote:
> Seems we don't have the fix for OSX/BSD in yet but I decided to
> push the new release candidate out, signed tarball and rpms are at the
> usual place, and it's tagged in git:
>
>ftp://libvirt.org/libvirt/
>
> Seems to work for me but
Hi!
On Thu, Jan 14, 2016 at 2:56 PM, Dan Williams wrote:
> On Thu, 2016-01-14 at 13:19 -0500, Laine Stump wrote:
> > On 01/14/2016 11:01 AM, Dan Williams wrote:
> > > On Thu, 2016-01-07 at 11:12 -0600, Dan Williams wrote:
> > > > Not all lease values are mandatory, and when
On Fri, Jan 8, 2016 at 7:00 PM, Michal Privoznik
wrote:
> On 30.12.2015 11:30, Yaniv Kaul wrote:
> > Hi,
> >
>
> Hey,
>
> sorry for getting to you so late.
>
> > I'm trying to debug this issue, which may be affecting my inability to
> > perform live snapshot.
> > 1. I'm not
On 14.01.2016 19:51, Yaniv Kaul wrote:
> On Fri, Jan 8, 2016 at 7:00 PM, Michal Privoznik
> wrote:
>
>> > On 30.12.2015 11:30, Yaniv Kaul wrote:
>>> > > Hi,
>>> > >
>> >
>> > Hey,
>> >
>> > sorry for getting to you so late.
>> >
>>> > > I'm trying to debug this issue, which
On 01/14/2016 11:01 AM, Dan Williams wrote:
On Thu, 2016-01-07 at 11:12 -0600, Dan Williams wrote:
Not all lease values are mandatory, and when they aren't supplied
by the libvirt driver they get set to NULL. That makes
rb_str_new2() bail out.
Ping? Does this patch look OK or is there
On Thu, 2016-01-14 at 13:19 -0500, Laine Stump wrote:
> On 01/14/2016 11:01 AM, Dan Williams wrote:
> > On Thu, 2016-01-07 at 11:12 -0600, Dan Williams wrote:
> > > Not all lease values are mandatory, and when they aren't supplied
> > > by the libvirt driver they get set to NULL. That makes
> > >
On Thu, 2016-01-14 at 13:28 +0300, Alexander Burluka wrote:
> Signed-off-by: Alexander Burluka
> ---
> src/qemu/qemu_driver.c | 120
> -
> 1 file changed, 118 insertions(+), 2 deletions(-)
>
> diff --git
This parameter controls the maximum bandwidth to be used
within a period for whole domain.
Signed-off-by: Alexander Burluka
---
docs/schemas/domaincommon.rng| 5 +
include/libvirt/libvirt-domain.h | 16
src/conf/domain_conf.c | 19
---
tests/qemuxml2argvdata/qemuxml2argv-cputune.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
b/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
index 813d201..a056089 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-cputune.xml
+++
1 - 100 of 119 matches
Mail list logo