On Fedora rawhide (glibc 2.25), './gnulib-tool --test mountlist'
reports:
../../gllib/mountlist.c: In function 'read_file_system_list':
../../gllib/mountlist.c:534:13: warning: '__makedev_from_sys_types' is
deprecated:
In the GNU C Library, `makedev' is defined by .
For historical
Fedora rawhide builds of libvirt.git at commit d53fa838^ failed
due to the new glibc 2.25 deprecation warning for use of major()
from just ; I also found that the same warning is
provoked by gnulib's mountlist module. Libvirt commit d53fa838
was a temporary hack to work around the problem, and I
Todo: tweak sys_types_h.m4 comment before pushing
glibc 2.25 is deprecating the namespace pollution of
injecting major(), minor(), and makedev() into the compilation
environment, with a warning that insists that users include
instead. However, because the expansion of
AC_HEADER_MAJOR didn't
??
On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
> ---
> src/hyperv/hyperv_driver.c | 176
> +
> 1 file changed, 176 insertions(+)
>
> diff --git a/src/hyperv/hyperv_driver.c b/src/hyperv/hyperv_driver.c
> index b2d1abf..7d956d3 100644
> ---
On 09/14/2016 05:39 PM, Philipp Heckel wrote:
> Thanks for looking at the pulls.
>
> Small update on the continued progress of the Hyper-V integration. We
> started developing against master (as opposed to against 1.3.1), and
> will try to keep the code updated in this branch:
>
On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
> ---
> src/hyperv/hyperv_driver.c | 52
> ++
> 1 file changed, 52 insertions(+)
>
> diff --git a/src/hyperv/hyperv_driver.c b/src/hyperv/hyperv_driver.c
> index 4a5e80d..b2d1abf 100644
> ---
Thanks for looking at the pulls.
Small update on the continued progress of the Hyper-V integration. We
started developing against master (as opposed to against 1.3.1), and will
try to keep the code updated in this branch:
https://github.com/datto/libvirt/compare/master...datto-master-hyperv.
2016-09-14 23:16 GMT+02:00 John Ferlan :
>
>
> On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
>> ---
>> src/hyperv/hyperv_wmi_generator.py | 57
>> --
>> 1 file changed, 54 insertions(+), 3 deletions(-)
>>
>
> Not that familiar with the
2016-09-14 23:00 GMT+02:00 John Ferlan :
>
>
> On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
>> ---
>> src/hyperv/hyperv_wmi_generator.input | 485
>> ++
>> 1 file changed, 485 insertions(+)
>>
>
> I figure I can give at least "some"
On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
> ---
> src/hyperv/hyperv_driver.c | 106
> +++-
> src/hyperv/hyperv_private.h | 2 +
> 2 files changed, 107 insertions(+), 1 deletion(-)
>
> diff --git a/src/hyperv/hyperv_driver.c
On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
> ---
> src/hyperv/hyperv_wmi_generator.py | 57
> --
> 1 file changed, 54 insertions(+), 3 deletions(-)
>
Not that familiar with the needs here. I assume it's fine, but your
commit message should describe
On 08/09/2016 08:39 AM, Jason Miesionczek wrote:
> ---
> src/hyperv/hyperv_wmi_generator.input | 485
> ++
> 1 file changed, 485 insertions(+)
>
I figure I can give at least "some" feedback. There's not a lot of
hyperv experience on the team so whether what's
On 09/12/2016 11:50 AM, Michal Privoznik wrote:
> On 20.07.2016 21:08, Joao Martins wrote:
>> 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
On 09/12/2016 11:50 AM, Michal Privoznik wrote:
> On 20.07.2016 21:08, Joao Martins wrote:
>> 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
On Tue, Aug 30, 2016 at 10:49:25 -0400, John Ferlan wrote:
...
> > - No mode specific details are provided yet.
> > +
> > +If host-model is supported by the hypervisor, the
> > +mode describes the guest CPU which will be used when
> > +starting a domain with
On Tue, Aug 30, 2016 at 10:27:44 -0400, John Ferlan wrote:
...
> > diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
> > index 8f55fcc..97dc877 100644
> > --- a/src/qemu/qemu_capabilities.c
> > +++ b/src/qemu/qemu_capabilities.c
> > @@ -374,6 +374,7 @@ struct _virQEMUCaps {
On Wed, Sep 14, 2016 at 10:37:07AM -0400, Corey S. McQuay wrote:
> Currently Libvirt allows attempts to migrate read only disks. Qemu cannot
> handle this as read only
> disks cannot be written to on the destination system. The end result is a
> cryptic error message
> and a failed migration.
>
Currently Libvirt allows attempts to migrate read only disks. Qemu cannot
handle this as read only
disks cannot be written to on the destination system. The end result is a
cryptic error message
and a failed migration.
This patch causes migration to fail earlier and provides a meaningful error
[...]
>>> @@ -399,7 +412,16 @@ virDomainCapsCPUFormat(virBufferPtr buf,
>>>virCPUModeTypeToString(VIR_CPU_MODE_CUSTOM));
>>> if (cpu->custom && cpu->custom->count) {
>>> virBufferAddLit(buf, "supported='yes'>\n");
>>> -
On Tue, Aug 30, 2016 at 10:25:10 -0400, John Ferlan wrote:
>
>
> On 08/12/2016 09:33 AM, Jiri Denemark wrote:
> > The function filters all CPU features through a given callback while
> > copying CPU model related parts of a CPU definition.
> >
> > Signed-off-by: Jiri Denemark
On Tue, Aug 30, 2016 at 10:24:07 -0400, John Ferlan wrote:
>
>
> On 08/12/2016 09:33 AM, Jiri Denemark wrote:
> > The function moves CPU model related parts from one CPU definition to
> > another. It can be used to avoid unnecessary copies from a temporary CPU
> > definitions which will be freed
On Tue, Aug 30, 2016 at 10:23:10 -0400, John Ferlan wrote:
>
>
> On 08/12/2016 09:33 AM, Jiri Denemark wrote:
> > Useful for copying a CPU definition without model related parts (i.e.,
> > without model name, feature list, vendor).
> >
> > Signed-off-by: Jiri Denemark
> >
On Mon, Aug 29, 2016 at 19:31:22 -0400, John Ferlan wrote:
>
>
> On 08/12/2016 09:33 AM, Jiri Denemark wrote:
> > Signed-off-by: Jiri Denemark
> > ---
> > src/qemu/qemu_capabilities.c | 25 +++--
> > src/qemu/qemu_capabilities.h | 6 --
> >
On Mon, Aug 29, 2016 at 19:21:24 -0400, John Ferlan wrote:
...
> > @@ -183,6 +183,10 @@
> >
> > The mode element contains a list of supported CPU
> > models, each described by a dedicated model element.
> > +The usable attribute specifies whether the model can
> >
On 14.09.2016 12:58, Erik Skultety wrote:
> On 14/09/16 12:50, Michal Privoznik wrote:
>> On 14.09.2016 12:39, Erik Skultety wrote:
>>> On 14/09/16 10:17, Michal Privoznik wrote:
Just like we are running 'virsh self-test' from within our test
suite, we should run 'virt-admin self-test'
On 14/09/16 12:50, Michal Privoznik wrote:
> On 14.09.2016 12:39, Erik Skultety wrote:
>> On 14/09/16 10:17, Michal Privoznik wrote:
>>> Just like we are running 'virsh self-test' from within our test
>>> suite, we should run 'virt-admin self-test' too.
>>>
>>> Signed-off-by: Michal Privoznik
On Fri, Sep 09, 2016 at 01:12:01PM -0400, John Ferlan wrote:
> Allows libvirt-perl to build with upstream libvirt.
>
> Signed-off-by: John Ferlan
> ---
> Changes | 1 +
> Virt.xs | 1 +
> lib/Sys/Virt/Error.pm | 4
> 3 files changed, 6
On Fri, Sep 09, 2016 at 01:12:00PM -0400, John Ferlan wrote:
> Allows libvirt-perl to build with upstream libvirt.
>
> Signed-off-by: John Ferlan
> ---
> Changes| 1 +
> Virt.xs| 1 +
> lib/Sys/Virt/Secret.pm | 7 +++
> 3 files changed, 9
On 14.09.2016 12:39, Erik Skultety wrote:
> On 14/09/16 10:17, Michal Privoznik wrote:
>> Just like we are running 'virsh self-test' from within our test
>> suite, we should run 'virt-admin self-test' too.
>>
>> Signed-off-by: Michal Privoznik
>> ---
>> .gitignore
On 13.09.2016 19:03, Eric Blake wrote:
> On 09/13/2016 06:02 AM, Michal Privoznik wrote:
>
>>> So, just to make it crystal clear, is this what you're saying?
>>>
>>> ready | initial C/R |fudged C/R
>>
>> Oh, This should have been C/E instead of C/R. Current/End. 'e' and 'r'
>> keys are just too
On 14/09/16 10:17, Michal Privoznik wrote:
> Just like we are running 'virsh self-test' from within our test
> suite, we should run 'virt-admin self-test' too.
>
> Signed-off-by: Michal Privoznik
> ---
> .gitignore | 1 +
> tests/Makefile.am | 1 +
At 2016-09-13 23:47:10, "John Ferlan" wrote:
>
>
>On 08/27/2016 03:13 AM, Chen Hanxiao wrote:
>> From: Chen Hanxiao
>>
>> We check compress prog in qemuCompressProgramAvailable,
>> then check it again in virExec.
>>
>> This path will pass compress
On Mon, Aug 29, 2016 at 18:01:21 -0400, John Ferlan wrote:
...
> My Coverity environment had a build failure here:
>
> conf/domain_capabilities.c: In function 'virDomainCapsCPUModelsFilter':
> conf/domain_capabilities.c:183:48: error: passing argument 1 of
> 'virStringArrayHasString' from
On Mon, Aug 29, 2016 at 17:59:21 -0400, John Ferlan wrote:
...
> > @@ -1127,9 +1127,13 @@ cmdCPUModelNames(vshControl *ctl, const vshCmd *cmd)
> > return false;
> > }
> >
> > -for (i = 0; i < nmodels; i++) {
> > -vshPrint(ctl, "%s\n", models[i]);
> > -
On Mon, Aug 29, 2016 at 17:59:02 -0400, John Ferlan wrote:
>
>
> On 08/12/2016 09:33 AM, Jiri Denemark wrote:
> > Signed-off-by: Jiri Denemark
> > ---
> > src/qemu/qemu_capabilities.c | 24 +-
> > src/qemu/qemu_capabilities.h |
On Mon, Aug 29, 2016 at 17:56:29 -0400, John Ferlan wrote:
...
> > @@ -852,7 +863,7 @@ virQEMUCapsInitGuest(virCapsPtr caps,
> > * arm is different in that 32-on-64 _only_ works with
> > * qemu-system-aarch64. So we have to add it to the kvmbins list
> > */
> > -
On Tue, Sep 13, 2016 at 06:27:46PM +0200, Peter Krempa wrote:
> Use the state information (online, hotpluggable) provided by the monitor
> code rather than trying to infer it. This fixes a issue where on
s/a issue/an issue/
> architectures that require hotplug of multiple threads at once the
>
On Tue, Sep 13, 2016 at 06:27:44PM +0200, Peter Krempa wrote:
> Add separate iterator for iterating all the entries
> ---
> src/qemu/qemu_monitor.c | 17 +
> 1 file changed, 9 insertions(+), 8 deletions(-)
>
ACK
Pavel
--
libvir-list mailing list
libvir-list@redhat.com
On Tue, Sep 13, 2016 at 06:27:45PM +0200, Peter Krempa wrote:
> Return whether a vcpu entry is hotpluggable or online so that upper
> layers don't have to infer the information from other data.
>
> Advantage is that this code can be tested by unit tests.
> ---
> src/qemu/qemu_monitor.c
On Tue, Sep 13, 2016 at 06:27:43PM +0200, Peter Krempa wrote:
> The algorithm that matches data from query-cpus and
> query-hotpluggable-cpus is quite complex. Start using descriptive
> iterator names to avoid confusion.
> ---
> src/qemu/qemu_monitor.c | 25 +
> 1 file
On 14/09/16 10:17, Michal Privoznik wrote:
> This command should be exposed to other shells of ours.
> They are gonna need it as soon as we want to test them too.
>
> Signed-off-by: Michal Privoznik
> ---
> tools/virsh.c | 45 +
>
On Mon, Aug 29, 2016 at 15:21:43 -0400, John Ferlan wrote:
...
> > -driver.caps->host.cpu->arch = VIR_ARCH_AARCH64;
> > +qemuTestSetHostArch(driver.caps, VIR_ARCH_AARCH64);
> > DO_TEST("aarch64-kvm-32-on-64",
> > QEMU_CAPS_NODEFCONFIG, QEMU_CAPS_DEVICE_VIRTIO_MMIO,
> >
This command should be exposed to other shells of ours.
They are gonna need it as soon as we want to test them too.
Signed-off-by: Michal Privoznik
---
tools/virsh.c | 45 +
tools/vsh.c | 38
Just like we are running 'virsh self-test' from within our test
suite, we should run 'virt-admin self-test' too.
Signed-off-by: Michal Privoznik
---
.gitignore | 1 +
tests/Makefile.am | 1 +
tests/virsh-self-test | 21 -
I've realized we do no testing of virt-admin yet while reviewing Erik's
patches.
Michal Privoznik (2):
virsh: Move cmdSelfTest to vsh
tests: Self test virt-admin
.gitignore | 1 +
tests/Makefile.am | 1 +
tests/virsh-self-test | 21 -
On 13/09/16 17:11, Erik Skultety wrote:
> the original version:
> https://www.redhat.com/archives/libvir-list/2016-September/msg00312.html
>
> since v1:
> - tweaked the virsh-self-test so that it also checks the aliased commands
> instead of skipping them (since there was a good reason
On Tue, Sep 13, 2016 at 05:08:02PM +0200, Peter Krempa wrote:
See patch 2.
Peter Krempa (2):
util: numa: Remove impossible error handling
numa: Rename virNumaGetHostNodeset and make it return only nodes with
memory
Looks sane, ACK.
src/libvirt_private.syms | 2 +-
The automatic nodeset would creep into the persistent definition for live VMs
with automatic pinning which is incorrect.
https://bugzilla.redhat.com/show_bug.cgi?id=1365779
Peter Krempa (4):
conf: Introduce virDomainObjGetOneDefState
qemu: domain: Add macro to simplify access to vm private
Sometimes adding a separate variable to access vm->privateData is not
necessary. Add a macro that will do the typecasting rather than having
to add a temp variable to force the compiler to typecast it.
---
src/qemu/qemu_domain.h | 3 +++
1 file changed, 3 insertions(+)
diff --git
Calling virDomainGetEmulatorPinInfo on a live VM with automatic NUMA
pinning and VIR_DOMAIN_AFFECT_CONFIG would return the automatic pinning
data in some cases which is bogus. Use the autoCpuset property only when
called on a live definition.
Resolves:
Return whether the live or persistent definition was returned. Sometimes
it's necessary to base the decisions on this.
---
src/conf/domain_conf.c | 40
src/conf/domain_conf.h | 3 +++
src/libvirt_private.syms | 1 +
3 files changed, 40 insertions(+),
Calling virDomainGetVcpuPinInfo on a live VM with automatic NUMA pinning
and VIR_DOMAIN_AFFECT_CONFIG would return the automatic pinning data
in some cases which is bogus. Use the autoCpuset property only when
called on a live definition.
Resolves:
52 matches
Mail list logo