Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


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/


installing drivers in hyper-v containers

ldelde Member Posts: 2

Hi,
I'm trying to figure out if it's possible to install a driver in a hyper-v container, or in a general way what is the degree of access to the kernel from hyper-v containers.

Does anyone have experience with it? Is there documentation I can read to educate myself on the subject?

Thank you very much,
Loris

Comments

  • rstruempfrstruempf Member Posts: 103

    I install drivers and run the kernel debugger on Hyper-V VMs every day. The access to the kernel debugger is identical to what you get with a physical target machine.

    I personally use the Visual Studio (2017+) built in WDK. It is seamless and easy to use. If you scroll down a bit in this post, https://community.osr.com/discussion/290907/kernel-debugging-in-visual-studio, I provide a step-by-step guide

    _Ron

  • Fernando_RobertoFernando_Roberto Member - All Emails Posts: 192
    Hi, Ron.

    I think Loris is talking about Hyper-V containers, and not Hyper-V VMs.
    They’re different technologies and as far as I know, there is no way of having third party drivers running on a Hyper-V container. The kernel is based on a Microsoft image and there’s no way of having your driver installed.
    I did this question to Microsoft team when I was attending Plugfest Containers at Microsoft.

    Regards,

    Fernando Roberto da Silva
    DriverEntry Kernel Development
    http://www.driverentry.com.br


    Fernando Roberto da Silva
    DriverEntry Kernel Development
    http://www.driverentry.com.br

  • rstruempfrstruempf Member Posts: 103

    My bad. Thanks for the correction. I'll check them out.

    _Ron

  • ldelde Member Posts: 2

    That's right, my question was about Hyper-V containers.

    Thank you Fernando Roberto, this is what I suspected but I was having a hard time finding an answer online.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA