Re: [libvirt] [PATCH v2 2/3] qemu: Handle device mapper targets properly

2018-03-28 Thread Michal Privoznik
On 03/27/2018 08:56 PM, Peter Krempa wrote: > On Mon, Mar 26, 2018 at 17:22:01 +0200, Michal Privoznik wrote: >> On 03/26/2018 05:17 PM, Peter Krempa wrote: >>> On Mon, Mar 26, 2018 at 16:43:02 +0200, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1557769 Problem

Re: [libvirt] [PATCH v2 2/3] qemu: Handle device mapper targets properly

2018-03-27 Thread Peter Krempa
On Mon, Mar 26, 2018 at 17:22:01 +0200, Michal Privoznik wrote: > On 03/26/2018 05:17 PM, Peter Krempa wrote: > > On Mon, Mar 26, 2018 at 16:43:02 +0200, Michal Privoznik wrote: > >> https://bugzilla.redhat.com/show_bug.cgi?id=1557769 > >> > >> Problem with device mapper targets is that there can b

Re: [libvirt] [PATCH v2 2/3] qemu: Handle device mapper targets properly

2018-03-26 Thread Michal Privoznik
On 03/26/2018 05:17 PM, Peter Krempa wrote: > On Mon, Mar 26, 2018 at 16:43:02 +0200, Michal Privoznik wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1557769 >> >> Problem with device mapper targets is that there can be several >> other devices 'hidden' behind them. For instance, /dev/dm-1 c

Re: [libvirt] [PATCH v2 2/3] qemu: Handle device mapper targets properly

2018-03-26 Thread Peter Krempa
On Mon, Mar 26, 2018 at 16:43:02 +0200, Michal Privoznik wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1557769 > > Problem with device mapper targets is that there can be several > other devices 'hidden' behind them. For instance, /dev/dm-1 can > consist of /dev/sda, /dev/sdb and /dev/sdc.

[libvirt] [PATCH v2 2/3] qemu: Handle device mapper targets properly

2018-03-26 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1557769 Problem with device mapper targets is that there can be several other devices 'hidden' behind them. For instance, /dev/dm-1 can consist of /dev/sda, /dev/sdb and /dev/sdc. Therefore, when setting up devices CGroup and namespaces we have to take t