🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
2 messages
2 total messages Started by Randy Dunlap Sat, 14 Nov 2026 20:26
[PATCH 09/12] docs: ioctl-number: update virtualization entries
#16445
Author: Randy Dunlap
Date: Sat, 14 Nov 2026 20:26
67 lines
15324 bytes
Update the list of files where virtualization ioctls are defined.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
[Since having multiple maintainers trying to merge these would
cause some conflicts, it would be more manageable for Jon to
take all of these through the docs-next tree.]

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org
Cc: Hans de Goede <hansg@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowangio@gmail.com>
Cc: Eugenio Pérez <eperezma@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Cc: virtualization@lists.linux.dev

 Documentation/userspace-api/ioctl/ioctl-number.rst |    6 ++++++
 1 file changed, 6 insertions(+)

--- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -200,6 +200,7 @@ Code  Seq#    Include File
 'M'   01-03  drivers/scsi/megaraid/megaraid_sas.h
 'M'   00-03  drivers/video/fbdev/mb862xx/mb862xxfb.h
 'M'   00-0F  drivers/video/fsl-diu-fb.h                                conflict!
+'M'   01-03  xen/interface/xen-mca.h                                   conflict!
 'N'   00-1F  drivers/usb/scanner.h
 'N'   40-7F  uapi/linux/nvme_ioctl.h
 'N'   80-83  uapi/linux/ntsync.h and uapi/linux/nvme_ioctl.h           conflict!
@@ -239,6 +240,7 @@ Code  Seq#    Include File
 'U'   64     drivers/usb/misc/usbtest.c                                conflict!
 'V'   all    linux/vt.h                                                conflict!
 'V'   all    linux/videodev2.h                                         conflict!
+'V'   00-1F  linux/vboxguest.h                                         conflict!
 'V'   C0     linux/ivtvfb.h                                            conflict!
 'V'   C0     linux/ivtv.h                                              conflict!
 'V'   C0     media/si4713.h                                            conflict!
@@ -357,6 +359,7 @@ Code  Seq#    Include File
 '|'   80-9F  samples/                                                  Any sample and example drivers
 0x80  00-1F  linux/fb.h
 0x81  00-1F  linux/vduse.h
+             drivers/vdpa/vdpa_user/vduse_dev.c
 0x89  00-07  asm-generic/sockios.h
 0x89  06-07  linux/sockios.h
 0x89  0B-DF  linux/sockios.h
@@ -398,8 +401,11 @@ Code  Seq#    Include File
                                                                        <mailto:kvm@vger.kernel.org>
 0xAE  40-FF  linux/kvm.h                                               Kernel-based Virtual Machine
                                                                        <mailto:kvm@vger.kernel.org>
+0xAE  C6     arch/x86/kvm/x86.c                                        X86 KVM
 0xAE  20-3F  linux/nitro_enclaves.h                                    Nitro Enclaves
 0xAF  00-1F  linux/fsl_hypervisor.h                                    Freescale hypervisor
+0xAF  00-8F  linux/vhost.h                                             conflict!
+0xAF  31-32  drivers/vhost/test.h                                      conflict!
 0xB0  all                                                              RATIO devices in development:
                                                                        <mailto:vgo@ratio.de>
 0xB1  00-1F                                                            PPPoX
Re: [PATCH 09/12] docs: ioctl-number: update virtualization entries
#17480
Author: Randy Dunlap
Date: Mon, 16 Nov 2026 22:21
78 lines
15446 bytes

On 11/16/26 6:26 AM, Sean Christopherson wrote:
> On Sat, Nov 14, 2026, Randy Dunlap wrote:
>> Update the list of files where virtualization ioctls are defined.
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> ---
>> [Since having multiple maintainers trying to merge these would
>> cause some conflicts, it would be more manageable for Jon to
>> take all of these through the docs-next tree.]
>>
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Cc: Shuah Khan <skhan@linuxfoundation.org>
>> Cc: linux-doc@vger.kernel.org
>> Cc: Juergen Gross <jgross@suse.com>
>> Cc: Stefano Stabellini <sstabellini@kernel.org>
>> Cc: xen-devel@lists.xenproject.org
>> Cc: Hans de Goede <hansg@kernel.org>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Cc: "Michael S. Tsirkin" <mst@redhat.com>
>> Cc: Jason Wang <jasowangio@gmail.com>
>> Cc: Eugenio Pérez <eperezma@redhat.com>
>> Cc: Sean Christopherson <seanjc@google.com>
>> Cc: Paolo Bonzini <pbonzini@redhat.com>
>> Cc: kvm@vger.kernel.org
>> Cc: virtualization@lists.linux.dev
>>
>>  Documentation/userspace-api/ioctl/ioctl-number.rst |    6 ++++++
>>  1 file changed, 6 insertions(+)
>>
>> --- linux-next-20261113.orig/Documentation/userspace-api/ioctl/ioctl-number.rst
>> +++ linux-next-20261113/Documentation/userspace-api/ioctl/ioctl-number.rst
>> @@ -200,6 +200,7 @@ Code  Seq#    Include File
>>  'M'   01-03  drivers/scsi/megaraid/megaraid_sas.h
>>  'M'   00-03  drivers/video/fbdev/mb862xx/mb862xxfb.h
>>  'M'   00-0F  drivers/video/fsl-diu-fb.h                                conflict!
>> +'M'   01-03  xen/interface/xen-mca.h                                   conflict!
>>  'N'   00-1F  drivers/usb/scanner.h
>>  'N'   40-7F  uapi/linux/nvme_ioctl.h
>>  'N'   80-83  uapi/linux/ntsync.h and uapi/linux/nvme_ioctl.h           conflict!
>> @@ -239,6 +240,7 @@ Code  Seq#    Include File
>>  'U'   64     drivers/usb/misc/usbtest.c                                conflict!
>>  'V'   all    linux/vt.h                                                conflict!
>>  'V'   all    linux/videodev2.h                                         conflict!
>> +'V'   00-1F  linux/vboxguest.h                                         conflict!
>>  'V'   C0     linux/ivtvfb.h                                            conflict!
>>  'V'   C0     linux/ivtv.h                                              conflict!
>>  'V'   C0     media/si4713.h                                            conflict!
>> @@ -357,6 +359,7 @@ Code  Seq#    Include File
>>  '|'   80-9F  samples/                                                  Any sample and example drivers
>>  0x80  00-1F  linux/fb.h
>>  0x81  00-1F  linux/vduse.h
>> +             drivers/vdpa/vdpa_user/vduse_dev.c
>>  0x89  00-07  asm-generic/sockios.h
>>  0x89  06-07  linux/sockios.h
>>  0x89  0B-DF  linux/sockios.h
>> @@ -398,8 +401,11 @@ Code  Seq#    Include File
>>                                                                         <mailto:kvm@vger.kernel.org>
>>  0xAE  40-FF  linux/kvm.h                                               Kernel-based Virtual Machine
>>                                                                         <mailto:kvm@vger.kernel.org>
>> +0xAE  C6     arch/x86/kvm/x86.c                                        X86 KVM
> 
> I'd rather omit this entry.  0xAE C6 is covered by the entry above, and the horror
> in arch/x86/kvm/x86.c is purely a 32-bit compatibility alias for an ioctl that is
> defined in kvm.h (the structure payload defines an pointer instead of a __u64).

OK.

> If it's a sticking point, e.g. this will trip automated tooling over and over, then
> I vote to move the relevant definitions to uapi headers, e.g.

I don't know of anything like that.

-- 
~Randy
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads