METHODS AND APPARATUS FOR SHARING A PHYSICAL DEVICE BETWEEN MULTIPLE PHYSICAL MACHINES
Methods and apparatus for sharing a physical device and/or service between multiple virtual and/or physical machines are disclosed. In an embodiment, a hypervisor grants permission to a first virtual machine to access a physical device via the hypervisor. For example, the hypervisor may grant permission to a first virtual machine to access a physical audio device. A second virtual machine then accesses the physical device via the hypervisor and the first virtual machine using a virtual services network stack. For example, the second virtual machine may play music on the audio device via the first virtual machine. In another embodiment, a first physical machine is granted permission to access and/or is connected to a physical device (e.g., an audio device) via a communication channel. A second physical machine then accesses the physical device (e.g., plays music) via the communication channel and the first physical machine using the virtual services network stack.
1 . A method of sharing access to a physical device between a plurality of physical machines, the method comprising:
granting permission to a first physical machine to access the physical device via a communication channel; and
using a packet switched protocol stack to access the physical device from a second different physical machine via the communication channel and the first physical machine.
2 . The method of claim 1 , wherein the communication channel includes a wired network.
3 . The method of claim 1 , wherein the communication channel includes a wireless network.
4 . The method of claim 1 , wherein the communication channel includes a shared memory.
5 . The method of claim 1 , wherein the communication channel includes a point-to-point physical link.
6 . The method of claim 1 , wherein the communication channel includes an Internet.
7 . The method of claim 1 , wherein granting permission to the first physical machine to access the physical device includes granting permission to the first physical machine to access physical memory associated with the physical device.
8 . The method of claim 1 , wherein the physical device is an input device.
9 . The method of claim 1 , wherein the physical device is an output device.
10 . The method of claim 1 , wherein the physical device is an input/output device.
11 . The method of claim 1 , wherein the physical device is a coprocessing device.
12 . An apparatus for sharing access to a physical device between a plurality of physical machines, the apparatus comprising:
a communication channel; and
at least one physical processor operatively coupled to the communication channel; wherein the at least one physical processor is structured to:
grant permission to a first physical machine to access the physical device via the communication channel; and
use a packet switched protocol stack to access to facilitate accessing the physical device from a second different physical machine via the communication channel and the first physical machine.
13 . The apparatus of claim 12 , wherein the communication channel includes a wired network.
14 . The apparatus of claim 12 , wherein the communication channel includes a wireless network.
15 . The apparatus of claim 12 , wherein the communication channel includes a shared memory.
16 . The apparatus of claim 12 , wherein the communication channel includes a point-to-point physical link.
17 . The apparatus of claim 12 , wherein the communication channel includes an Internet.
18 . The apparatus of claim 12 , wherein granting permission to the first physical machine to access the physical device includes granting permission to the first physical machine to access physical memory associated with the physical device.
19 . The apparatus of claim 12 , wherein the physical device is an input device.
20 . The apparatus of claim 12 , wherein the physical device is an output device.
21 . The apparatus of claim 12 , wherein the physical device is an input/output device.
22 . The apparatus of claim 12 , wherein the physical device is a coprocessing device.
23 . A computer readable memory storing instructions structured to cause an electronic device to:
grant permission to a first physical machine to access a physical device via a communication channel; and
use a packet switched protocol stack to access the physical device from a second different physical machine via the communication channel and the first physical machine.
24 . The computer readable memory of claim 23 , wherein the communication channel includes a wired network.
25 . The computer readable memory of claim 23 , wherein the communication channel includes a wireless network.
26 . The computer readable memory of claim 23 , wherein the communication channel includes a shared memory.
27 . The computer readable memory of claim 23 , wherein the communication channel includes a point-to-point physical link.
28 . The computer readable memory of claim 23 , wherein the communication channel includes an Internet.
29 . The computer readable memory of claim 23 , wherein granting permission to the first physical machine to access the physical device includes granting permission to the first physical machine to access physical memory associated with the physical device.
30 . The computer readable memory of claim 23 , wherein the physical device is an input device.
31 . The computer readable memory of claim 23 , wherein the physical device is an output device.
32 . The computer readable memory of claim 23 , wherein the physical device is an input/output device.
33 . The computer readable memory of claim 23 , wherein the physical device is a coprocessing device.