[Top][All Lists]
[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
test-ide.c
Description: Text Data
- [Qemu-devel] page fault during ins,
Piotras <=