VMware

Virtualization stuff (VMware)

Taken from here: http://sanbarrow.com/vmx/vmx-advanced.html sanbarrow.com

  Advanced parameters VMX-file parameters   only a small selection of this is commented yet - any help is welcome - contact me via forum-PMs or email - thanks Ulli Thanks to Oliver for ESX-related parameters advanced virtual hardware settings: bios cdrom chipset disklib hard-disk pcisound svga keyboard advanced interaction with the host: powerTyp priority isolation.tools mks (mouse, keyboard, screen) uuid msg guest.commands advanced setup of the host: host mainMem monitor_control vmx hypervisor server related settings: remoteDisplay sched   snapshot handling: snapshot checkpoint undopoint
bios  
bios.bootDelay = "5000" sets the boot delay in milliseconds WS 6.0.1 / Fusion
bios.forceSetupOnce = "TRUE" force the VM to enter BIOS on next boot WS 6.0.1 / Fusion
cdrom  
cdrom.minVirtualTime see knowledgebase
cdrom.aiomgr cdrom.asyncTimeout cdrom.bufferedPassThrough cdrom.defaultCdbLength cdrom.directPassThrough cdrom.iso.aiomgr cdrom.lockCDOnReads cdrom.logging cdrom.logMaxCmd cdrom.logMaxRes cdrom.modeSenseInterval cdrom.raw.aiomgr cdrom.releaseTimeout cdrom.reopenOnMediaChange cdrom.synchronous cdrom.useNonUnified cdrom.useSGIO   ?
hard-disk  
hard-disk.useUnbuffered = "true" aiomgr.buffered = "TRUE" disable buffering of vmdk I/O (this setting was used per default in Fusion Beta 3) see forum
hard-disk.asyncTimeout hard-disk.dropio hard-disk.enableIBR hard-disk.minVirtualTime hard-disk.synchronous ?
host  
host.TSC.noForceSync = "true" see kb 928
host.useFastclock = "false" fix timing issues - see kb 892
host.TSC.forcedDelta host.TSC.maxDelta host.cpukHz host.dumpDI  
host.noTSC ptsc.noTSC Timekeeping and power management kb article 1227
mainMem  
mainMem.useNamedFile = "true" silently defaults to "true" - set to "false" if you don't want to use mem-file for swapping - see config.ini
mainMem.partialLazyRestore available via GUI
mainMem.partialLazySave available via GUI
mainMem.allow8GB mainMem.ioBlockPages mainMem.ioWait mainMem.pageFileSave mainMem.preAllocVACache mainMem.prefetchMB mainMem.sharedMemHashTableSize mainMem.traceSave mainMem.vaAlignSize mainMem.vaCacheSize mainMem.vaTileSize dangerous - may affect performance
mks  
mks.ctlAltDel.ignore non functional ???
mks.disableHotkeys  
mks.enable3d = "true" required to enable experimental 3d support
mks.noBeep = "true" disable annoying guest-beeps
mks.movie.config.high.recordSound = "true" video-capture with sound - workstation only
mks.movie.config.high.bppDepth mks.movie.config.high.byteBudgetPerFrame mks.movie.config.high.byteThresholdWeight mks.movie.config.high.keyFrameThreshold mks.movie.config.high.pixelThresholdWeight mks.movie.config.high.sampleRate mks.movie.config.high.stereo mks.movie.config.high.useADPCM mks.movie.config.high.usecPerFrame mks.movie.config.high.useVMC2   workstation only
mks.absoluteMouse mks.alwaysWatermark mks.correctRemoteDesktopDirectInputScale mks.debugChainMgr mks.fullscreen.allowScreenSaver mks.fullScreenMonitor mks.gaffleInjectedModKeys mks.gl.dontLogErrors mks.gl.doubleBuffer mks.gl.fbo mks.gl.magFilter mks.gl.minFilter mks.gl.noTimeInfo mks.gl.useCopyContext mks.gl.useFBTexture mks.glConsole mks.keyboard.swapAlt mks.keyboardFilter mks.maxRefreshRate mks.minFullscreenHeight mks.minFullscreenWidth mks.mouseDebug mks.noEmulateResolution mks.noGL mks.noHostCursor mks.noThinkPadWorkaround mks.scaleMode mks.setMouseParams mks.showCursor mks.stayInFullScreen mks.threadPriority mks.thumb.fileName mks.thumb.scaleFactor mks.thumb.scaleMode mks.thumb.targetHeight mks.thumb.targetWidth mks.thumb.updatePeriodSecs mks.useDirectInput mks.windowed.allowScreenSaver mks.x.screenSaverTimeout ?
disklib  

