Virtual Machines and Direct Access to Hardware

Dave3000

Golden Member
Jan 10, 2011
1,456
101
106
Is it possible to run an operating system, say Windows 10, in a virtual machine and have it detect the real hardware. Like for the drives, have it detect the my Samsung 980 Pro and 850 EVO drives, and also have direct access to my Data partition from the host. Sometimes I might want to run Samsung Magician in a virtual Windows 10 machine to see how my Samsung drives are doing or I might want to run the My Harmony software to configure my Harmony remote which that software which is not compatible with Linux. My preferred Virtual Machine software is Virtual Box. I run Linux Mint 21 as my main OS and dual booting with Windows 10 but I wonder if I'm just better of sticking with dual booting if I want direct access to hardware in Windows 10, especially if running Windows software that requires direct access to hardware.
 
Last edited:

crashtech

Lifer
Jan 4, 2013
10,652
2,257
146
I know this isn't what you are asking for, but have you tried GSmartControl? It might be an adequate substitute to having to maintain a dual-boot system just to use your drive vendor's branded consumer software.
 

Dave3000

Golden Member
Jan 10, 2011
1,456
101
106
I know this isn't what you are asking for, but have you tried GSmartControl? It might be an adequate substitute to having to maintain a dual-boot system just to use your drive vendor's branded consumer software.

I have not. I read up on the features and it does not mention support for NVMe drives. Also, if I ever had to send a drive that goes bad for warranty to the manufacture, and I'm not talking about just Samsung, and the drive shows problems with GSmartControl, would the manufacture of the drive accept the results from that app or any other 3rd party open source app if the manufacturer has their own drive checking app?
 

crashtech

Lifer
Jan 4, 2013
10,652
2,257
146
I've never had to substantiate an RMA in that way myself. You just contact them, tell them their drive is no good, and send it to them.
I'd be curious to know what other's experiences are, but I suspect either I'm playing a bit fast and loose, or you are overthinking it.
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,103
126
Free : ESXi or Proxmox. Will cost you money: unRAID. all supports hardware passthrough.

Tons of tutorials on Youtube. Single machine will be hard though.

Usually you run ESXi, Proxmox or unRAID as a server,

You then have another machine as a workstation and remote into the server.

==

Err, Linux with KVM (Virt-Manager I think) might be able to do hardware passthrough with single machine, but I'm not a Linux guy.

==

But if you want to passthrough PCIE hardware (GPU or SATA controller ) to VM, you will need 2 sets of hardware, one comes with motherboard, another with PCIE cards, unless the motherboard comes with 2 sets of SATA controllers (if the motherboard has many SATA ports then usually it will have 2 sets of controllers)
 
Last edited:
  • Love
Reactions: igor_kavinski

Fallen Kell

Diamond Member
Oct 9, 1999
6,145
502
126
The problem with ESXi is if you need more than 8 CPU cores, it won't support it with the free version. You are better off with Proxmox or XPC-NG (XenServer fork).