Can both the host and the guest use the hardware directly?


Green Dragon

I'm about to start experimenting with VT-d/PCI passthrough on new upcoming supported hardware, and was wondering if it's possible to use the video/audio hardware on both the host and guest OS, or if passing a piece of hardware to the guest means using it in the guest When the host will have to live without its hardware?

Ideally the host would be Linux (OpenSUSE) with KVM/QEMU backed virtualization, but if that gets me out of the way I can consider other OS/hypervisors.

Typical use case: Running a video game or audio sequencer in a Windows guest while still being able to watch video/play music on the host.

mubaibai

Do not.

Operating systems often expect complete and unique access to hardware. In order to pass the device directly to the guest, it needs to be released from the control of the host. There is currently no way to share devices between operating systems. For some reason it's listed as "through" rather than "shared", "arbitration" or other synonyms.

Typically, for graphics cards, that means you need one graphics card for the host and one for the guest. Using integrated graphics for the host usually allows you to pass a dedicated graphics card to the guest.

That doesn't mean you can't do what you want. If you have two powerful dedicated cards, you should be able to game on both the host and the guest . I'm not sure if it's possible to pass integrated graphics to the client (not sure that integrated graphics will hang on PCIe and shared memory will cause problems), so you may need two full fledged graphics cards to have serious graphics power. host and guest

Related


Can both the host and the guest use the hardware directly?

Green Dragon I'm about to start experimenting with VT-d/PCI passthrough on new upcoming supported hardware, and was wondering if it's possible to use the video/audio hardware on both the host and guest OS, or if passing a piece of hardware to the guest means u

What information can the guest use about the vmware host?

username In vmware Workstation, what information about the host software and hardware is available to the guest OS. As far as my application is concerned, I am concerned that a process on the guest OS will get information about the physical hardware on which t

I can use virt-manager to save the guest, then restart the host

Elbana I see that virt-managersnapshots can be made if qcow2 is used. I also see a "Save" button. Suppose I want to save a machine, can it be saved? Maybe after rebooting (the host (not the guest's) host) I can restore the machine? Or do I have to do snapshots

What information can the guest use about the vmware host?

username In vmware Workstation, what information about the host software and hardware is available to the guest OS. As far as my application is concerned, I am concerned that a process on the guest OS will get information about the physical hardware on which t

I can use virt-manager to save the guest, then restart the host

Elbana I see that virt-managersnapshots can be made if qcow2 is used. I also see a "Save" button. Suppose I want to save a machine, can it be saved? Maybe after rebooting (the host (not the guest's) host) I can restore the machine? Or do I have to do snapshots

Xenserver - Access guest VM directly from host

chatroom I have a nice PC and want to install xenserver on it, but this is also my main workstation. Wondering if it's possible to access the guest directly from the host - meaning, I can interact with the guest using a monitor, input device, etc. attached to

Xenserver - Access guest VM directly from host

chatroom I have a nice PC and want to install xenserver on it, but this is also my main workstation. Wondering if it's possible to access the guest directly from the host - meaning, I can interact with the guest using a monitor, input device, etc. attached to

The host cannot SSH the guest, but the guest can

Samaras This is a follow-up question from: Getting virtualbox to get a different IP address than my laptop . I ended up using these files /etc/hostson both my laptop (host) running Ubuntu 14.04 and my virtual machine (guest) running Ubuntu 14.04 : 127.0.0.1

The host cannot SSH the guest, but the guest can

Samaras This is a follow-up question from: Getting virtualbox to get a different IP address than my laptop . I ended up using these files /etc/hostson both my laptop (host) running Ubuntu 14.04 and my virtual machine (guest) running Ubuntu 14.04 : 127.0.0.1

How to create a virtual host that can use both http and https?

Clyde My configuration is: Listen 443 http NameVirtualHost *:80 NameVirtualHost *:443 ServerName *:80 <VirtualHost *:80> [some non-ssl stuff] ServerName account.example.com </VirtualHost> <VirtualHost *:443> [some non-ssl stuff(directory, docroot)]

Can linux directly change hardware capabilities?

username EDIT: The selected answer didn't solve it for me, but the closest answer, maybe helpful to others. I have a Lenovo Y720 laptop with an RGB keyboard. Unfortunately, RGB only works on Windows, as it requires a program called "Lenovo Nerve Sense" to cont

Can linux directly change hardware capabilities?

username EDIT: The selected answer didn't solve it for me, but the closest answer, maybe helpful to others. I have a Lenovo Y720 laptop with an RGB keyboard. Unfortunately, RGB only works on Windows, as it requires a program called "Lenovo Nerve Sense" to cont

Can bash be used to communicate directly with hardware?

ocean I'm interested in writing my own tool in bash to replace the current network controller (wpa_supplicant) if possible. For example, if I were to issue a command to start a wps authentication session with the router's external registrar, is it possible to

Can linux directly change hardware capabilities?

username EDIT: The selected answer didn't solve it for me, but the closest answer, maybe helpful to others. I have a Lenovo Y720 laptop with an RGB keyboard. Unfortunately, RGB only works on Windows, as it requires a program called "Lenovo Nerve Sense" to cont

Can linux directly change hardware capabilities?

username EDIT: The selected answer didn't solve it for me, but the closest answer, maybe helpful to others. I have a Lenovo Y720 laptop with an RGB keyboard. Unfortunately, RGB only works on Windows, as it requires a program called "Lenovo Nerve Sense" to cont

Can bash be used to communicate directly with hardware?

ocean I'm interested in writing my own tool in bash to replace the current network controller (wpa_supplicant) if possible. For example, if I were to issue a command to start a wps authentication session with the router's external registrar, is it possible to

Can linux directly change hardware capabilities?

username EDIT: The selected answer didn't solve it for me, but the closest answer, maybe helpful to others. I have a Lenovo Y720 laptop with an RGB keyboard. Unfortunately, RGB only works on Windows, as it requires a program called "Lenovo Nerve Sense" to cont