On Tue, 2007-08-21 at 20:17 +0200, Hervé Poussineau wrote: > Hi, > > VMware registers the port 0x5658 to communicate between guest and host. > At the moment, vmmouse.c is the only one to use this communication channel, > so it registers the port. IMO, this design is not right because it will be > hard to implement other functionalities of VMware. > > I extracted non-mouse part from this file and created a framework for VMware > communication in a new file. Devices can then register for specific > commands, so communication port will be shared between devices. > I also added support for "Get RAM size" command. More commands will be added > later.
What other things are used for this port and where is it documented? What is the "Get RAM size" command used by? AFAIK, the vmware tools have a EULA that prevents them from being used in QEMU guests. Unless there's an open source driver that uses these commands, I don't see the use of supporting them if the drivers are restricted from being used within QEMU. Regards, Anthony Liguori > Attached files: > 0 - vmmouse-formatting.diff > Replace tabs by 8 spaces. No code change > 1 - adding-vmport.diff > Add a generic framework for VMware communication port > 2 - vmmouse-using-vmport.diff > Use the framework for the VMware mouse emulation > > Hervé