Re: [libvirt] [Qemu-devel] [PATCH v2] deprecate -mem-path fallback to anonymous RAM

2019-06-25 Thread Markus Armbruster
Igor Mammedov writes: > Fallback might affect guest or worse whole host performance > or functionality if backing file were used to share guest RAM > with another process. > > Patch deprecates fallback so that we could remove it in future > and ensure that QEMU will provide expected behavior and

Re: [libvirt] [PATCH libvirt-python] Fix regression in lxcOpenNamespace

2019-06-25 Thread Sergei Turchanov
Hello! On 25.06.2019 18:41, Ján Tomko wrote: Thanks for catching this! However to be able to catch this, per our rules: https://libvirt.org/governance.html#contributors we need you to provide a sign-off to certify you complied with the Developer Certificate of Origin:

[libvirt] [PATCH libvirt-python] Fix regression in lxcOpenNamespace

2019-06-25 Thread Sergei Turchanov
This fixes regression caused by the 1d39dbaf637db03f6e597ed56b96aa065710b4a1 fdlist[i] erroneously was replaced by fdlist[1] which caused lxcOpenNamespace to return a list with identical elements. Signed-off-by: Sergei Turchanov --- libvirt-lxc-override.c | 2 +- 1 file changed, 1

Re: [libvirt] mdevctl: A shoestring mediated device management and persistence utility

2019-06-25 Thread Alex Williamson
Hi, Based on the discussions we've had, I've rewritten the bulk of mdevctl. I think it largely does everything we want now, modulo devices that will need some sort of 1:N values per key for configuration in the config file versus the 1:1 key:value setup we currently have (so don't consider the

[libvirt] [PATCH 2/2] test_driver: implement virDomainGetFSInfo

2019-06-25 Thread Ilias Stamatis
Always return / and /boot as the mount points imitating a default Fedora installation. Use the first disk found, otherwise if no disk device of type VIR_DOMAIN_DISK_DEVICE_DISK is present, return 0 mount points. Signed-off-by: Ilias Stamatis --- src/test/test_driver.c | 66

[libvirt] [PATCH 1/2] test_driver: add a disk device in the default config

2019-06-25 Thread Ilias Stamatis
Signed-off-by: Ilias Stamatis --- src/test/test_driver.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 4b1f2724a0..1b1ff3003e 100755 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -438,6 +438,11 @@ static const char

[libvirt] [PATCH 0/2] test_driver: add a disk device and implement

2019-06-25 Thread Ilias Stamatis
Ilias Stamatis (2): test_driver: add a disk device in the default config test_driver: implement virDomainGetFSInfo src/test/test_driver.c | 71 ++ 1 file changed, 71 insertions(+) -- 2.22.0 -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH 1/4] tests: Normalize quotes for *-graphics

2019-06-25 Thread Ján Tomko
On Fri, Jun 14, 2019 at 10:04:36AM +0200, Andrea Bolognani wrote: Right now *-headless and *-graphics tests are using different quoting styles, which results in the diff between them being basically useless, whereas we would like it to be possible to compare these files directly and easily spot

Re: [libvirt] [PATCH v2] deprecate -mem-path fallback to anonymous RAM

2019-06-25 Thread Daniel P . Berrangé
On Tue, Jun 25, 2019 at 01:18:01PM -0500, Eric Blake wrote: > On 6/25/19 11:16 AM, Igor Mammedov wrote: > > Fallback might affect guest or worse whole host performance > > or functionality if backing file were used to share guest RAM > > with another process. > > > > Patch deprecates fallback so

Re: [libvirt] [PATCH 4/4] tests: Enable *-headless and *-graphics in qemuxml2xml

2019-06-25 Thread Ján Tomko
On Fri, Jun 14, 2019 at 10:04:39AM +0200, Andrea Bolognani wrote: We didn't do this earlier because the DO_TEST_CAPS_ARCH_LATEST() macro was limited to qemuxml2argv until recently. Signed-off-by: Andrea Bolognani --- .../aarch64-virt-graphics.aarch64-latest.xml | 115 +

Re: [libvirt] [PATCH 2/4] tests: Update *-headless and *-graphics

2019-06-25 Thread Ján Tomko
On Fri, Jun 14, 2019 at 10:04:37AM +0200, Andrea Bolognani wrote: Use the latest virt-manager to regenerate the files. The command line is once again along the lines of $ virt-install \ --name guest --os-variant fedora29 \ --vcpus 4 --memory 4096 --disk size=5 \ --graphics (none|vnc)

