From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Rath Subject: Controlling (WinXP-Guest)- Textmode via chardev pipe broken? Date: Tue, 20 Dec 2011 11:01:08 +0100 Message-ID: <4EF05CE4.9090107@mglug.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from phineas.fibbs.org ([109.234.106.32]:42854 "EHLO mail.fibbs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753156Ab1LTKBI (ORCPT ); Tue, 20 Dec 2011 05:01:08 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.fibbs.org (Postfix) with ESMTP id E551A1E600B for ; Tue, 20 Dec 2011 11:01:06 +0100 (CET) Received: from mail.fibbs.org ([127.0.0.1]) by localhost (mail.fibbs.org [127.0.0.1]) (amavisd-new, port 10022) with ESMTP id cVarr-3Zryi6 for ; Tue, 20 Dec 2011 11:01:06 +0100 (CET) Received: from phineas.fibbs.org (localhost [127.0.0.1]) by mail.fibbs.org (Postfix) with ESMTP id 3A0281E600A for ; Tue, 20 Dec 2011 11:01:06 +0100 (CET) Received: from host-80-81-18-2.customer.m-online.net ([80.81.18.2]) by phineas.fibbs.org with SMTP ID 194 for ; Tue, 20 Dec 2011 11:01:06 +0100 (CET) Received: from [192.168.172.254] (host-80-81-18-2.customer.m-online.net [80.81.18.2]) by mail.fibbs.org (Postfix) with ESMTPA id D91861E600A for ; Tue, 20 Dec 2011 11:01:05 +0100 (CET) Sender: kvm-owner@vger.kernel.org List-ID: Hi List, Im trying to control a winxp installation process (esp. the text-mode part) via pipe through kvm. Im using the git-version of kvm from yesterday (2011-12-19), build with these parameters: ~/qemu-kvm$ ./configure --enable-sdl ~/qemu-kvm$ make ~/qemu-kvm$ sudo make install What works: 1. Generating ~/.winpipe/path.{in,out}via mkdir .winpipe; mkfifo .winpipe/path.in; mkfifo .winpipe/path.out 2. Creating emty image via qemu-img create win.img 20G 3. Starting kvm via: qemu-system-x86_64 -m 1G -hda win.img -cdrom winxpsp3.iso -chardev pipe,id=mywinpipe,path=.winpipe/path What doesn't: 1. Piping some text via echo "R" > .winpipe/path.in (i.e. for starting repair console in winxp-textmode) doesnt have any effect 2. Reading from path.out via cat ~/.winpipe/path.out (nothing happens except the vm ends, then the command "cat .winpipe/path.out" ends, too) has no result, only waiting 3. There is no .pipe/ directory inside winxp, wether on C: nor on D: (looked in via starting repair-console with "R") Whats wrong? Tfh! Oliver