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

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

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: 190
    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
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA