Virtualizing CAN Controller Hardware

This is for discussing general topics about how to use VirtualBox.
Post Reply
Raghavan
Posts: 1
Joined: 3. Aug 2009, 07:14
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Linux

Virtualizing CAN Controller Hardware

Post by Raghavan »

Has anyone been successful in finding Solution to Virtualize CAN Controller PCI Card.

I have a setup were I want to Bridge a CAN Card between the Guest & the Host, simply simulating CAN Communication.

Any suggestion on how to perform this ?

Thanks.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Virtualizing CAN Controller Hardware

Post by stefan.becker »

Yes: Forget it. PCI Devices can not be passed to guest.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Virtualizing CAN Controller Hardware

Post by mpack »

Raghavan wrote:Any suggestion on how to perform this?
VBox has to create a virtual version of every hardware class it wants to offer inside the VM. The virtual version must expose the same IO registers, memory regions and interrupts that the real hardware would expose. There is no practical way for it to virtualize hardware it doesn't know anything about. The only thing you could it is to get the OSE sources and work out how to do the virtualisation yourself; I doubt that's practical.
Post Reply