3 ms·
If you have on the host system a graphics card that you can fully dedicate to the guest system, you can then do pci-passthrough and let the guest system have ne
by znpy 8y ago
If you have on the host system a graphics card that you can fully dedicate to the guest system, you can then do pci-passthrough and let the guest system have nearly-full access to that graphic card with nearly full performances.
Also, kvm has some nice features that AFAIK virtual box does not have. For example you can have gnu/linux and windows guests use the balloon memory driver, that basically allocates and deallocates memory from the host system. Imagine having a guest vm where you can say "this vm should have 2GB ram, but it might burst up to 24GB if needed, and then go back to 2GB when the need is satisfied". Can't do that with VBox (AFAIK - and it works on windows too!)
Regarding sound, if you are virtualizing windows, imho you're better off connecting via rdp (avoid remmina, use rdesktop) and using local speakers as audio output.
- robin_reala 8y agoHow is pci-passthrough for hypervisor security? I’m speaking from a layman’s perspective, but there have been successful escapes through the GPU / GPU memory in the past right?
- Hello71 8y agoSomewhat better than OpenGL passthrough, whose security can be summarized as between "basically none" and "absolutely none".
- pizza234 8y ago> you can then do pci-passthrough and let the guest system have nearly-full access to that graphic card with nearly full performances. It is possible, but when it works and works well, which is not always the case. In addition, one may have to lock the card for usage with the guest only, since drivers may not be compatible with intermittent (=on/off) vfio usage. I've had mixed experiences, depending on the hardware. my current system is 100% stable, however, I don use the card on the host (it causes instability). My previous system worked badly, and it was essentially not usable.
- bayindirh 8y ago> If you have on the host system a graphics card that you can fully dedicate to the guest system. Which implies a special-build system to play some odd Windows games ocassionally, akin to building an Hackintosh. For my use case it's a definitive overkill :D > ...do pci-passthrough and let the guest system have nearly-full access to that graphic card with nearly full performances. Again which requires a CPU and system which supports vT-d (in intel jargon), which is the only feature which my 3770K doesn't support :D VirtualBox supports memory balooning. The interface is same with VirtIO's ballooning drivers AFAIK. The commands can be found in [0]. Since I want to virtualize Windows to play my simpler games only, rdp is not a very attractive choice. Using local speakers and sound virtualization is alright. I don't want crystal clear, high end sound. However, I'm not aware of the support level. [0]: https://www.virtualbox.org/manual/ch09.html https://www.virtualbox.org/manual/ch09.html