disk.locking = "false"

usually VMware use a *lck file to lock vmdks - use "false" to override this -

diskLib.dataCacheMaxReadAheadSize = "0"

sets max amount of data that should be read ahead for clustering use 0 to disable caching at all
diskLib.dataCacheMinReadAheadSize = "0" sets min amount of data that should be read ahead for clustering use 0 to disable caching at all
diskLib.dataCacheMaxSize = "0" diskLib.dataCachePageSize = "4096" diskLib.maxUnsyncedWrites = "0" use for clustering
diskLib.tmpShrinkDefragExtension file-extension used for temp. files during shrink - 2.phase
diskLib.defaultEmbeddedDescSize sets size of embedded descriptor for monolithic-sparse ???
diskLib.twoGBFlatExtentSize = "2147221504" sets size of the split flat 2GB chunk could be used in earlier versions to create custom-size split disks
diskLib.twoGBSparseExtentSize = "2146435072" sets size of the split sparse 2GB chunk could be used in earlier versions to create custom-size split disks
diskLib.sparseMaxFileSizeCheck= "false" disables WS6 overeager filesystem check - (prevents using disks via drivers for ext2/3 on Windows or ntfs on Linux ...)

diskLib.bufferedMigrate diskLib.createSpaceSafetyMargin diskLib.dataCacheMaxRABusyCnt diskLib.dataCacheMaxSeqRA diskLib.dataCachePageSize diskLib.dataCacheSeqThreshold diskLib.dataCacheUpdateFrequency diskLib.dataCacheUseExtraRA diskLib.defaultGTEsPerGT diskLib.disableSparseChecker diskLib.flatAllocWriteSize diskLib.grainCoalescing diskLib.gtCacheMode diskLib.gtCacheSize diskLib.ignorePermissions diskLib.legacyCheckerTolerateHoles diskLib.maxNumGrainsCoalesced diskLib.redoGrainSize diskLib.redundantGrainMetadata disklib.sparse.bigJobGTWritePolicy disklib.sparse.bigJobMaxChangesBeforeFlush disklib.sparse.bigJobMaxDirtyGTEs disklib.sparse.bigJobRGTWritePolicy disklib.sparse.gtWritePolicy disklib.sparse.maxChangesBeforeFlush disklib.sparse.rgtWritePolicy diskLib.sparseOpenForceCheck diskLib.sparseRFPWriteSizeThreshold diskLib.sparseSplitStress diskLib.traceLevel diskLib.vmhsDefaultSimpleAioMgr diskLib.vmhsDefaultUnbufAioMgr

 
  top
priority  

priority.grabbed = "high" priority.grabbed = "normal"

available via GUI - sets the priority for the VM in grabbed state

priority.ungrabbed = "high" priority.ungrabbed = "normal" priority.ungrabbed = "idle"

available via GUI - sets the priority for the VM in ungrabbed state
  top
powerType  

powerType.powerOff = "default" powerType.powerOn = "default" powerType.reset = "default" powerType.suspend = "default"

  available via GUI
  top
svga  

svga.vramSize svga.maxHeight svga.maxWidth

used to enable experimental 3d support - see manual and KB article 1003 - used for custom video modes

svga.3d.disableStateCaching svga.3d.floatTextures svga.3d.maxLights svga.3d.maxTextureUnits svga.3d.renderTargets svga.alwaysAccelFront svga.autodetect svga.capabilitiesMask svga.debug.fpsFrameCount svga.debug.port svga.debug.showFPS svga.enableOverlay svga.fitHostDimensions svga.forceTraces svga.ignoreSavedState svga.ignoreVGAPalette svga.loghw svga.maxChangeCount svga.maxChangeTick svga.maxFullscreenRefreshTick svga.maxLocalChangeTick svga.maxNoChangeTick svga.mergeRectCmds svga.no3d svga.no8BitEmulation svga.noAlphaCursor svga.noCursorBypass svga.noCursorBypass2 svga.noExtendedFIFO svga.noFIFOAccelFront svga.noFIFOFence svga.noHWCursor svga.noMultimon svga.noOprom svga.noPitchLock svga.noPitchLockFifoReg svga.noPitchLockReg svga.noRectCopy svga.numDisplays svga.PCIAccelSize svga.PCIFBSize svga.syncTimeLimit svga.yes3d svga.yesAlphaBlend svga.yesGlyphClipping svga.yesGlyphs svga.yesLegacyOffscreen svga.yesOffscreen svga.yesRasterOp svga.yesRectFill

?
  top
uuid  

uuid.action = "create" uuid.action = "keep"

keep or generate new uuid

uuid.bios = "56 4d 8e a8 77 69 80 ea-db d7 a2 77 40 fd fd 37" uuid.location = "56 4d 8e a8 77 69 80 ea-db d7 a2 77 40 fd fd 37"

autogenerated

uuid.getHostUuid uuid.newScheme

?
  top
RemoteDisplay  

RemoteDisplay.vnc.enabled = "true" RemoteDisplay.vnc.port = "" RemoteDisplay.vnc.password = "password" RemoteDisplay.vnc.ip RemoteDisplay.vnc.key RemoteDisplay.vnc.keyMap RemoteDisplay.vnc.keyMapFile RemoteDisplay.vnc.zlibLevel RemoteDisplay.vncWheelStep

vnc-settings

RemoteDisplay.depth = "24" RemoteDisplay.depth = "16" RemoteDisplay.depth = "8"

set color depth for remote display - server only

RemoteDisplay.bpp remoteDisplay.forceDepth RemoteDisplay.maxConnections RemoteDisplay.maxHeight RemoteDisplay.maxWidth RemoteDisplay.no RemoteDisplay.noRingBell RemoteDisplay.noVMWCursorEncodings RemoteDisplay.noVMWEncodings

?
  top
monitor_control dangerous - may affect performance  
monitor_control.virtual_rdtsc = "false" This should turn off TSC virtualisation
monitor_control.restrict_backdoor = "true" if you want to run VMware inside a VM you will need this   setting this may cheat any program that scans for the VMware-backdoor channel like Ken Katos vmchk.exe It is NOT enough to cheat advanced VM-scanning methods like redpill or scoopy
monitor_control.enable_extended_svm = "true" required to run ESX inside a VM - use with AMD CPUs
monitor_control.vt32 = "true" required to run ESX inside a VM- use with Intel CPUs
monitor_control.disable_apic = "true" some older versions of FreeBSD needed this entry to install - no longer necessary
monitor_control.simmmu = "true" monitor_control.mmu_adaptive = "true" very old - used to install OpenStep - no longer necessary
monitor_control.disable_longmode = "1" force Solaris to install in 32bit-mode - see forum
monitor_control.pseudo_perfctr = "true" timing issues ? - see forum
monitor_control.log_vmsample = "false"  
monitor_control.disable_checkcodeexpire = "true" monitor_control.disable_checkcode = "true" used for MAC OS Tiger
monitor_control.disable_directexec = "true" monitor_control.disable_chksimd = "true" monitor_control.disable_ntreloc = "true" monitor_control.disable_selfmod = "true" monitor_control.disable_reloc = "true" monitor_control.disable_btinout = "true" monitor_control.disable_btmemspace = "true" monitor_control.disable_btpriv = "true" monitor_control.disable_btseg = "true"   disable VM-detection
monitor_control.enable_extended_core  
monitor_control.enable_paravirt  
  monitor_control.enable_vmeopt = "true"   see kb 461
   
  top
isolation.tools  
isolation.tools.osNotFound.disable = "false" per default VMware displays the "os not found" message
isolation.tools.copy.disable isolation.tools.copy.enable isolation.tools.paste.disable isolation.tools.paste.enable isolation.tools.dnd.disable copy and paste
isolation.tools.hgfs.disable = "false" set to "true" to disable shared folders

isolation.tools.getPtrLocation.disable = "true" isolation.tools.setPtrLocation.disable = "true" isolation.tools.setVersion.disable = "true" isolation.tools.getVersion.disable = "true"

