[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] SVM IOIO intercept does not check all bits
From: |
Bernhard Kauer |
Subject: |
Re: [Qemu-devel] [PATCH] SVM IOIO intercept does not check all bits |
Date: |
Sat, 8 Dec 2007 21:50:17 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Fri, Dec 07, 2007 at 04:16:00PM +0100, Alexander Graf wrote:
>>>> For IN/OUT instructions that access more than a single byte, the
>>>> permission bits for all bytes are checked; if any bit is set to 1,
>>>> the I/O operation is intercepted.
>>>>
>
> That was the one. Thank you.
Unfortunately there is another bug in this line. As there
is only a single byte read from the permission bitmap, an
unaligned 4-byte access to port 0x7 would be possible even
when the access to port 0x8-0xa is not allowed. The updated
patch fixes also this case.
Bernhard Kauer
qemu_ioio.diff
Description: Text Data