[libvirt] [PATCH 0/4 v2] parallels: better support of volume based disks in containers

Maxim Nestratov mnestratov at parallels.com
Wed Jun 3 21:10:21 UTC 2015


v1-v2 change:
 * Single patch was split into smaller pieces
 * Corrected conflict of "/" mount point in case both filesystem
   and block device disks are being added.

It is possible to attach volumes to containers but since they are
added they are reported erroneously as filesystems. This is fixed
in this patch set. As soon as bus type has no meaning for containers
we always report SATA for such disks.
In case a container is created with a disk based on physical
volume and there is no filesystem disk with root mount point we are
expected to specify mount point block device based disk to be able to
boot from it.

Maxim Nestratov (4):
  parallels: add isCt parameter to prlsdkGetDiskInfo and prlsdkAddDisk
  parallels: process '/' mount point correctly for containers
  parallels: report SATA bus type for container block devices disks
  parallels: treat block devices as disks for containers

 src/parallels/parallels_sdk.c | 52 +++++++++++++++++++++++++++++++------------
 1 file changed, 38 insertions(+), 14 deletions(-)

-- 
2.1.0




More information about the libvir-list mailing list