prevent detection of a VM
  isolation.tools.apmFunction.disable   disable APM functions of the guest ???
  isolation.device.edit.disable isolation.monitor.control.disable isolation.tools.ACPI.disable isolation.tools.autoConnect.disable isolation.tools.diskShrink.disable isolation.tools.diskWiper.disable isolation.tools.getDiskGeo.disable isolation.tools.getGuiOptions.disable isolation.tools.getInfo.disable isolation.tools.getMachineId.disable isolation.tools.getMemSize.disable isolation.tools.getMhz.disable isolation.tools.getOS2IntCursor.disable isolation.tools.getPtrLocation.disable isolation.tools.getScreenSize.disable isolation.tools.getTime.disable isolation.tools.getUUId.disable isolation.tools.getVersion.disable isolation.tools.haltReboot.disable isolation.tools.haltRebootStatus.disable isolation.tools.hostCopy.disable isolation.tools.initScsiIoprom.disable isolation.tools.Int13.disable isolation.tools.log.disable isolation.tools.message.disable isolation.tools.osStateChange.disable isolation.tools.osStateChangeStatus.disable isolation.tools.removeImage.disable isolation.tools.rsvd0.disable isolation.tools.rsvd1.disable isolation.tools.rsvd2.disable isolation.tools.setGUIOptions.disable isolation.tools.setGUIOptions.enable isolation.tools.setInfo.disable isolation.tools.setOption.disable isolation.tools.setPtrLocation.disable isolation.tools.setVersion.disable isolation.tools.stopCatchup.disable isolation.tools.unifiedLoop.disable isolation.tools.updateTools.disable isolation.tools.vmdbpipeSend.disable  
  top
sched sorry folks - this is mostly unknown area to me - thanks Oliver for explanations  

sched.cpu.affinity = "all" sched.cpu.affinity = "2" sched.cpu.affinity = "2,3,5" sched.cpu.affinity = "2,3" sched.cpu.affinity = "0,1,2,3,4,5,6,7"

specify the CPU affinity for a VM defaults to "all", all is the same as adding all core numbers (counting starts with 0)

sched.cpu.shares = "3158" sched.cpu.shares = "normal"

number of CPU shares

sched.cpu.min = "0" sched.cpu.min =

CPU reservation

sched.cpu.max = "1400" sched.cpu.max = "1600" sched.cpu.max = "800"

maximum CPU usage allowed for VM

sched.cpu.htsharing = "any" sched.cpu.htsharing = "none" sched.cpu.htsharing = "internal"

sharing with HT capable CPUs

sched.cpu.units = "mhz"

Units for sched.cpu.min and sched.cpu.max

sched.mem.affinity = "all" sched.mem.affinity = "0,1,2,3,4,5,6,7"

memory affinity for NUMA systems

sched.mem.shares = "696" sched.mem.shares = "normal"

number of memory shares

sched.mem.maxmemctl

ESX - specific ?

sched.mem.minsize = "0"

memory reservation for a VM if this equals sched.mem.max or the configured memory size paging for the VM is disabled setting this also disables page sharing

sched.mem.max = "384" sched.mem.max = "unlimited"

max memory allowed for the VM not useful since this is determined by the VM memory setting

sched.mem.softlimit

ESX - specific ?

sched.mem.swaplimit

ESX - specific ?

sched.mem.pshare.checkRate sched.mem.pshare.debug sched.mem.pshare.enable sched.mem.pshare.scanRate

ESX - specific ?

sched.mem.balloon.debugzerofrequency sched.mem.balloon.maxdebugtarget

ESX - specific ?

sched.swap.hostLocal sched.swap.derivedName = "/vmfs/volumes/44db07a5-92eae0d3-5dcd-001635

location of the VM swap file

sched.net.filter.class = "nfshaper" sched.net.filter.args = "30000000 70000000 4000000"

ESX - specific ?
  top
tools  

toolScripts.afterPowerOn = "true"

run script after power on
toolScripts.afterResume = "true" run script after resume
toolScripts.beforePowerOff = "true" run script before power off
toolScripts.beforeSuspend = "true" run script beforer resume

tools.remindInstall = "false"

do not remind to install VMware-tools
tools.syncTime = "false" disable time synchronisation via VMware-tools

