mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
qemu-iotests: qcow2: Test growing large refcount table
Actually writing all the content with 512 byte sector size would take forever, therefore build the image file with a Python script and use qemu-io for the last write that actually triggers the refcount table growth. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
a354807706
commit
d2ef210cb8
5 changed files with 134 additions and 5 deletions
|
@ -233,8 +233,9 @@ def usage():
|
|||
for name, handler, num_args, desc in cmds:
|
||||
print " %-20s - %s" % (name, desc)
|
||||
|
||||
if len(sys.argv) < 3:
|
||||
usage()
|
||||
sys.exit(1)
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) < 3:
|
||||
usage()
|
||||
sys.exit(1)
|
||||
|
||||
main(sys.argv[1], sys.argv[2], sys.argv[3:])
|
||||
main(sys.argv[1], sys.argv[2], sys.argv[3:])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue