From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGmau-0001RP-7N for qemu-devel@nongnu.org; Sun, 20 Jan 2008 21:41:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGmas-0001OD-L6 for qemu-devel@nongnu.org; Sun, 20 Jan 2008 21:41:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGmas-0001Ny-FH for qemu-devel@nongnu.org; Sun, 20 Jan 2008 21:41:02 -0500 Received: from an-out-0708.google.com ([209.85.132.242]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGmar-0003xZ-UM for qemu-devel@nongnu.org; Sun, 20 Jan 2008 21:41:02 -0500 Received: by an-out-0708.google.com with SMTP id b38so524253ana.130 for ; Sun, 20 Jan 2008 18:41:01 -0800 (PST) Message-ID: <47940645.7030409@codemonkey.ws> Date: Sun, 20 Jan 2008 20:41:09 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: AW: Re: [Qemu-devel] VMport patch References: <20080120222742.B2F993A9B@csgraf.de> <4793D4B6.8030408@codemonkey.ws> <200801202317.32855.mark.williamson@cl.cam.ac.uk> In-Reply-To: <200801202317.32855.mark.williamson@cl.cam.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Williamson Cc: qemu-devel@nongnu.org Mark Williamson wrote: >>> I think it would be great to maintain compatibility with the binary-only >>> versions of the vm tools though. >>> >> But you're changing the semantics of the x86 instruction set. You >> potentially break a real operating system. It also eliminates the >> possibility of nesting with something like kqemu because you can't trap >> all PIO operations. >> > > Maybe have a commandline flag, and have it switched off by default? Or, even > better, would be to detect valid vmware tools behaviour and switch it on iff > that happened; the default being to behave normally for OSes that aren't > running the VMware tools.. > There is no way to know for sure that it's vm-tools running. You would have to make use of the cpu option to support it I reckon. Regards, Anthony Liguori > Cheers, > Mark > > >> Regards, >> >> Anthony Liguori >> >> >>> Regards, >>> >>> Alex >>> >>> ----- Ursprüngliche Nachricht ----- >>> Von: Anthony Liguori >>> Gesendet: Sonntag, 20. Januar 2008 22:40 >>> An: qemu-devel@nongnu.org >>> Betreff: Re: [Qemu-devel] VMport patch >>> >>> Filip Navara wrote: >>> >>>> Hello, >>>> >>>> the current version of QEMU emulates the VMware backdoor I/O port and >>>> it works quite well. Unfortunately it doesn't emulate the VMware >>>> behavior of ignoring the I/O permissions when accessing this special >>>> port. The attached patch corrects it. It's important to ignore the >>>> permissions, so that user mode VMware tools can communicate to the >>>> backdoor. = >>>> >>> I really dislike that VMware relies on this. It's very hard to >>> implement in kqemu or KVM. I think it would be better to modify >>> open-vm-tools than to modify QEMU. >>> >>> Regards, >>> >>> Anthony Liguori >>> >>> >>>> Best regards, >>>> Filip Navara >>>> > > > >