Re: [Autotest] [PATCH 1/6] KVM test: Added floppy and tftp options to qemu command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI, patchset applied!

On Fri, Oct 9, 2009 at 5:40 PM, Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> wrote:
> This allows you to not specify the full path in the
> config file, appends to the image dir.
>
> Signed-off-by: David Huff <dhuff@xxxxxxxxxx>
> ---
>  client/tests/kvm/kvm_vm.py |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
>
> diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
> index d4461d3..82f1eb4 100755
> --- a/client/tests/kvm/kvm_vm.py
> +++ b/client/tests/kvm/kvm_vm.py
> @@ -264,6 +264,18 @@ class VM:
>             iso = kvm_utils.get_path(root_dir, iso)
>             qemu_cmd += " -cdrom %s" % iso
>
> +        # We may want to add {floppy_otps} parameter for -fda
> +        # {fat:floppy:}/path/. However vvfat is not usually recommended
> +        floppy = params.get("floppy")
> +        if floppy:
> +            floppy = os.path.join(root_dir, floppy)
> +            qemu_cmd += " -fda %s" % floppy
> +
> +        tftp = params.get("tftp")
> +        if tftp:
> +            tftp = os.path.join(root_dir, tftp)
> +            qemu_cmd += " -tftp %s" % tftp
> +
>         extra_params = params.get("extra_params")
>         if extra_params:
>             qemu_cmd += " %s" % extra_params
> --
> 1.6.2.5
>
> _______________________________________________
> Autotest mailing list
> Autotest@xxxxxxxxxxxxxxx
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>



-- 
Lucas
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux