2.0

Table Of Contents
VMware Server User’s Guide
176 VMware, Inc.
When you are ready to continue, complete the following steps:
1Poweronbothvirtualmachines.
2Makesurethattheserialportisconnected.
3Inthedebuggervirtualmachine,startdebuggingwithWinDbgorKD.
Advanced Options for Debugging Applications
Certainconfigurationoptionsareavailableforserialconnectionsbetweenavirtual
machineandthehostorbetweentwovirtualmachines.Theseoptionsareprimarilyof
interesttodeveloperswhoareusingdebuggingtoolsthatcommunicateoveraserial
connection.
Yielding CPU on Poll to Improve Performance When Debugging
WhenyouselectYieldCPUonPoll,youforcetheaffected
virtualmachinetoyield
processortimeiftheonlytaskitistryingtoperformistopollthevirtualserialport.
Thisoptionisusefulwhentheserialportisbeingusedbytheguestoperatingsystem
inpolledmodeasopposedtointerruptmode.Polledmodecausesthevirtual
machine
toconsumeadisproportionateshareofCPUtime,whichcancausethehostandother
gueststorunsluggishly.
Changing the Input Speed of the Serial Connection
Thisoptionincreasesthespeedofyourserialconnectionoverapipetothevirtual
machine.Inprinciple,thereisnolimitontheoutputspeed,whichisthespeed
atwhich
thevirtualmachinesendsdatathroughthevirtualserialport.Inpractice,theoutput
speeddependsonhowfasttheapplicationattheotherendofthepipereadsdatabeing
senttoit.
To change the input speed of the serial connection
1Usetheguestoperatingsystemtoconfiguretheserialportforthehighestsetting
supported
bytheapplicationyouarerunninginthevirtualmachine.
2Poweroffthevirtualmachine.
3Addtheserial<n>.pipe.charTimePercentparametertoyourvirtual
machine’sconfiguration(.vmx)fileasdescribedin“ChangingVirtualMachine
AdvancedSettings”onpage 127,andsetittoapositiveintegervalue,asfollows:
nisthenumberoftheserialport,startingfrom0.Sothefirstserialportis
serial0.