KVM-test: Only add tftp option when using user nic mode
qemu-kvm man page:
...
-tftp dir
When using the user mode network stack, activate a built-in TFTP server.
The files in dir will be exposed as the root of a TFTP server. The TFTP
client on the guest must be configured in binary mode (use the command
"bin" of the Unix TFTP client). The host IP address on the guest is as
usual 10.0.2.2.
Signed-off-by: Amos Kong <akong@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4693 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed