def METHOD_NAME(self) -> None:
    """Just create an empty image with a read-only NBD server on it"""
    qemu_img_create('-f', iotests.imgfmt, test_img, str(image_size))
    # Pass --allocation-depth to enable the qemu:allocation-depth context,
    # which we are going to query to provoke a block-status inquiry with
    # want_zero=false.
    assert qemu_nbd(f'--socket={nbd_sock}',
                    f'--format={iotests.imgfmt}',
                    '--persistent',
                    '--allocation-depth',
                    '--read-only',
                    f'--pid-file={nbd_pidfile}',
                    test_img) \
        == 0