qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Log I/O from host Parallel Port?


From: Vincent Palatin
Subject: Re: [Qemu-devel] Log I/O from host Parallel Port?
Date: Tue, 8 Aug 2006 11:54:16 +0200
User-agent: KMail/1.8.1

On Tuesday 08 August 2006 11:05, Steve Ellenoff wrote:
> Is there any easy way to log all I/O data reads & writes to/from the host
> parallel port, when using the -parallel /dev/parport0 option?
>
> My host is connected via parallel port to some custom hardware and I'd like
> to be able to diagnose why the hardware's not working, by seeing the data
> stream of the port.

Near the top of the file "hw/parallel.c", you can find the following line :
//#define DEBUG_PARALLEL

just uncomment it and rebuilt qemu, all parallel I/O will be written to 
stdout. (or feel free to modify the printf traces)

-- 
Vincent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]