Re: [libvirt] [PATCH 3/4] tests: Add riscv64-virt-graphics

2019-06-25 Thread Ján Tomko
On Fri, Jun 14, 2019 at 10:04:38AM +0200, Andrea Bolognani wrote: Support for this has only relatively recently been added to virt-manager. Signed-off-by: Andrea Bolognani --- .../riscv64-virt-graphics.riscv64-latest.args | 59 +++ .../riscv64-virt-graphics.xml |

Re: [libvirt] [PATCH v2] deprecate -mem-path fallback to anonymous RAM

2019-06-25 Thread Eric Blake
On 6/25/19 11:16 AM, Igor Mammedov wrote: > Fallback might affect guest or worse whole host performance > or functionality if backing file were used to share guest RAM > with another process. > > Patch deprecates fallback so that we could remove it in future > and ensure that QEMU will provide

Re: [libvirt] [PATCH 10/10] qemu: hotplug: Remove rest of source backend if hotplug fails

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:55PM +0200, Peter Krempa wrote: When changing media using blockdev-add we need to remove the leftovers if we didn't succeed plugging in the full chain or closing the tray. Otherwise the data structures will be freed and thus the backing chain members will never be

Re: [libvirt] [PATCH 09/10] qemu: hotplug: qemu: hotplug: Use storage chain helpers in qemuDomainChangeMediaBlockdev

2019-06-25 Thread Ján Tomko
[although I'm really not happy with the overprefixing] On Mon, Jun 24, 2019 at 05:38:54PM +0200, Peter Krempa wrote: As this conversion removes the last use of qemuHotplugDiskSource* functions we can remove all of them now. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 188

Re: [libvirt] [PATCH 09/10] qemu: hotplug: qemu: hotplug: Use storage chain helpers in qemuDomainChangeMediaBlockdev

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:54PM +0200, Peter Krempa wrote: As this conversion removes the last use of qemuHotplugDiskSource* functions we can remove all of them now. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 188 ++-- 1 file changed, 7

Re: [libvirt] [PATCH 08/10] qemu: hotplug: Use storage chain helpers in qemuDomainRemoveDiskDevice

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:53PM +0200, Peter Krempa wrote: Use the new helpers for removing the backing chain in case when -blockdev is used. For -drive this function has a local implementation. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 19 +-- 1 file changed,

Re: [libvirt] [PATCH 04/10] qemu: command: Use storage chain helpers in commandline generator

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:49PM +0200, Peter Krempa wrote: Replace the open-coded local implementation with qemuBuildStorageSourceChainAttachPrepare(Drive|Blockdev). Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 34 +++--- 1 file changed, 7

Re: [libvirt] [PATCH 07/10] qemu: hotplug: Use storage chain helpers in qemuDomainAttachDiskGeneric

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:52PM +0200, Peter Krempa wrote: Replace the use of qemuHotplugDiskSourceAttach* helpers with qemuBuildStorageSourceChainAttachPrepare(Blockdev|Drive). Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 19 +++ 1 file changed, 11

Re: [libvirt] [PATCH 06/10] qemu: command: get rid of 'cleanup' in qemuBuildDiskSourceCommandLine

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:51PM +0200, Peter Krempa wrote: Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) Reviewed-by: Ján Tomko Jano signature.asc Description: PGP signature -- libvir-list mailing

Re: [libvirt] [PATCH 05/10] qemu: command: Use VIR_AUTO infrastructure in qemuBuildDiskSourceCommandLine

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:50PM +0200, Peter Krempa wrote: Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) Reviewed-by: Ján Tomko Jano signature.asc Description: PGP signature -- libvir-list mailing list

Re: [libvirt] [PATCH 03/10] qemu: Introduce new set of helpers for attaching and detaching storage chains

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:48PM +0200, Peter Krempa wrote: These are meant to replace the ad-hoc helpers qemuHotplugDiskSourceAtttach... s/ttt/tt/ and the open-coded version in qemu_command.c for use in command line generation. The functions for preparing for attach of chains

Re: [libvirt] [Qemu-devel] [PATCH v2] deprecate -mem-path fallback to anonymous RAM

2019-06-25 Thread Daniel P . Berrangé
On Tue, Jun 25, 2019 at 12:16:29PM -0400, Igor Mammedov wrote: > Fallback might affect guest or worse whole host performance > or functionality if backing file were used to share guest RAM > with another process. > > Patch deprecates fallback so that we could remove it in future > and ensure that

