051 (f3e3b083d4c266ea864ae3c83da49d4086857679) | 051 (15489c769b9a4b3bec5b5848af2960689d7b4bd8) |
---|---|
1#!/bin/bash 2# 3# Test command line configuration of block devices and driver-specific options 4# 5# Copyright (C) 2013 Red Hat, Inc. 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by --- 94 unchanged lines hidden (view full) --- 103echo 104 105run_qemu -device virtio-scsi-pci -device scsi-hd 106 107echo 108echo === Overriding backing file === 109echo 110 | 1#!/bin/bash 2# 3# Test command line configuration of block devices and driver-specific options 4# 5# Copyright (C) 2013 Red Hat, Inc. 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by --- 94 unchanged lines hidden (view full) --- 103echo 104 105run_qemu -device virtio-scsi-pci -device scsi-hd 106 107echo 108echo === Overriding backing file === 109echo 110 |
111echo "info block" | run_qemu -drive file="$TEST_IMG",driver=qcow2,backing.file.filename="$TEST_IMG.orig" -nodefaults | 111echo "info block" | run_qemu -drive file="$TEST_IMG",driver=qcow2,backing.file.filename="$TEST_IMG.orig" -nodefaults\ 112 | _filter_generated_node_ids |
112 113# Drivers that don't support backing files 114run_qemu -drive file="$TEST_IMG",driver=raw,backing.file.filename="$TEST_IMG.orig" 115run_qemu -drive file="$TEST_IMG",file.backing.driver=file,file.backing.filename="$TEST_IMG.orig" 116run_qemu -drive file="$TEST_IMG",file.backing.driver=qcow2,file.backing.file.filename="$TEST_IMG.orig" 117 118echo 119echo === Enable and disable lazy refcounting on the command line, plus some invalid values === --- 162 unchanged lines hidden --- | 113 114# Drivers that don't support backing files 115run_qemu -drive file="$TEST_IMG",driver=raw,backing.file.filename="$TEST_IMG.orig" 116run_qemu -drive file="$TEST_IMG",file.backing.driver=file,file.backing.filename="$TEST_IMG.orig" 117run_qemu -drive file="$TEST_IMG",file.backing.driver=qcow2,file.backing.file.filename="$TEST_IMG.orig" 118 119echo 120echo === Enable and disable lazy refcounting on the command line, plus some invalid values === --- 162 unchanged lines hidden --- |