qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] page fault during ins


From: Piotras
Subject: [Qemu-devel] page fault during ins
Date: Mon, 13 Dec 2004 15:52:12 +0100

Hi!

The current implementation of ins (Input from Port to String) is 
not-restartable. If page fault occurs during write, the port read 
is redone and for some devices this may give unexpected results.

This is different from what real CPU does. From my tests with 
Pentium II it seems that the CPU first makes sure that data can 
be written, and then issue IO read. I'm attaching my test program 
-- it may do harm to your system, so be very careful. The test 
assumes that there is a CDROM connected as master to second 
IDE controller (hdc).


Regards,

Piotrek

Attachment: test-ide.c
Description: Text Data


reply via email to

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