[libvirt] [PATCH v2] deprecate -mem-path fallback to anonymous RAM

2019-06-25 Thread Igor Mammedov
Fallback might affect guest or worse whole host performance or functionality if backing file were used to share guest RAM with another process. Patch deprecates fallback so that we could remove it in future and ensure that QEMU will provide expected behavior and fail if it can't use user provided

[libvirt] Live migration fails with "Migration without shared storage is unsafe" when using netapp storage on CentOS 7 and Libvirt 4.5.0

2019-06-25 Thread Marko Todorić
Hello everyone, We've been using libvirt version 0.10.2 for a long time (on CentOS 6 OS) and now we have started creating new KVM cluster all based on CentOS 7 OS and libvirt version 4.5.0 (that came with CentOS repo). TLDR Version: - When we try to migrate using "virsh migrate test --live

Re: [libvirt] [PATCH] conf: storage: also sanitize source dir

2019-06-25 Thread Peter Krempa
On Tue, Jun 25, 2019 at 13:44:36 +0200, Ján Tomko wrote: > Commit a7fb2258 added sanitization of storage pool target paths, > however source dir paths were left unsanitized. > > A netfs pool with: > > > > > will not be correctly detected as mounted by >

Re: [libvirt] [PATCH 0/3] error: Introdude and use VIR_ERR_DEPRECATED error code

2019-06-25 Thread Ján Tomko
s/dude/duce/ in the subject On Fri, Jun 21, 2019 at 08:33:51AM +0200, Peter Krempa wrote: Peter Krempa (3): error: Add VIR_ERR_DEPRECATED error code qemu: Use VIR_ERR_DEPRECATED in QemuAttach and DomainXMLFromNative stubs news: Mention VIR_ERR_DEPRECATED in improvements docs/news.xml

Re: [libvirt] [PATCH 0/3] error: Introdude and use VIR_ERR_DEPRECATED error code

2019-06-25 Thread Peter Krempa
On Fri, Jun 21, 2019 at 08:33:51 +0200, Peter Krempa wrote: > Peter Krempa (3): > error: Add VIR_ERR_DEPRECATED error code > qemu: Use VIR_ERR_DEPRECATED in QemuAttach and DomainXMLFromNative > stubs > news: Mention VIR_ERR_DEPRECATED in improvements > > docs/news.xml |

[libvirt] [PATCH v2 4/4] qemu: Supply correct default type for 'dir' based VIR_STORAGE_TYPE_VOLUME

2019-06-25 Thread Peter Krempa
Our code would skip adding the default type in this cases, but since we know that the only reasonable option here is 'fat' we can add it while starting the VM. Signed-off-by: Peter Krempa --- src/qemu/qemu_domain.c| 12 +---

[libvirt] [PATCH v2 1/4] util: storage: Fix virStorageSourceGetActualType if volume was not translated

2019-06-25 Thread Peter Krempa
virStorageSourceGetActualType would return VIR_STORAGE_TYPE_NONE in case when a virStorageSource of (top level) type VIR_STORAGE_TYPE_VOLUME was not prepared to use by the vm by calling virDomainDiskTranslateSourcePool. Fix this issue by returning VIR_STORAGE_TYPE_VOLUME in case when the volume

[libvirt] [PATCH v2 2/4] qemu: command: Use 'actualType' when deciding whether to use disk format

2019-06-25 Thread Peter Krempa
qemuBuildDriveSourceStr omits the disk format string when we are emulating a 'fat' filesystem froma directory. The logic should decide based on the 'actualType' as a disk type=pool may be converted to a directory. Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 2 +- 1 file changed, 1

[libvirt] [PATCH v2 3/4] qemu: domain: Allow 'VIR_STORAGE_TYPE_VOLUME' disks with 'fat' format

2019-06-25 Thread Peter Krempa
The storage volume may in fact convert into a directory when starting the VM so that it may be actually possible to use it. This is a regression caused by c9b27af32d5 as moving the check to validation time without adjustment causes problems as the volumes are not translated yet. Signed-off-by:

[libvirt] [PATCH v2 0/4] qemu: Fix handling of 'dir' volumes with disk type='volume'

2019-06-25 Thread Peter Krempa
Peter Krempa (4): util: storage: Fix virStorageSourceGetActualType if volume was not translated qemu: command: Use 'actualType' when deciding whether to use disk format qemu: domain: Allow 'VIR_STORAGE_TYPE_VOLUME' disks with 'fat' format qemu: Supply correct default type for 'dir'

