All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Kinzler <hfp@posteo.de>
To: target-devel@vger.kernel.org
Subject: strange dm-crypt problem with qemu / LIO / vhost
Date: Mon, 06 Apr 2020 18:21:55 +0000	[thread overview]
Message-ID: <5e29cc94-a21d-2506-9bac-48d8d29ab85b@posteo.de> (raw)

I am trying to use a /dev/mapper/luks (via cryptsetup/LUKS) on a 
backstorage/iblock from the target/SCSI framework and pass that through 
vhost (tcm_vhost) to qemu guests. It works with Linux guests but with 
Windows guests (using the virtio-scsi pv-driver) I get tons of errors in 
dmesg:

[ 3683.403467] bio error: 00000000f33a8dcd,  err: 10
[ 3683.403612] bio error: 00000000a508ea6b,  err: 10
[ 3683.414686] bio error: 00000000f06baf1d,  err: 10
[ 3683.414767] bio error: 0000000035714712,  err: 10
[ 3683.414829] bio error: 0000000062dd8892,  err: 10
[ 3683.414883] bio error: 000000005c303a2d,  err: 10
[ 3683.414936] bio error: 0000000024d02dea,  err: 10

This is from target_core_iblock.c function "iblock_bio_done".

Any ideas? Hints?

Regards Andreas

             reply	other threads:[~2020-04-06 18:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 18:21 Andreas Kinzler [this message]
2020-04-06 21:33 ` strange dm-crypt problem with qemu / LIO / vhost David Disseldorp
2020-04-06 22:01 ` Andreas Kinzler
2020-04-06 23:05 ` David Disseldorp
2020-04-07 10:29 ` Andreas Kinzler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5e29cc94-a21d-2506-9bac-48d8d29ab85b@posteo.de \
    --to=hfp@posteo.de \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.