tools.broadcastIP tools.capability.auto_upgrade tools.capability.copypaste_version tools.capability.display_topology_set tools.capability.dnd_version tools.capability.guest_temp_directory tools.capability.haltreboot tools.capability.hgfs_server tools.capability.open_url tools.capability.printer_set tools.capability.resolution_min tools.capability.resolution_set tools.capability.statechange tools.capability.upgrader_parameters tools.disableSoftPower tools.guestos.phase tools.guestUptime tools.hgfs.volumeInfoType tools.ipCheckInterval tools.os.haltreboot.status tools.os.statechange.status tools.set.version tools.setInfo.sizeLimit tools.state tools.statusMsgs.disable tools.syncTime.period tools.upgrade.policy

 
  top
pciSound These parameters are somehow related but not dependant on the main-switch that  
pciSound.DAC2InterruptsPerSec = "16" used for MAC OS Tiger
pciSound.enableVolumeControl see KB 853

pciSound.ADCInterruptsPerSec pciSound.DAC1InterruptsPerSec pciSound.emulateMixer pciSound.hostSampleRateDelta pciSound.linearVolume pciSound.noIntrPriorityInheritance pciSound.noLockPriorityInheritance pciSound.noPollPriorityBoost pciSound.noPollThread pciSound.noSuperPriorityBoost pciSound.playBuffer pciSound.priorityBoost

 
snapshot  
snapshot.action snapshot.asyncConsolidate snapshot.crash.%d snapshot.crashTest snapshot.current snapshot.disabled snapshot.lastUID snapshot.mru%d.uid snapshot.mru.maxNum snapshot.needConsolidate snapshot.numSnapshots snapshot.protected snapshot.sanityTest snapshot.sanityTestIterations snapshot.sanityTestPeriod snapshot.version  
snapshot0.clone snapshot0.createTimeHigh snapshot0.createTimeLow snapshot0.description snapshot0.disk%d.fileName snapshot0.disk%d.mode snapshot0.disk%d.node snapshot0.displayName snapshot0.filename snapshot0.numClones snapshot0.numDisks snapshot0.numVPlays snapshot0.parent snapshot0.type snapshot0.uid snapshot0.vplay%d.displayName snapshot0.vplay%d.fileName  
vmx  
vmx.acceptConnections vmx.allowNested vmx.alwaysUseSubsysID vmx.capability.copypaste_version vmx.capability.dnd_version vmx.capability.edit_devices vmx.capability.edit_scripts vmx.capability.ptr_grab_notification vmx.capability.tools_pkg_version vmx.capability.unified_loop vmx.connectserverd vmx.ipc.maxBufferedBytes vmx.ipc.maxBufferedPackets vmx.maxOutWSS vmx.noPriorityBoost vmx.noPriorityInheritance vmx.set_option vmx.superPriorityBoost vmx.useLegacySubsysID  
guest.commands  
guest.commands.allowAnonGuestCommands guest.commands.alwaysRelayVixCOmmands guest.commands.anonGuestCommandsRunAsConsoleUser guest.commands.anonGuestCommandsRunAsRoot guest.commands.anonGuestPassword guest.commands.anonGuestUserName guest.commands.enabled
undopoint  
undopoint.action undopoint.checkpointedOnline undopoint.disableSnapshots undopoint.protected undopoint.restoreFromCheckpoint undopoints.seqNum
chipset  
chipset.enableGART chipset.onlineStandby chipset.type chipset.useAcpiBattery chipset.useApmBattery new in workstation 6
checkpoint  
  checkpoint.overrideVersionCheck = "true"   use to force resume of a suspended VM when the VMware-version has changed
checkpoint.disableCpuCheck = "true" use to force resume of a suspended VM when the CPU has changed - only makes sense in some very rare cases
checkpoint.compressLevel checkpoint.cptConfigName checkpoint.fastMonSwitchID checkpoint.format.64bit checkpoint.mks.saveimage checkpoint.runSuspendTest checkpoint.stunTortureTest checkpoint.stunTortureTestIterations checkpoint.stunTortureTestPeriod checkpoint.stuntiming checkpoint.suspendTestIterations checkpoint.sync.timing checkpoint.vmState checkpoint.vmState.readOnly  
msg  
msg.autoAnswer = "TRUE" tries to automatically answer all questions that may occur at boot-time.
hypervisor  
hypervisor.xen.allow
keyboard  
keyboard.allowTypematicInMKS keyboard.keyboardWait keyboard.mouseWait keyboard.softAutorepeat keyboard.typematicMinDelay
pref  
pref.enableTopmost = "FALSE" see forum
     home       vmx      &n

Copyright© MyVex 2008 Website design by Wavereel