Re: [libvirt] [PATCH 02/10] qemu: hotplug: Handle copy-on-read filter separate from rest of backing chain

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:47PM +0200, Peter Krempa wrote: We use only one copy-on-read filter per disk, so we should handle it separately from the chain. Signed-off-by: Peter Krempa --- src/qemu/qemu_hotplug.c | 46 ++--- 1 file changed, 25 insertions(+),

Re: [libvirt] [PATCH 01/10] qemu: block: Move and rename qemuHotplugRemoveStorageSourcePrepareData

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 05:38:46PM +0200, Peter Krempa wrote: Move it to qemu_block.c and call it qemuBlockStorageSourceDetachPrepare. It will be reused in other parts as well. Signed-off-by: Peter Krempa --- src/qemu/qemu_block.c | 57 +

Re: [libvirt] [PATCH 0/3] qemu: Fix handling of 'dir' volumes with disk type='volume'

2019-06-25 Thread Peter Krempa
On Tue, Jun 25, 2019 at 15:31:40 +0200, Peter Krempa wrote: > Peter Krempa (3): > util: storage: Fix virStorageSourceGetActualType if volume was not > translated > qemu: domain: Allow 'VIR_STORAGE_TYPE_VOLUME' disks with 'fat' format > qemu: Supply correct default type for 'dir' based >

[libvirt] [PATCH 3/3] qemu: Supply correct default type for 'dir' based VIR_STORAGE_TYPE_VOLUME

2019-06-25 Thread Peter Krempa
Our code would skip adding the default type in this cases, but since we know that the only reasonable option here is 'fat' we can add it while starting the VM. Signed-off-by: Peter Krempa --- src/qemu/qemu_domain.c| 12 +---

[libvirt] [PATCH 2/3] qemu: domain: Allow 'VIR_STORAGE_TYPE_VOLUME' disks with 'fat' format

2019-06-25 Thread Peter Krempa
The storage volume may in fact convert into a directory when starting the VM so that it may be actually possible to use it. This is a regression caused by c9b27af32d5 as moving the check to validation time without adjustment causes problems as the volumes are not translated yet. Signed-off-by:

[libvirt] [PATCH 1/3] util: storage: Fix virStorageSourceGetActualType if volume was not translated

2019-06-25 Thread Peter Krempa
virStorageSourceGetActualType would return VIR_STORAGE_TYPE_NONE in case when a virStorageSource of (top level) type VIR_STORAGE_TYPE_VOLUME was not prepared to use by the vm by calling virDomainDiskTranslateSourcePool. Fix this issue by returning VIR_STORAGE_TYPE_VOLUME in case when the volume

[libvirt] [PATCH 0/3] qemu: Fix handling of 'dir' volumes with disk type='volume'

2019-06-25 Thread Peter Krempa
Peter Krempa (3): util: storage: Fix virStorageSourceGetActualType if volume was not translated qemu: domain: Allow 'VIR_STORAGE_TYPE_VOLUME' disks with 'fat' format qemu: Supply correct default type for 'dir' based VIR_STORAGE_TYPE_VOLUME src/qemu/qemu_domain.c

[libvirt] Plans for next release

2019-06-25 Thread Daniel Veillard
Ideally if we want to push the next release on Monday, we should enter freeze tomorrow, then push Rc2 on Friday and then if everything goes well we can push 5.5.0 final next Monday. Hopefully that plan works for everyone, Daniel -- Daniel Veillard | Red Hat Developers Tools

Re: [libvirt] [PATCH] qemu: distinguish pr disk before qemuHotplugRemoveManagedPR

2019-06-25 Thread wangjie (P)
Ping On 2019/6/18 21:28, Jie Wang wrote: when a disk without PR perform attach or detach operation, need not call qemuHotplugRemoveManagedPR, otherwise, it will print err log about PR, let us fix it. Signed-off-by: Jie Wang --- src/qemu/qemu_hotplug.c | 7 +-- 1 file changed, 5

Re: [libvirt] [PATCH] storage: omit comma for ceph mon hosts to librados

2019-06-25 Thread Daniel P . Berrangé
Shouldn't the $SUBJECT be "add missing comma" not "omit comma", since you are adding a missing comma here. On Tue, Jun 25, 2019 at 07:41:25PM +0800, Yi Li wrote: > Silly mistakes omit the comma for multiple ipaddr > Fixes: cdd362e0e7a34d4f8f102c75f2ca513d23dd1db0 > > Signed-off-by: Yi Li > ---

