From: Hans de Goede <hdegoede@redhat.com>
To: "Knut St. Osmundsen" <knut.osmundsen@oracle.com>,
vbox-dev@virtualbox.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Arnd Bergmann <arnd@arndb.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Modifying the vboxguest ioctl API (Was: Re: [vbox-dev] [RFC] VGDrvCommonIoCtl: Add f32bit flag argument)
Date: Mon, 21 Aug 2017 14:48:00 +0200 [thread overview]
Message-ID: <ecfc7ee7-888d-1b6b-034c-86df0288ed48@redhat.com> (raw)
In-Reply-To: <6ccad347-874e-8291-32bc-27fa44ea7259@redhat.com>
Hi,
On 14-08-17 14:19, Hans de Goede wrote:
> Hi,
>
> On 14-08-17 13:43, Knut St. Osmundsen wrote:
>> Hi Hans,
>>
>> the other platforms also have KPIs or similar constructs for figuring
>> out whether the client process issuing the I/O controls is a 32-bit or
>> 64-bit one. However, using the VBOXGUEST_IOCTL_FLAG set to 0 or 0x80 if
>> 32-bit or 64-bit was a less complex (+faster(+safer)) way of deal with
>> this. The host driver does this as well. I would like the structure of
>> the two to be as similar as possible.
>>
>> I'm not very keen to adding linux specific clutter (f32Bit + #ifndef
>> RT_OS_LINUX) to the common code just because you can do it differently
>> only Linux. Sorry. Want minimal platform specific cruft in common
>> code. Hope you understand.
>
> OK and yes I understand.
>
>> PS. I noticed in the Linux kernel RFC email thread that we've agreed to
>> freeze the I/O control ABI. We cannot guarantee that's it's 100% frozen
>> at this point, since the generic status code fix (getting rid of that
>> ioctl non-zero return value) hasn't been done yet. I will see if I can
>> squeeze it in later this week.
>
> I had already decided to just live with the positive return for vbox
> host status codes, but if you want this changed for other reasons, then yes
> now would be the time to do that. But you don't have to do it just on
> my account.
I plan to post a v2 of the vboxguest driver for upstream tomorrow. Given
the above I will mark it as a RFC for now. Anychance you can wrap this up
soonish so that I can post a non RFC version with the final ABI upstream ?
Regards,
Hans
prev parent reply other threads:[~2017-08-21 12:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 7:27 [RFC] VGDrvCommonIoCtl: Add f32bit flag argument Hans de Goede
2017-08-14 7:27 ` [PATCH] " Hans de Goede
[not found] ` <3e0b527c-a6ed-243b-15d9-b29c14905763@redhat.com>
[not found] ` <83cdfab2-a5df-83c5-2fb0-55f8d81408be@oracle.com>
2017-08-14 12:19 ` [vbox-dev] [RFC] " Hans de Goede
2017-08-21 12:48 ` Hans de Goede [this message]
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=ecfc7ee7-888d-1b6b-034c-86df0288ed48@redhat.com \
--to=hdegoede@redhat.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=knut.osmundsen@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vbox-dev@virtualbox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®