blockdev_full_backup_multi_disks.cfg 1.6 KB
Newer Older
X
Xu Tian 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
- blockdev_full_backup_multi_disks:
    only Linux
    virt_test_type = qemu libvirt
    kill_vm_on_error = yes
    login_timeout = 240
    storage_pools = default
    storage_type_default = "directory"
    #target_path_default = "/var/lib/avocado/data/avocado-vt"
    images += " src1 src2"
    start_vm = no
    not_preprocess = yes
    storage_pool = default
    image_size_src1 = 200M
    image_name_src1 = "sr1"
    image_size_dst1 = 200M
    image_name_dst1 = "dst1"
    image_format_dst1 = qcow2
    force_create_image_src1 = yes
    force_remove_image_src1 = yes
    image_size_src2 = 300M
    image_name_src2 = "src2"
    image_size_dst2 = 300M
    image_name_dst2 = "dst2"
    image_format_dst2 = qcow2
    force_remove_image_src2 = yes
    force_create_image_src2 = yes
    sync = full
    source_images = src1 src2
    target_images = dst1 dst2
    type = blockdev_full_backup_simple
    backup_options = "sync"
    variants:
        - with_data_plane:
           only Host_RHEL
           no Host_RHEL.m5, Host_RHEL.m6
           only virtio_blk, virtio_scsi
           iothreads = "iothread0 iothread1 iothread2"
           virtio_blk:
               blk_extra_params_image1 = "iothread=iothread0"
               blk_extra_params_src1 = "iothread=iothread1"
               blk_extra_params_src2 = "iothread=iothread2"
           virtio_scsi:
               no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
               bus_extra_params_image1 = "iothread=iothread0"
               bus_extra_params_src1 = "iothread=iothread1"
               bus_extra_params_src2 = "iothread=iothread2"
        - @defaults: