Skip to content

Update block tests to use xvd rather than SCSI or IDE

Tony Breeds xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Update all block tests to use the Xen Virtual Block Device (xvd) rather than IDE or SCSItools/xm-test/tests/block-create/01_block_attach_device_pos.py tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py +19 more+128 -1300 replies
2/3Add xvd devices to the initrdtools/xm-test/ramdisk/patches/buildroot/add_xvd_devices.patch+13 -00 replies
3/3Bump xm-test version to 1.1 to accommodate new devicestools/xm-test/configure.ac tools/xm-test/ramdisk/README-XenSource-initrd-1.1-img+46 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3][TOOLS][XM-TEST] Update block tests to use xvd rather than SCSI or IDE

Hello All,
This patch Updates all the block specific tests in xm-test to
use the Xen Virtual Block Devices rather than overriding the SCSI or IDE subsystems. It also cleans up some whitespace problems (Which looking back I should have done in a separate patchset).

The last patch (3/3) bumps the version number of xm-test to 1.1, as these new block tests will certainly fail with older initrd's due to the lack of xvd device nodes in the initrd.

I've tested these patches with no regressions on x86, and a number of improvements on PPC.

---

tools/xm-test/configure.ac                                                            |    2 
tools/xm-test/ramdisk/README-XenSource-initrd-1.1-img                                 |   45 ++++++++++
tools/xm-test/ramdisk/patches/buildroot/add_xvd_devices.patch                         |   13 ++
tools/xm-test/tests/block-create/01_block_attach_device_pos.py                        |   10 +-
tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py                   |    8 -
tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py             |   16 +--
tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py |   18 ++--
tools/xm-test/tests/block-create/06_block_attach_baddomain_neg.py                     |    8 -
tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py                     |   14 +--
tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py                |   16 +--
tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py |   44 ++++-----
tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py          |   30 +++---
tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py                       |    2 
tools/xm-test/tests/block-create/12_block_attach_shared_domU.py                       |    2 
tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py                     |    8 -
tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py                     |    8 -
tools/xm-test/tests/block-destroy/04_block-destroy_nonattached_neg.py                 |    2 
tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py                      |    8 -
tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py                  |   10 +-
tools/xm-test/tests/block-integrity/01_block_device_read_verify.py                    |    4 
tools/xm-test/tests/block-integrity/02_block_device_write_verify.py                   |    4 
tools/xm-test/tests/block-list/01_block-list_pos.py                                   |    6 -
tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py                          |    6 -
tools/xm-test/tests/block-list/03_block-list_anotherbd_pos.py                         |   10 +-
tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py                       |   24 ++---
25 files changed, 187 insertions(+), 131 deletions(-)