|
From: | Mike Lovell |
Subject: | Re: [Qemu-discuss] Fwd: Writing to guest serial port from the host. |
Date: | Tue, 14 Feb 2012 10:27:22 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Lightning/1.0b2 Thunderbird/3.1.16 |
On 02/14/2012 06:11 AM, Дмитрий Корищенко wrote:
Hello everyone! I have a problem:for development purposes i want to map some kind of file or maybe host system serial port to guest serial port. For example, mapping host serial port to guest serial port - if i write something to host serial port, all data appears on guest serial port. And vice versa. That means some kind of bidirectional mapping between guest and host serials.Is this can be achieved with QEMU?I'm using qemu-system-arm for emulating angstrom linux for gumstix overo boards.
try adding '-serial /dev/ttyS0' to your invocation of qemu, replacing ttyS0 with whatever host serial port you want to use. you should be able to then use a serial device in the guest that maps to the one specified on the host. i haven't tried this myself but it is listed in the man page.
mike
[Prev in Thread] | Current Thread | [Next in Thread] |