* [PATCH] linux-user: Add ioctl for BLKBSZSET
@ 2024-04-23 15:24 Michael Vogt
2024-05-29 7:56 ` Michael Vogt
0 siblings, 1 reply; 3+ messages in thread
From: Michael Vogt @ 2024-04-23 15:24 UTC (permalink / raw)
To: qemu-devel, richard.henderson; +Cc: Michael Vogt
Tiny patch to add the ioctl wrapper definition for BLKBSZSET.
Signed-off-by: Michael Vogt <mvogt@redhat.com>
---
linux-user/ioctls.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index d508d0c04a..3b41128fd7 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -102,6 +102,7 @@
IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_INT))
IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
+ IOCTL(BLKBSZSET, IOC_W, MK_PTR(TYPE_INT))
IOCTL_SPECIAL(BLKPG, IOC_W, do_ioctl_blkpg,
MK_PTR(MK_STRUCT(STRUCT_blkpg_ioctl_arg)))
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] linux-user: Add ioctl for BLKBSZSET
2024-04-23 15:24 [PATCH] linux-user: Add ioctl for BLKBSZSET Michael Vogt
@ 2024-05-29 7:56 ` Michael Vogt
2024-05-29 15:20 ` Richard Henderson
0 siblings, 1 reply; 3+ messages in thread
From: Michael Vogt @ 2024-05-29 7:56 UTC (permalink / raw)
To: qemu-devel, richard.henderson; +Cc: Michael Vogt, qemu-trivial
[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]
Friendly ping
I tested the patch as part of cross architecture build (using qemu-user)
with bootc-image-builder in
https://github.com/osbuild/bootc-image-builder/pull/342 (not sure that is
relevant, but I wanted to mention that it is working for my test-case).
On Tue, Apr 23, 2024 at 5:25 PM Michael Vogt <michael.vogt@gmail.com> wrote:
> Tiny patch to add the ioctl wrapper definition for BLKBSZSET.
>
> Signed-off-by: Michael Vogt <mvogt@redhat.com>
> ---
> linux-user/ioctls.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
> index d508d0c04a..3b41128fd7 100644
> --- a/linux-user/ioctls.h
> +++ b/linux-user/ioctls.h
> @@ -102,6 +102,7 @@
> IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
> IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_INT))
> IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
> + IOCTL(BLKBSZSET, IOC_W, MK_PTR(TYPE_INT))
> IOCTL_SPECIAL(BLKPG, IOC_W, do_ioctl_blkpg,
> MK_PTR(MK_STRUCT(STRUCT_blkpg_ioctl_arg)))
>
> --
> 2.43.0
>
>
[-- Attachment #2: Type: text/html, Size: 1582 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] linux-user: Add ioctl for BLKBSZSET
2024-05-29 7:56 ` Michael Vogt
@ 2024-05-29 15:20 ` Richard Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2024-05-29 15:20 UTC (permalink / raw)
To: Michael Vogt, qemu-devel; +Cc: Michael Vogt, qemu-trivial
On 5/29/24 00:56, Michael Vogt wrote:
> Friendly ping
>
> I tested the patch as part of cross architecture build (using qemu-user) with
> bootc-image-builder in https://github.com/osbuild/bootc-image-builder/pull/342
> <https://github.com/osbuild/bootc-image-builder/pull/342> (not sure that is relevant, but
> I wanted to mention that it is working for my test-case).
>
> On Tue, Apr 23, 2024 at 5:25 PM Michael Vogt <michael.vogt@gmail.com
> <mailto:michael.vogt@gmail.com>> wrote:
>
> Tiny patch to add the ioctl wrapper definition for BLKBSZSET.
>
> Signed-off-by: Michael Vogt <mvogt@redhat.com <mailto:mvogt@redhat.com>>
> ---
> linux-user/ioctls.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
> index d508d0c04a..3b41128fd7 100644
> --- a/linux-user/ioctls.h
> +++ b/linux-user/ioctls.h
> @@ -102,6 +102,7 @@
> IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
> IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_INT))
> IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
> + IOCTL(BLKBSZSET, IOC_W, MK_PTR(TYPE_INT))
> IOCTL_SPECIAL(BLKPG, IOC_W, do_ioctl_blkpg,
> MK_PTR(MK_STRUCT(STRUCT_blkpg_ioctl_arg)))
>
> --
> 2.43.0
>
Queued, thanks.
r~
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-29 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-23 15:24 [PATCH] linux-user: Add ioctl for BLKBSZSET Michael Vogt
2024-05-29 7:56 ` Michael Vogt
2024-05-29 15:20 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).