* Error ret=-1 with EINTR in nbd_connect_systemd_socket_activation()
@ 2022-07-11 6:38 Motohiro Kawahito
2022-07-11 16:25 ` Philippe Mathieu-Daudé via
0 siblings, 1 reply; 2+ messages in thread
From: Motohiro Kawahito @ 2022-07-11 6:38 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 753 bytes --]
Hi, I'd like to connect to an encrypted QCOW2 file by nbd_connect_systemd_socket_activation(), but I got ret=-1 with EINTR.
The arg parameter I used is
qemu-nbd --object secret,id=sec0,data=abc123 --image-opts driver=qcow2,encrypt.format=luks,encrypt.key-secret=sec0,file.filename=/tmp/empty.qcow2
Can you find what a problem is? The version of qemu-nbd is
$ qemu-nbd -V
qemu-nbd 4.2.1 (Debian 1:4.2-3ubuntu6.23)
I created this encrypted QCOW2 image by the following command.
qemu-img create --object secret,id=sec0,data=abc123 -f qcow2 -o encrypt.format=luks,encrypt.key-secret=sec0 /tmp/empty.qcow2 8539292672
Note that I can connect to a normal QCOW2 file by this function without any error. (arg: qemu-nbd -f qcow2 /tmp/normal.qcow2)
[-- Attachment #2: Type: text/html, Size: 3497 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error ret=-1 with EINTR in nbd_connect_systemd_socket_activation()
2022-07-11 6:38 Error ret=-1 with EINTR in nbd_connect_systemd_socket_activation() Motohiro Kawahito
@ 2022-07-11 16:25 ` Philippe Mathieu-Daudé via
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé via @ 2022-07-11 16:25 UTC (permalink / raw)
To: Motohiro Kawahito, qemu-devel; +Cc: Qemu-block
Cc'ing qemu-block@
On 11/7/22 08:38, Motohiro Kawahito wrote:
> Hi, I’d like to connect to an encrypted QCOW2 file by
> nbd_connect_systemd_socket_activation(), but I got ret=-1 with EINTR.
>
> The arg parameter I used is
>
> qemu-nbd --object secret,id=sec0,data=abc123 --image-opts
> driver=qcow2,encrypt.format=luks,encrypt.key-secret=sec0,file.filename=/tmp/empty.qcow2
>
> Can you find what a problem is? The version of qemu-nbd is
>
> $ qemu-nbd -V
>
> qemu-nbd 4.2.1 (Debian 1:4.2-3ubuntu6.23)
>
> I created this encrypted QCOW2 image by the following command.
>
> qemu-img create --object secret,id=sec0,data=abc123 -f qcow2 -o
> encrypt.format=luks,encrypt.key-secret=sec0 /tmp/empty.qcow2 8539292672
>
> Note that I can connect to a normal QCOW2 file by this function without
> any error. (arg: qemu-nbd -f qcow2 /tmp/normal.qcow2)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-12 20:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 6:38 Error ret=-1 with EINTR in nbd_connect_systemd_socket_activation() Motohiro Kawahito
2022-07-11 16:25 ` Philippe Mathieu-Daudé via
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.