[PATCH 2/2] qemu: Add testing for locking option