~wesley-wiedenmeier/curtin/vmtest-webhook-delay

Viewing all changes in revision 373.

  • Committer: Ryan Harper
  • Date: 2016-04-04 18:20:33 UTC
  • Revision ID: ryan.harper@canonical.com-20160404182033-322gatyeijdtbo1i
block: fix partition path issue with nvme devices

- added vmtest test case for nvme devices using qemu nvme emulation
- when finding the kname of a partition curtin will check if the partition is
  a nvme device and prepend a 'p' before the partition number to ensure that
  the kname is in the format nvme<DEVNUM>p<PARTNUM>
- curtin will do the same for mmcblk devices since they also prepend a 'p' to
  the partition number
- since the partition number is still represented numerically and is only
  converted to this format when used, previous determine_partition_number code
  does not need to be modified, so there will not be any change to config
  files needed for nvme devices
- Disable nvme on precise (does not support it without HWE kernels)
  Trusty and Vivid do not have /sys/class/nvme, use /dev/nvme* instead
  Add additional collect files for easier debugging.
- disable arch s390x, does not support nvme pci disks

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: