[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv5] block: add native support for NFS
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCHv5] block: add native support for NFS |
Date: |
Fri, 3 Jan 2014 18:37:23 +0800 |
Looks good. In order to merge this new block driver qemu-iotests
support for nfs is required. That way the block driver can be exercised
and checked for regressions (I guess you performed manual testing
during development).
Please see tests/qemu-iotests/common for examples of
NBD/SSH/Sheepdog/etc support.
The qemu-iotests test suite with raw, qcow2, and vmdk formats should
work on top of NFS. Assuming you have an NFS server already running
on localhost, something like the following should succeed:
cd tests/qemu-iotests
ln -s ../../x86_64-softmmu/qemu-system-x86_64 qemu
ln -s ../../qemu-img .
ln -s ../../qemu-io .
./check -nfs # raw format by default
./check -nfs -qcow2
./check -nfs -vmdk
Maybe -nfs should take the base NFS URI as an argument to allow more
flexible test configurations. It's up to you.
More info on qemu-iotests: http://qemu-project.org/Documentation/QemuIoTests
- Re: [Qemu-devel] [PATCHv5] block: add native support for NFS,
Stefan Hajnoczi <=