qemu-iotests: add qcow2.py set-feature-bit command
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 14 Jun 2012 12:58:17 +0000 (13:58 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Jun 2012 12:03:44 +0000 (14:03 +0200)
commit1b2eff62fcd5c68607a239a89b1389da3db2a540
tree35c4b9dab1848f7bcbe951eea4fb662d72af5d10
parent8b9ef60de0f9d4826b46ca9488ccf478fe328796
qemu-iotests: add qcow2.py set-feature-bit command

This new command sets feature bits in the image file header:

  qcow2.py set-feature-bit incompatible|compatible|autoclear <bit>

The bit number must be in the range [0, 64).

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/qcow2.py