This series makes several enhancements to tests for v2v conversion of
Windows guests. Specifically, it
- adds a number of files which imitate the stuff that is supposed to
be present on the host when the actual conversion is performed, but
may not be there when the tests are run. This includes certain
tools and virtio drivers
- fixes the test for windows conversion to actually check that the
guest filesystem contains the expected files and directories upon
conversion
- adds a test for the case when virtio windows drivers are provied on
an iso image
Roman Kagan (5):
v2v:tests: use fake rhsrvany.exe
v2v: add fake rhev-apt.exe
v2v:test:win: actually check the eventual layout
v2v:tests: use fake virtio-win drivers
v2v: add test for v2v with virtio-win drivers on iso
---
changes since v1:
- dropped patch merged earlier
- moved the fake-* under v2v, and avoid touching the rest
- referred to fake-* stuff via $PWD in test scripts
- updated Makefile to package the newly added files (unreliable since
make dist is still broken)
- changed the way the presence of files in the guest is checked to
address the comments to v1
.gitignore | 1 +
v2v/Makefile.am | 18 +++++++
v2v/fake-virt-tools/rhev-apt.exe | 1 +
v2v/fake-virt-tools/rhsrvany.exe | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/netkvm.cat | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/netkvm.inf | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/netkvm.sys | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/qxl.cat | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/qxl.inf | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/qxl.sys | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/vioscsi.cat | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/vioscsi.inf | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/vioscsi.sys | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/viostor.cat | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/viostor.inf | 1 +
v2v/fake-virtio-win/drivers/i386/Win7/viostor.sys | 1 +
v2v/test-v2v-cdrom.sh | 7 +--
v2v/test-v2v-i-disk.sh | 6 +--
v2v/test-v2v-i-ova-formats.sh | 6 +--
v2v/test-v2v-i-ova-gz.sh | 6 +--
v2v/test-v2v-i-ova-two-disks.sh | 7 +--
v2v/test-v2v-i-ova.sh | 7 +--
v2v/test-v2v-networks-and-bridges.sh | 6 +--
v2v/test-v2v-no-copy.sh | 6 +--
v2v/test-v2v-o-glance.sh | 6 +--
v2v/test-v2v-o-libvirt.sh | 6 +--
v2v/test-v2v-o-null.sh | 6 +--
v2v/test-v2v-o-qemu.sh | 6 +--
v2v/test-v2v-o-rhev.sh | 6 +--
v2v/test-v2v-o-vdsm-options.sh | 6 +--
v2v/test-v2v-oa-option.sh | 6 +--
v2v/test-v2v-of-option.sh | 6 +--
v2v/test-v2v-on-option.sh | 6 +--
v2v/test-v2v-sound.sh | 6 +--
...ws-conversion.sh => test-v2v-virtio-win-iso.sh} | 59 +++++++++++++++-------
v2v/test-v2v-windows-conversion.sh | 45 +++++++++++++----
36 files changed, 130 insertions(+), 118 deletions(-)
create mode 100644 v2v/fake-virt-tools/rhev-apt.exe
create mode 100644 v2v/fake-virt-tools/rhsrvany.exe
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/netkvm.cat
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/netkvm.inf
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/netkvm.sys
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/qxl.cat
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/qxl.inf
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/qxl.sys
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/vioscsi.cat
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/vioscsi.inf
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/vioscsi.sys
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/viostor.cat
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/viostor.inf
create mode 100644 v2v/fake-virtio-win/drivers/i386/Win7/viostor.sys
copy v2v/{test-v2v-windows-conversion.sh => test-v2v-virtio-win-iso.sh} (59%)
--
2.4.3