8 (Optional) On the Hardware tab, select the new serial port, select Yield CPU on poll, and click OK.
This option is useful if you are using debugging tools that communicate over a serial connection. If the
serial port in the guest operating system is being used in polled mode rather than interrupt mode, you
might notice performance issues. This option forces the virtual machine to yield processor time if the
only task it is trying to do is poll the virtual serial port.
What to do next
If you set up a connection between two virtual machines, the first virtual machine is set up as the server.
Repeat this procedure for the second virtual machine, but set it up as the client by selecting This end is the
client when you configure the named pipe.
Change the Input Speed of a Serial Connection
You can increase the speed of a serial connection over a pipe to a virtual machine.
In principle, the output speed, which is the speed at which the virtual machine sends data through the
virtual serial port, is unlimited. In practice, the output speed depends on how fast the application at the
other end of the pipe reads inbound data.
Prerequisites
n
Use the guest operating system to configure the serial port for the highest setting supported by the
application that you are running in the virtual machine.
n
Power off the virtual machine and exit Player.
Procedure
1 In a text editor, add the following line to the virtual machine configuration (.vmx) file.
serialport_number.pipe.charTimePercent = "time"
port_number is the number of the serial port, starting from 0. The first serial port is serial0. time is a
positive integer that specifies the time taken to transmit a character, expressed as a percentage of the
default speed set for the serial port in the guest operating system. For example, a setting of 200 forces
the port to take twice as long for each character, or send data at half the default speed. A setting of 50
forces the port to take only half as long for each character, or send data at twice the default speed.
2 Assuming that the serial port speed is set appropriately in the guest operating system, experiment with
this setting by starting with a value of 100 and gradually decreasing it until you find the highest speed
at which the connection works reliably.
Configuring Generic SCSI Devices
The generic SCSI feature gives the guest operating system direct access to SCSI devices that are connected to
the host system, including scanners, tape drives, and other data storage devices. A virtual machine can use
the generic SCSI driver to run any SCSI device that is supported by the guest operating system.
To use SCSI devices in a virtual machine running on a Windows host system, you must run Player as a user
who has administrator access.
On Linux host systems, you must have read and write permissions on a given generic SCSI device to use
that device in a virtual machine, even if the device is a read-only device, such as a CD-ROM drive. These
devices typically default to root-only permissions. A Linux administrator can create a group that has read
and write access to these devices and add the appropriate users to that group.
Although generic SCSI is device independent, it can be sensitive to the guest operating system, device class,
and specific SCSI hardware.
Chapter 6 Configuring and Managing Devices
VMware, Inc. 91
Kommentare zu diesen Handbüchern