From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Malone Subject: Serial problems Date: Wed, 13 Aug 2008 15:53:10 +1200 Message-ID: <48A25AA6.7090108@tait.co.nz> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT To: kvm mailing list Return-path: Received: from gatekeeper.tait.co.nz ([202.37.96.11]:50642 "EHLO gatekeeper.tait.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754283AbYHMDxN (ORCPT ); Tue, 12 Aug 2008 23:53:13 -0400 Received: from gatekeeper.tait.co.nz (localhost.localdomain [127.0.0.1]) by localhost.tait.co.nz (Postfix) with ESMTP id 97D6B467C8 for ; Wed, 13 Aug 2008 15:53:12 +1200 (NZST) Received: from sunstrike.tait.co.nz (sunstrike [172.25.40.92])by gatekeeper.tait.co.nz (Postfix) with ESMTP id 8485746759for ; Wed, 13 Aug 2008 15:53:11 +1200 (NZST) Received: from conversion-daemon.sunstrike.tait.co.nz by sunstrike.tait.co.nz(Sun Java System Messaging Server 6.1 (built Apr 28 2004))id <0K5I00801REAGG00@sunstrike.tait.co.nz>(original mail from michael.malone@tait.co.nz) for kvm@vger.kernel.org; Wed,13 Aug 2008 15:53:11 +1200 (NZST) Received: from [172.25.143.6] by sunstrike.tait.co.nz(Sun Java System Messaging Server 6.1 (built Apr 28 2004))with ESMTP id <0K5I001ADTGMCXA0@sunstrike.tait.co.nz> for kvm@vger.kernel.org;Wed, 13 Aug 2008 15:53:10 +1200 (NZST) Sender: kvm-owner@vger.kernel.org List-ID: Hi all, Here at my work we develop our code for an embedded system in linux, but the application we use to put firmware onto the physical device runs only under windows. I am investigating the feasibility of running windows as a virtual machine, rather than our current situation where every developer has two boxes at their desk. The new boxes at work don't come with a serial port, so I am trying with a USB to serial converter and running kvm like: kvm -hda windows2.img -boot c -m 1000 -serial /dev/ttyUSB0 -smp 2 -usb -usbdevice "tablet" -full-screen -cdrom /dev/cdrom I can do low-cpu tasks with the embedded device like reading the current configuration, but I can't do cpu-intensive tasks like loading a new firmware onto the device. I have sniffed the line to see what is being sent down the physical wires and I have logged inside windows what the application was sending and the two are almost the same, until we meet an ascii null. We log an ascii null (0x00) as being sent, but on the other side of the virtual machine 0xFF is coming out. We can run the application with Wine and download firmware but can't read the current configuration, so it's not the linux usb to serial converter drivers. So my question is, do you have any idea what's going wrong? I have tried kvm72 and the 2008-08-12 nightly snapshot. I am running an Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz with 2048MB RAM on Ubuntu Linux 8.04 (Hardy Heron). if anyone can help, it would be greatly appreciated! Thanks in advance, Michael Malone ======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. =======================================================================