qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 1/8] virtio: endian-ambivalent targets using


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH v7 1/8] virtio: endian-ambivalent targets using legacy virtio
Date: Mon, 14 Apr 2014 14:38:14 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0


On 14.04.14 14:34, Michael S. Tsirkin wrote:
On Mon, Apr 14, 2014 at 02:31:06PM +0200, Alexander Graf wrote:
On 14.04.14 14:28, Michael S. Tsirkin wrote:
On Mon, Apr 14, 2014 at 02:22:36PM +0200, Alexander Graf wrote:
Could we try to poison any non-virtio, non-endian-specific memory
accessors when this file is included? That way we don't fall into
pitfalls where we end up running stl_p in a tiny corner case
somewhere still.


Alex
Not sure about all users but it looks like the only file including this
is virtio.c right?
I'm guessing that's safe there.
any virtio device implementations, since they need to communicate
with the guest :).
In that case how can we poison regular memory accesses?
Devices normally do more than virtio related things.

Device should never do anything based on the guest endianness (because they don't know), so stx_p and ldx_p should always be poisoned.


Alex




reply via email to

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