[syslinux] [PATCH] core: Allow pasting from a VMware host by typing Ctrl-P

H. Peter Anvin hpa at zytor.com
Fri Feb 18 10:33:51 PST 2011


On 02/18/2011 05:34 AM, Jeffrey Hutzelman wrote:
> When Syslinux is running in a VMWare virtual machine and Ctrl-P
> is typed while editing the boot command line, insert the contents
> of VMware's clipboard.  This allows text to be copied from the
> host (or wherever the console client is running) into Syslinux.
> 
> Signed-off-by: Jeffrey Hutzelman <jhutz at cmu.edu>

No way in hell, sorry.  You're touching I/O ports without first
verifying that touching those I/O ports is safe.  And no, I don't
consider VMware's idea that you can just do a random "in" to be a safe
method of detection.

The other thing is that this would have to do into a lot more places
than this.

> +		mov eax,VMwareMagic
> +		mov ebx,0
> +		mov cx,000ah			; Get VMware version
> +		mov dx,VMwarePort
> +		in eax,dx

	-hpa




More information about the Syslinux mailing list