lp:~wesley-wiedenmeier/curtin/nvme

Created by Wesley Wiedenmeier and last modified
Get this branch:
bzr branch lp:~wesley-wiedenmeier/curtin/nvme
Only Wesley Wiedenmeier can upload to this branch. If you are Wesley Wiedenmeier please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Wesley Wiedenmeier
Project:
curtin
Status:
Development

Recent revisions

368. By Wesley Wiedenmeier

Updated vmtests to use the new launch format for special disks

367. By Wesley Wiedenmeier

Added more flexible handling for special storage devices to tools/launch

 - parameters to the --disk flag now have several different formats:
   - --disk "path" - path is set, virtio is used for driver, size if disk must
     be created is set to 5G
   - --disk "path:size" - path is set, size is set, virtio is used for driver
   - --disk "path:size:driver" - path is set, size is set, driver is set
   - --disk "path::driver" - path is set, driver is set, size if disk must be
     created is set to 5G
 - for disks where virtio is to be used, only a single -drive statement will be
   output to xkvm
 - for disks where driver is set to something else such as nvme, a -drive
   statment will be output with if=none, and a -device statement will follow it
   that creates a device with the specified driver using the id of the drive
   for the drive= parameter
 - flag --nvmdisk has been removed as nvme disks can now be attached using
   --disk path:size:nvme

366. By Wesley Wiedenmeier

Moved nvme testing into test_nvme.py. More verification will likely be added
soon. Boot installed system in vmtests with nvme disks attached to make
verification possible.

365. By Wesley Wiedenmeier

Cleaned up nvme related code in block meta

364. By Wesley Wiedenmeier

Fixed partition path issue with nvme devices

 - 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 nvme1p1
 - 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

363. By Wesley Wiedenmeier

Added partitioning config for nvme test case

362. By Wesley Wiedenmeier

Added support for launch --nvmdisk flag to vmtests/__init__.py and added nvme
disk to test_basic

361. By Wesley Wiedenmeier

Added support for nvme emulation in launch

  - new flag: --nvmdisk
  - creates disk and outputs -drive statement to xkvm same as --disk, except
    uses if=none instead of if=virtio to avoid conflict with -device arg, and
    gives ids to each device in format drv[number]
  - outputs -device nvme,drive=drv[number],serial=NVM[number]

360. By Scott Moser

fix tox running for python2 on trusty

This is similar to commit 350. We do not run python2 checkers
against tests/vmtests.

For some reason this just started failing. The change is to just
add a py2-flake8 and py3-flake8 environment. Note, we are not running
py2-flake8 by default right now (its not in the env list)

359. By Scott Moser

tools/ssh-keys-list: fix a bug in modes, add argparse

There was actually no way to request 'json' output. And the mode
'public-keys' would result in a stack trace.

This fixes those 2 issues and adds argparse so we get some help.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.