向VMWare虚拟机添加一个串口设备(serial port)

Shutdown the VM and add this to the vmx file and then restart the VM, if the host OS is Linux:
 
serial0.present = “true”
serial0.fileType = “device”
serial0.fileName = “/dev/ttyS0”
 
If host is Windows:
 
serial0.present = “true”
serial0.fileType = “device”
serial0.fileName = "COM1"
这里的设备名称取决运行vm的主机的操作系统,所以设备名称也来自这个操作系统的命名方式。

posted on 2008-06-10 08:48  爱你一万年123  阅读(333)  评论(0编辑  收藏  举报

导航