Re: [libvirt] [PATCH] storage: omit comma for ceph mon hosts to librados

2019-06-25 Thread Ján Tomko
s/omit/fix omitted/ On Tue, Jun 25, 2019 at 07:41:25PM +0800, Yi Li wrote: Silly mistakes omit the comma for multiple ipaddr Fixes: cdd362e0e7a34d4f8f102c75f2ca513d23dd1db0 Signed-off-by: Yi Li --- src/storage/storage_backend_rbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[libvirt] [PATCH] conf: storage: also sanitize source dir

2019-06-25 Thread Ján Tomko
Commit a7fb2258 added sanitization of storage pool target paths, however source dir paths were left unsanitized. A netfs pool with: will not be correctly detected as mounted by virStorageBackendFileSystemIsMounted, because it shows up in the mount list without the trailing slash.

[libvirt] [PATCH] storage: omit comma for ceph mon hosts to librados

2019-06-25 Thread Yi Li
Silly mistakes omit the comma for multiple ipaddr Fixes: cdd362e0e7a34d4f8f102c75f2ca513d23dd1db0 Signed-off-by: Yi Li --- src/storage/storage_backend_rbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storage/storage_backend_rbd.c

[libvirt] [PATCH] qemu: De-duplicate some path definitions

2019-06-25 Thread Michal Privoznik
There are some paths (e.g. /dev/vfio/vfio or /dev/mapper/control) which are defined in qemu_domain.c and then in qemu_cgroup.c again. This is suboptimal. Lets move paths into qemu_domain.h and drop duplicate definitions. Signed-off-by: Michal Privoznik --- src/qemu/qemu_cgroup.c | 13

Re: [libvirt] [Qemu-devel] [PATCH] deprecate -mem-path fallback to anonymous RAM

2019-06-25 Thread Igor Mammedov
On Mon, 24 Jun 2019 16:01:49 +0200 Markus Armbruster wrote: > Igor Mammedov writes: > > > On Mon, 24 Jun 2019 10:17:33 +0200 > > Markus Armbruster wrote: > > > >> Igor Mammedov writes: > >> > >> > Fallback might affect guest or worse whole host performance > >> > or functionality if

[libvirt] [PATCH v3 2/7] util: vircgroup: improve controller detection

2019-06-25 Thread Pavel Hrdina
This affects only cgroups v2 where enabled controllers are not based on available mount points but on the list provided in cgroup.controllers file. However, moving it will fill in placement as well, so it needs to be freed together with mount point if we don't need that controller. Before this

[libvirt] [PATCH v3 0/7] cgroups v2 fixes and improvements

2019-06-25 Thread Pavel Hrdina
Pavel Hrdina (7): util: vircgroup: pass parent cgroup into virCgroupDetectControllersCB util: vircgroup: improve controller detection util: vircgroupv2: use any controller to create thread directory util: vircgroupv2: enable CPU controller only if it's available util: vircgroupv2:

[libvirt] [PATCH v3 7/7] util: vircgroupv2: mark only requested controllers as available

2019-06-25 Thread Pavel Hrdina
When detecting available controllers on host we can be limited by list of controllers from qemu.conf file. Signed-off-by: Pavel Hrdina --- Notes: Introduced in v3 src/util/vircgroupv2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/vircgroupv2.c

[libvirt] [PATCH v3 3/7] [ACKED] util: vircgroupv2: use any controller to create thread directory

2019-06-25 Thread Pavel Hrdina
The assumption that CPU controller would be always enabled is wrong, we should use any available controller to create a new sub-cgroup. Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko --- src/util/vircgroupv2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[libvirt] [PATCH v3 5/7] util: vircgroupv2: separate return values of virCgroupV2EnableController

2019-06-25 Thread Pavel Hrdina
In order to skip controllers that we are not able to activate we need to return different return value so the caller can decide what to do. Signed-off-by: Pavel Hrdina --- Notes: Introduced in v2 src/util/vircgroupv2.c | 19 +-- 1 file changed, 17 insertions(+), 2

[libvirt] [PATCH v3 4/7] [ACKED] util: vircgroupv2: enable CPU controller only if it's available

2019-06-25 Thread Pavel Hrdina
It might happen that we are not able to enable CPU controller so we can enable it for thread sub-cgroups only if it's available in parent cgroup. Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko --- src/util/vircgroupv2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[libvirt] [PATCH v3 6/7] util: vircgroupv2: don't error out if enabling controller fails

