Re: [PATCH v1] kvm: unsigned datatype in ioctl wrapper

2021-09-02 Thread Peter Maydell
On Wed, 1 Sept 2021 at 22:34, Johannes Stoelp wrote: > > Change the data type of the ioctl _request_ argument from 'int' to > 'unsigned long' for the kvm ioctl wrappers. > > POSIX defines the request argument as 'int' but the glibc defines the ioctl > call as follows > int ioctl (int fd, unsig

[PATCH v1] kvm: unsigned datatype in ioctl wrapper

2021-09-01 Thread Johannes Stoelp
Change the data type of the ioctl _request_ argument from 'int' to 'unsigned long' for the kvm ioctl wrappers. POSIX defines the request argument as 'int' but the glibc defines the ioctl call as follows int ioctl (int fd, unsigned long int request, ...); Requests with the 0x8000_ bit set