Libvirt's so good, so solid that it almost feels like other
software stand no chance. Other applications are buggy, unstable,
crashing, etc. But not libvirt. Therefore, it seems only fair
that we introduce some bugs so developers of the other
applications don't feel that bad.
Signed-off-by:
2017-03-30 18:47 GMT+02:00 Dawid Zamirski :
> that is: s/hyperyVerifyresponse/hypervVerifyResponse/
s/hyperyVerifyresponse/hyperyVerifyResponse/
I'll fix that before pushing it :)
ACK and pushed.
Unfortunately, that's as far as I got today. I had to spend the better
part
On Fri, Mar 31, 2017 at 21:32:32 +0200, Martin Kletzander wrote:
> On Fri, Mar 31, 2017 at 08:44:08PM +0200, Jiri Denemark wrote:
> >https://bugzilla.redhat.com/show_bug.cgi?id=1389313
> >
> >Signed-off-by: Jiri Denemark
> >---
> > src/libvirt-domain.c | 7 +--
> > 1 file
On Fri, Mar 31, 2017 at 08:44:08PM +0200, Jiri Denemark wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1389313
Signed-off-by: Jiri Denemark
---
src/libvirt-domain.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
Makes perfect sense. ACK. Do comments
https://bugzilla.redhat.com/show_bug.cgi?id=1389313
Signed-off-by: Jiri Denemark
---
src/libvirt-domain.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c
index 26da0e7f3..4670c54e5 100644
---
Because of the changes done in the previous commit, @host is already a
migratable CPU and there's no need to do any additional filtering.
Signed-off-by: Jiri Denemark
---
src/cpu/cpu_x86.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
This will allow us to drop feature filtering from virCPUUpdate where it
was just a hack.
Signed-off-by: Jiri Denemark
---
src/qemu/qemu_capabilities.c | 19 ++-
src/qemu/qemu_capabilities.h | 3 ++-
src/qemu/qemu_command.c | 2 +-
Signed-off-by: Jiri Denemark
---
src/qemu/qemu_capabilities.c | 25 ++---
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index b1245ad5d..1a15750a3 100644
---
We will need to store two more host CPU models and nested structs look
better than separate items with long complicated names.
Signed-off-by: Jiri Denemark
---
src/qemu/qemu_capabilities.c | 65 ++--
1 file changed, 39 insertions(+),
This new internal API makes a copy of virCPUDef while removing all
features which would block migration. It uses cpu_map.xml as a database
of such features, which should only be used as a fallback when we cannot
get the data from a hypervisor. The main goal of this API is to decouple
this
The caller can ask for a migratable CPU model by passing true for the
new parameter.
Signed-off-by: Jiri Denemark
---
src/qemu/qemu_capabilities.c | 36 +---
src/qemu/qemu_capspriv.h | 3 ++-
tests/cputest.c | 2 +-
3 files
Current libvirt makes a migratable host CPU model by removing features
marked in cpu_map.xml with migratable='no'. This is not ideal because
cpu_map.xml is a static database while feature migrtability may differ
depending on a hypervisor or its version. Thus we should preferably use
the data we
Signed-off-by: Jiri Denemark
---
src/qemu/qemu_capabilities.c | 91 ++--
1 file changed, 71 insertions(+), 20 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index c75aa570c..b426a5abc 100644
---
On 03/31/2017 11:30 AM, Chris Friesen wrote:
On 03/31/2017 11:21 AM, Chris Friesen wrote:
I ran tcpdump looking for TCP traffic between the two libvirtd processes, and
was unable to see any after several minutes. So it doesn't look like there is
any regular keepalive messaging going on
On 03/31/2017 11:21 AM, Chris Friesen wrote:
I ran tcpdump looking for TCP traffic between the two libvirtd processes, and
was unable to see any after several minutes. So it doesn't look like there is
any regular keepalive messaging going on (/etc/libvirt/libvirtd.conf doesn't
specify any
Hi, I finally got a chance to take another look at this issue. We've reproduced
it in another test lab. New information below.
On 03/18/2017 12:41 AM, Michal Privoznik wrote:
On 17.03.2017 23:21, Chris Friesen wrote:
Hi,
We've recently run into an issue with libvirt 1.2.17 in the context
On 03/31/2017 04:17 PM, Peter Krempa wrote:
On Fri, Mar 31, 2017 at 16:02:14 +0200, Michal Privoznik wrote:
Currently, if we want to zero out disk source (e,g, due to
startupPolicy when starting up a domain) we use
virDomainDiskSetSource(disk, NULL). This works well for file
based storage
On Fri, Mar 31, 2017 at 09:23:39PM +0800, Eli Qiao wrote:
>
> How about for l3:
>
>
Well, yes, kind of what you had in your patches. Wasn't it without the
'cbm_len' and 'avail'? The 'cbm_len' is avail/min, so it's redundant
and avail is the same as the size of the whole cache, right? Also
On 03/31/2017 03:41 PM, Laine Stump wrote:
On 03/31/2017 07:20 AM, Michal Privoznik wrote:
On 03/30/2017 06:00 PM, Laine Stump wrote:
On 03/28/2017 05:08 AM, Michal Privoznik wrote:
On 03/28/2017 02:22 AM, Laine Stump wrote:
On 03/22/2017 10:43 AM, Michal Privoznik wrote:
On Fri, Mar 31, 2017 at 16:02:14 +0200, Michal Privoznik wrote:
> Currently, if we want to zero out disk source (e,g, due to
> startupPolicy when starting up a domain) we use
> virDomainDiskSetSource(disk, NULL). This works well for file
> based storage (storage type file, dir, or block). But it
Currently, if we want to zero out disk source (e,g, due to
startupPolicy when starting up a domain) we use
virDomainDiskSetSource(disk, NULL). This works well for file
based storage (storage type file, dir, or block). But it doesn't
work at all for other types like volume and network.
So imagine
On 03/31/2017 07:20 AM, Michal Privoznik wrote:
> On 03/30/2017 06:00 PM, Laine Stump wrote:
>> On 03/28/2017 05:08 AM, Michal Privoznik wrote:
>>> On 03/28/2017 02:22 AM, Laine Stump wrote:
On 03/22/2017 10:43 AM, Michal Privoznik wrote:
>>>
>
> Signed-off-by: Michal Privoznik
On 03/31/2017 03:23 PM, Peter Krempa wrote:
On Fri, Mar 31, 2017 at 15:03:35 +0200, Michal Privoznik wrote:
On 03/31/2017 02:18 PM, Peter Krempa wrote:
On Fri, Mar 31, 2017 at 13:13:51 +0200, Michal Privoznik wrote:
Currently, if we want to zero out disk source (e,g, due to
startupPolicy when
On Fri, Mar 31, 2017 at 15:03:35 +0200, Michal Privoznik wrote:
> On 03/31/2017 02:18 PM, Peter Krempa wrote:
> > On Fri, Mar 31, 2017 at 13:13:51 +0200, Michal Privoznik wrote:
> > > Currently, if we want to zero out disk source (e,g, due to
> > > startupPolicy when starting up a domain) we use
>
> >
> > How about for l3:
> > > reserved=“2816"/>
> >
>
>
> Well, yes, kind of what you had in your patches. Wasn't it without the
> 'cbm_len' and 'avail'? The 'cbm_len' is avail/min, so it's redundant
> and avail is the same as the size of the whole cache, right? Also
> 'reserved'
On Fri, Mar 31, 2017 at 08:33:12PM +0800, Eli Qiao wrote:
On Friday, 31 March 2017 at 7:19 PM, Martin Kletzander wrote:
On Fri, Mar 31, 2017 at 09:56:32AM +0800, Eli Qiao wrote:
>
> >
> Okay, cool, this comes better than my patches and have some differences.
> I am open with this as long as
On 03/31/2017 02:18 PM, Peter Krempa wrote:
On Fri, Mar 31, 2017 at 13:13:51 +0200, Michal Privoznik wrote:
Currently, if we want to zero out disk source (e,g, due to
startupPolicy when starting up a domain) we use
virDomainDiskSetSource(disk, NULL). This works well for file
based storage
On Friday, 31 March 2017 at 7:39 PM, Martin Kletzander wrote:
> On Fri, Mar 31, 2017 at 05:32:16PM +0800, Eli Qiao wrote:
> >
> >
> > On Thursday, 30 March 2017 at 10:03 PM, Martin Kletzander wrote:
> >
> > > Signed-off-by: Martin Kletzander > >
On Friday, 31 March 2017 at 7:19 PM, Martin Kletzander wrote:
> On Fri, Mar 31, 2017 at 09:56:32AM +0800, Eli Qiao wrote:
> >
> > >
> > Okay, cool, this comes better than my patches and have some differences.
> > I am open with this as long as that it can meet cache allocation requires
> >
On Fri, Mar 31, 2017 at 13:13:51 +0200, Michal Privoznik wrote:
> Currently, if we want to zero out disk source (e,g, due to
> startupPolicy when starting up a domain) we use
> virDomainDiskSetSource(disk, NULL). This works well for file
> based storage (storage type file, dir, or block). But it
On Fri, Mar 31, 2017 at 01:13:51PM +0200, Michal Privoznik wrote:
Currently, if we want to zero out disk source (e,g, due to
startupPolicy when starting up a domain) we use
virDomainDiskSetSource(disk, NULL). This works well for file
based storage (storage type file, dir, or block). But it
Validate that users don't try to disable vcpu 0 and reject attempt to
modify a vcpu to the state it is currently in.
---
src/qemu/qemu_hotplug.c | 36
1 file changed, 36 insertions(+)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index
Make sure that non-hotpluggable vcpus stay clustered at the beginning
after modifying persistent definition.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1437010
---
src/qemu/qemu_hotplug.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/src/qemu/qemu_hotplug.c
'next' is declared as 'ssize_t' so use '%zd'
---
src/qemu/qemu_hotplug.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index b5b520d8c..48de6b815 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@
Resolve a few corner cases which would create invalid configurations or produce
bad error messages.
Peter Krempa (5):
qemu: hotplug: Iterate over vcpu 0 in individual vcpu hotplug code
qemu: hotplug: Fix formatting strings in
qemuDomainFilterHotplugVcpuEntities
qemu: hotplug: Clear vcpu
Buggy condition meant that vcpu0 would not be iterated in the checks.
Since it's not hotpluggable anyways we would not be able to break the
configuration of a live VM.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1437013
---
src/qemu/qemu_hotplug.c | 6 +++---
1 file changed, 3
Vcpu order is required to stay sequential. Clear the order on cpu
coldplug to avoid issues with removing vcpus out of sequence.
---
src/qemu/qemu_hotplug.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index
On Fri, Mar 31, 2017 at 01:13:50PM +0200, Michal Privoznik wrote:
Signed-off-by: Michal Privoznik
---
src/conf/domain_conf.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
ACK and safe for freeze.
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
On Fri, Mar 31, 2017 at 05:32:16PM +0800, Eli Qiao wrote:
On Thursday, 30 March 2017 at 10:03 PM, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander
---
src/libvirt_private.syms | 5 +++
src/util/virsysfs.c | 102
On 03/30/2017 01:40 PM, Paul Gildea wrote:
Hi, I am starting a libvritd process when booting up an embedded networking
system via python, like so:
subprocess.Popen(["libvirtd","-d"],stdout=subprocess.PIPE,stderr=subprocess.PIPE)
This runs and works fine for version 1.2.20. However after I
Currently, if we want to zero out disk source (e,g, due to
startupPolicy when starting up a domain) we use
virDomainDiskSetSource(disk, NULL). This works well for file
based storage (storage type file, dir, or block). But it doesn't
work at all for other types like volume and network.
So imagine
On Fri, Mar 31, 2017 at 09:56:32AM +0800, Eli Qiao wrote:
Okay, cool, this comes better than my patches and have some differences.
I am open with this as long as that it can meet cache allocation requires and
everyone will be happy.
I am ++ for this.
But I am not sure expose all of cache
On 03/30/2017 06:00 PM, Laine Stump wrote:
On 03/28/2017 05:08 AM, Michal Privoznik wrote:
On 03/28/2017 02:22 AM, Laine Stump wrote:
On 03/22/2017 10:43 AM, Michal Privoznik wrote:
Signed-off-by: Michal Privoznik
---
src/network/bridge_driver.c | 21
Signed-off-by: Michal Privoznik
---
src/conf/domain_conf.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 1b0a55b..01553b5 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@
On Fri, Mar 31, 2017 at 09:32:06AM +0800, Eli Qiao wrote:
On Thursday, 30 March 2017 at 10:03 PM, Martin Kletzander wrote:
Signed-off-by: Martin Kletzander
---
src/libvirt_private.syms | 1 +
src/util/virsysfs.c | 17 -
Patch 1/2 is just a cleanup; patch 2/2 fixes the actual issue.
Michal Privoznik (2):
virDomainDiskDefForeachPath: Prefer virStorageSourceIsLocalStorage
Introduce and use virDomainDiskZeroSource
src/conf/domain_conf.c | 27 ---
src/conf/domain_conf.h | 1 +
On Fri, Mar 31, 2017 at 09:26:34AM +0800, Eli Qiao wrote:
> +# util/virresctrl.h
> +virResCtrlAvailable;
> +virResCtrlInit;
> +
>
This has nothing to do in the patch
Okay, this should be involved by mistake while rebasing.
> # util/virrotatingfile.h
> virRotatingFileReaderConsume;
>
On Fri, Mar 31, 2017 at 12:28:26PM +0200, Erik Skultety wrote:
#define VIR_SYSFS_VALUE_MAXLEN 8192
#define SYSFS_SYSTEM_PATH "/sys/devices/system"
+#define SYSFS_RESCTRL_PATH "/sys/fs/resctrl"
static const char *sysfs_system_path = SYSFS_SYSTEM_PATH;
+static const char *sysfs_resctrl_path =
> #define VIR_SYSFS_VALUE_MAXLEN 8192
> #define SYSFS_SYSTEM_PATH "/sys/devices/system"
> +#define SYSFS_RESCTRL_PATH "/sys/fs/resctrl"
>
> static const char *sysfs_system_path = SYSFS_SYSTEM_PATH;
> +static const char *sysfs_resctrl_path = SYSFS_RESCTRL_PATH;
>
>
> void
> ACK and safe for freeze.
>
> Jirka
Thanks, I pushed the patch.
Erik
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Extended /sys/fs/resctrl sysfs handling such as:
Read string/uint.
Write string.
Create/remove directory.
All these operations will be while we are enabled CAT feature later.
Signed-off-by: Eli Qiao
---
src/libvirt_private.syms | 9 +++
src/util/virsysfs.c
On Thursday, 30 March 2017 at 10:03 PM, Martin Kletzander wrote:
> Signed-off-by: Martin Kletzander (mailto:mklet...@redhat.com)>
> ---
> src/libvirt_private.syms | 5 +++
> src/util/virsysfs.c | 102 +++
> src/util/virsysfs.h |
On Fri, Mar 31, 2017 at 10:29:25 +0200, Erik Skultety wrote:
> There was an unhandled 'open' call which resulted in:
>
> "error: Library function returned error but did not set virError"
>
> Even if this happens during the daemon's start when we still don't have
> any set of outputs defined yet,
There was an unhandled 'open' call which resulted in:
"error: Library function returned error but did not set virError"
Even if this happens during the daemon's start when we still don't have
any set of outputs defined yet, we can safely report an error, since we
automatically fallback to stderr
On Thu, Mar 16, 2017 at 1:29 PM, Daniel P. Berrange
wrote:
> On Tue, Mar 07, 2017 at 12:27:58AM -0500, D L wrote:
> > On Sun, Mar 5, 2017 at 2:47 AM, Michal Privoznik
> wrote:
> > Regarding fuzzing, I think we can try several fuzzing tools to run in
> >
On Fri, Mar 31, 2017 at 03:57:41 -0400, Dan wrote:
> Hi all,
>
> I have seen libxml2 has already been added as a project in oss-fuzz [1].
> Any idea about libvirt? While we could do our own fuzzing of some form, do
> we want to also try it out using google's free resource?
The oss-fuzz project
Hi all,
I have seen libxml2 has already been added as a project in oss-fuzz [1].
Any idea about libvirt? While we could do our own fuzzing of some form, do
we want to also try it out using google's free resource?
Dan
[1] https://github.com/google/oss-fuzz
--
libvir-list mailing list
On Wed, Mar 29, 2017 at 16:30:41 +0200, Ján Tomko wrote:
> On Wed, Mar 29, 2017 at 09:28:16AM +0200, Peter Krempa wrote:
> > After the release it's necessary to add a new section for the
> > upcoming release. Add a template so that it does not have to be
> > compiled over and over again.
>
>
58 matches
Mail list logo