Re: [PATCH 00/10] Another set of qemu namespace fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 30, 2017 at 11:15 AM +0100, Michal Privoznik <mprivozn@xxxxxxxxxx> 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@xxxxxxxxxx
> 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


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux