Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Upcoming OSR Seminars | ||
---|---|---|
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead! | ||
Internals & Software Drivers | 7 February 2022 | Live, Online |
Kernel Debugging | 21 March 2022 | Live, Online |
Developing Minifilters | 23 May 2022 | Live, Online |
Writing WDF Drivers | 12 September 2022 | Live, Online |
Comments
> Alternatively, if anyone has tips for using VMs that would help, but
> my issue was I could never deploy properly - my host is Linux, and
> nested KVM is broken on my hardware so I can not run VirtualBox inside
> my development machine. I tried to deploy over network to the VM, but
> was never able to get it working.
What sort of driver are you developing? If it's for a PCIe device, you
should be able to use KVM with PCIe passthrough given a machine from
2012 onwards. If you can dedicate a machine to it, I'd suggest trying
Proxmox VE (https://pve.proxmox.com/wiki/Main_Page) since it's already
setup for running VMs. Alternatively, you should be able to boot pretty
much any Linux system with the kernel parameter "intel_iommu=on", then
configure passthrough for the IOMMU group that contains the device you
want, via entries in /proc . Then, run qemu and you should have access
to the device within Windows within the VM.
--
Rebecca
<[email protected]> wrote:
> On 2/13/2018 6:22 PM, [email protected] wrote:
>>
>> Alternatively, if anyone has tips for using VMs that would help, but
>> my issue was I could never deploy properly - my host is Linux, and
>> nested KVM is broken on my hardware so I can not run VirtualBox inside
>> my development machine. I tried to deploy over network to the VM, but
>> was never able to get it working.
>
>
> What sort of driver are you developing? If it's for a PCIe device, you
> should be able to use KVM with PCIe passthrough given a machine from 2012
> onwards. If you can dedicate a machine to it, I'd suggest trying Proxmox VE
> (https://pve.proxmox.com/wiki/Main_Page) since it's already setup for
> running VMs. Alternatively, you should be able to boot pretty much any Linux
> system with the kernel parameter "intel_iommu=on", then configure
> passthrough for the IOMMU group that contains the device you want, via
> entries in /proc . Then, run qemu and you should have access to the device
> within Windows within the VM.
>
Currently a different keyboard transport protocol over USB (prototyped
with libusb and userspace calls). PCIe is pretty far down on the list
at the moment. I've gotten PCIe passthrough working, the problem is my
hardware does not support nested KVM, so I am not able to follow the
guides that use VirtualBox test targets.
My question could also be interpreted as "does anyone have a known
working test configuration?" Despite all my attempts, I can't get
automated deployment with the WDK working, and have been doing things
by hand. This is less than ideal.
Thanks,
R0b0t1
Don Burn
Windows Driver Consulting
Website: http://www.windrvr.com
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, February 14, 2018 1:56 AM
To: Windows System Software Devs Interest List <[email protected]>
Subject: Re: [ntdev] Driver Prototyping Hardware
On Tue, Feb 13, 2018 at 11:15 PM, [email protected] <[email protected]> wrote:
> On 2/13/2018 6:22 PM, [email protected]mail.com wrote:
>>
>> Alternatively, if anyone has tips for using VMs that would help, but
>> my issue was I could never deploy properly - my host is Linux, and
>> nested KVM is broken on my hardware so I can not run VirtualBox
>> inside my development machine. I tried to deploy over network to the
>> VM, but was never able to get it working.
>
>
> What sort of driver are you developing? If it's for a PCIe device, you
> should be able to use KVM with PCIe passthrough given a machine from
> 2012 onwards. If you can dedicate a machine to it, I'd suggest trying
> Proxmox VE
> (https://pve.proxmox.com/wiki/Main_Page) since it's already setup for
> running VMs. Alternatively, you should be able to boot pretty much any
> Linux system with the kernel parameter "intel_iommu=on", then
> configure passthrough for the IOMMU group that contains the device you
> want, via entries in /proc . Then, run qemu and you should have access
> to the device within Windows within the VM.
>
Currently a different keyboard transport protocol over USB (prototyped with libusb and userspace calls). PCIe is pretty far down on the list at the moment. I've gotten PCIe passthrough working, the problem is my hardware does not support nested KVM, so I am not able to follow the guides that use VirtualBox test targets.
My question could also be interpreted as "does anyone have a known working test configuration?" Despite all my attempts, I can't get automated deployment with the WDK working, and have been doing things by hand. This is less than ideal.
Thanks,
R0b0t1
---
NTDEV is sponsored by OSR
Visit the list online at: <http://www.osronline.com/showlists.cfm?list=ntdev>
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at <http://www.osr.com/seminars>
To unsubscribe, visit the List Server section of OSR Online at <http://www.osronline.com/page.cfm?name=ListServer>
Just get a new hard drive or SSD, swap it in some real machine. Disks are cheap now.
-- pa