From: geoff@hostfission.com
To: Yan Vugenfirer <yvugenfi@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>, Ladi Prosek <lprosek@redhat.com>
Subject: Re: [Qemu-devel] ivshmem Windows Driver
Date: Sun, 15 Oct 2017 23:21:41 +1100 [thread overview]
Message-ID: <286ea2bbfb5ec77d962300c9996c8688@hostfission.com> (raw)
In-Reply-To: <3A7697A0-1AF3-46E8-8BCC-45A8127A2638@redhat.com>
Hi Yan,
Thank you for the information. I am rather new to Windows Driver
development and learning as I go, so this may take some time, but since
the driver only needs to perform very basic functions I do not see this
as being too much of a challenge.
-Geoff
On 2017-10-15 22:14, Yan Vugenfirer wrote:
> He Geoff,
>
> The official virtio-win drivers upstream repository is here:
> https://github.com/virtio-win/kvm-guest-drivers-windows
>
> 1. There is no ivshmem Windows Driver for now as far as I know
>
> 2. We are signing the drivers for community usage
> https://fedoraproject.org/wiki/Windows_Virtio_Drivers from the same
> repository.
> The process will be: submit the code for review with pull request
> (better use existing virtio library for virtio communication between
> the guest and the host), pass internal tests and at the least being
> able to pass MS HCK\HLK tests, later on the driver will be pulled into
> official build and release with rest of the drivers for community
> usage.
> 3. We are happy to cooperate on adding new functionality to current
> package of virtio drivers for Windows
> 4. As already mentioned:
> https://github.com/virtio-win/kvm-guest-drivers-windows
>
> Thanks a lot!
>
> If you have more questions, please don’t hesitate to talk to me, Ladi
> or anyone else from Red Hat involved with virtio-win development.
>
> Best regards,
> Yan.
>
>> On 15 Oct 2017, at 12:32, geoff--- via Qemu-devel
>> <qemu-devel@nongnu.org> wrote:
>>
>> Hi All,
>>
>> I am writing some code that needs to share a block of ram between a
>> Windows guest and Linux host. For this I am using the ivshmem device
>> and I have written a very primitive driver for windows that allows a
>> single application to request to memory map the pci bar (shared
>> memory) into the program's context using DeviceIoControl.
>>
>> This is all working fine, but the next problem is I need the driver to
>> be signed. In it's current state I would not even suggest it be signed
>> as it was just hacked together to test my concept, but now I know it's
>> viable I would be willing to invest whatever time is required to write
>> a driver that would be acceptable for signing.
>>
>> The ideal driver would be general purpose and could be leveraged for
>> any user mode application use, not just my specific case. It would
>> need to implement the IRQ/even features of ivshmem and possibly even
>> some kind of security to prevent unauthorized use by rogue
>> applications (shared secret configured on the chardev?).
>>
>> I have several qustions:
>>
>> 1) Has someone done this? I can't find any reference to a windows
>> driver for this device anywhere.
>> 2) If I was to pursue writing this driver, how would be the best way
>> to go about it so as to ensure that it is in a state that it could be
>> signed with the RedHat vendor key?
>> 3) What is the likelihood of having such a driver signed?
>> 4) Is there a preferred git host for such a driver?
>>
>> Kind Regards
>> -Geoff
>>
next prev parent reply other threads:[~2017-10-15 12:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-15 9:32 [Qemu-devel] ivshmem Windows Driver geoff
2017-10-15 11:14 ` Yan Vugenfirer
2017-10-15 12:21 ` geoff [this message]
2017-10-15 12:24 ` Yan Vugenfirer
2017-10-15 12:29 ` geoff
2017-10-16 18:31 ` geoff
2017-10-18 5:31 ` Ladi Prosek
2017-10-18 5:50 ` geoff
2017-10-18 6:50 ` Ladi Prosek
2017-10-18 6:56 ` geoff
2017-10-18 12:34 ` Ladi Prosek
2017-10-18 15:04 ` geoff
2017-10-19 8:35 ` Ladi Prosek
2017-10-19 8:44 ` geoff
2017-10-19 9:01 ` Ladi Prosek
2017-10-19 9:07 ` geoff
2017-10-19 9:41 ` geoff
2017-10-19 9:51 ` Ladi Prosek
2017-10-19 10:42 ` geoff
2017-10-16 15:20 ` Eric Blake
2017-10-16 16:05 ` geoff
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=286ea2bbfb5ec77d962300c9996c8688@hostfission.com \
--to=geoff@hostfission.com \
--cc=lprosek@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=yvugenfi@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).