[libvirt] [PATCH 00/10] Another set of qemu namespace fixes
Marc Hartmayer
mhartmay at linux.vnet.ibm.com
Mon Jan 30 16:37:42 UTC 2017
On Mon, Jan 30, 2017 at 11:15 AM +0100, Michal Privoznik <mprivozn at redhat.com> wrote:
> On 01/20/2017 10:42 AM, Michal Privoznik wrote:
>> The major problem was with symlinks. Imagine the following chain of symlinks:
>>
>> /dev/my_awesome_disk -> /home/user/blaah -> /dev/disk/by-uuid/$uuid -> /dev/sda
>>
>> We really need to create all those /dev/* symlinks and /dev/sda device. Also,
>> some other (less critical) bugs are fixed.
>>
>> Michal Privoznik (10):
>> virProcessRunInMountNamespace: Report errors from child
>> util: Introduce virFileReadLink
>> qemuDomainPrepareDisk: Fix ordering
>> qemuSecurityRestoreAllLabel: Don't use transactions
>> qemu_security: Use more transactions
>> qemuDomain{Attach,Detach}Device NS helpers: Don't relabel devices
>> qemuDomainCreateDevice: Properly deal with symlinks
>> qemuDomainCreateDevice: Don't loop endlessly
>> qemuDomainAttachDeviceMknod: Deal with symlinks
>> qemuDomainAttachDeviceMknod: Don't loop endlessly
>>
>> src/libvirt_private.syms | 1 +
>> src/qemu/qemu_domain.c | 438 +++++++++++++++++++++++++++--------------------
>> src/qemu/qemu_hotplug.c | 20 +--
>> src/qemu/qemu_security.c | 137 +++++++++------
>> src/util/virfile.c | 12 ++
>> src/util/virfile.h | 2 +
>> src/util/virprocess.c | 8 +-
>> 7 files changed, 374 insertions(+), 244 deletions(-)
>>
>
> _____ _
> | __ (_)
> | |__) | _ __ __ _
> | ___/ | '_ \ / _` |
> | | | | | | | (_| |
> |_| |_|_| |_|\__, |
> __/ |
> |___/
>
> Michal
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
Tested the patch series and the problems with v3.0.0
- starting domains with hostdev devices
- hot plugging
seem to be fixed.
--
Beste Grüße / Kind regards
Marc Hartmayer
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
More information about the libvir-list
mailing list