2019-06-25 Thread Pavel Hrdina
Currently CPU controller cannot be enabled if there is any real-time task running and is assigned to non-root cgroup which is the case on several distributions with graphical environment. Instead of erroring out treat it as the controller is not available. Signed-off-by: Pavel Hrdina ---

[libvirt] [PATCH v3 1/7] [ACKED] util: vircgroup: pass parent cgroup into virCgroupDetectControllersCB

2019-06-25 Thread Pavel Hrdina
In cgroups v2 we don't have to detect available controllers every single time if we are creating a new cgroup based on parent cgroup. Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko --- src/util/vircgroup.c| 2 +- src/util/vircgroupbackend.h | 3 ++- src/util/vircgroupv1.c |

Re: [libvirt] [PATCH 0/4] tests: Tweaks and updates to *-headless and *-graphics

2019-06-25 Thread Andrea Bolognani
On Fri, 2019-06-14 at 10:04 +0200, Andrea Bolognani wrote: > *** BLURBY MCBLURBFACE *** > > Andrea Bolognani (4): > tests: Normalize quotes for *-graphics > tests: Update *-headless and *-graphics > tests: Add riscv64-virt-graphics > tests: Enable *-headless and *-graphics in qemuxml2xml

Re: [libvirt] [PATCH v2 0/6] cgroups v2 fixes and improvements

2019-06-25 Thread Pavel Hrdina
On Fri, Jun 21, 2019 at 03:32:40PM +0200, Pavel Hrdina wrote: > Pavel Hrdina (6): > util: vircgroup: pass parent cgroup into virCgroupDetectControllersCB > util: vircgroup: improve controller detection > util: vircgroupv2: use any controller to create thread directory > util: vircgroupv2:

Re: [libvirt] [PATCH 2/3] tests: qemustatusxml2xml: Add a seclabel for a disk with privateData

2019-06-25 Thread Ján Tomko
On Tue, Jun 25, 2019 at 10:50:56AM +0200, Peter Krempa wrote: On Tue, Jun 25, 2019 at 10:46:28 +0200, Ján Tomko wrote: On Mon, Jun 24, 2019 at 06:27:12PM +0200, Peter Krempa wrote: > Adding a seclabel breaks the output by improperly handling the XPath > context and thus not being able to parse

Re: [libvirt] [PATCH 2/3] tests: qemustatusxml2xml: Add a seclabel for a disk with privateData

2019-06-25 Thread Peter Krempa
On Tue, Jun 25, 2019 at 10:46:28 +0200, Ján Tomko wrote: > On Mon, Jun 24, 2019 at 06:27:12PM +0200, Peter Krempa wrote: > > Adding a seclabel breaks the output by improperly handling the XPath > > context and thus not being able to parse the . > > > > However nice it is to see the effects of

Re: [libvirt] [PATCH 3/3] conf: domain: Restore XPath context after virSecurityDeviceLabelDefParseXML

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 06:27:13PM +0200, Peter Krempa wrote: The function modifies the context but did not care to restore it back. If a was used on a disk, the would not be parsed. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 1 +

Re: [libvirt] [PATCH 2/3] tests: qemustatusxml2xml: Add a seclabel for a disk with privateData

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 06:27:12PM +0200, Peter Krempa wrote: Adding a seclabel breaks the output by improperly handling the XPath context and thus not being able to parse the . However nice it is to see the effects of the fix during review, I think we should not be adding broken test data

Re: [libvirt] [PATCH 1/3] tests: qemustatusxml2xml: Split out the output file for 'modern' test

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 06:27:11PM +0200, Peter Krempa wrote: Upcomming patch will add an example which changes output-only. Signed-off-by: Peter Krempa --- tests/qemustatusxml2xmldata/modern-out.xml | 471 - 1 file changed, 470 insertions(+), 1 deletion(-) mode change

Re: [libvirt] [PATCH libvirt-python] Fix regression in lxcOpenNamespace

2019-06-25 Thread Ján Tomko
On Tue, Jun 25, 2019 at 10:29:52AM +1000, Sergei Turchanov wrote: Hello! Hi! Two weeks passed and still this fix not applied. Oops. Is no one interested fixing it? Wrong mailing list? Anything? Please, answer. On 10.06.2019 13:45, Sergei Turchanov wrote: This fixes regression caused