lp://qastaging/~wesley-wiedenmeier/curtin/nvme
- Get this branch:
- bzr branch lp://qastaging/~wesley-wiedenmeier/curtin/nvme
Branch merges
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper (community): Needs Fixing
-
Diff: 325 lines (+194/-16)6 files modifiedcurtin/commands/block_meta.py (+18/-5)
examples/tests/nvme.yaml (+73/-0)
tests/vmtests/__init__.py (+20/-2)
tests/vmtests/test_basic.py (+1/-0)
tests/vmtests/test_nvme.py (+48/-0)
tools/launch (+34/-9)
Branch information
Recent revisions
- 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. - 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 - 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://qastaging/~curtin-dev/curtin/trunk