qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] virtio_tswaps() vs virtio_ld/st_p()


From: Paolo Bonzini
Subject: Re: [Qemu-devel] virtio_tswaps() vs virtio_ld/st_p()
Date: Mon, 19 Jan 2015 14:01:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0


On 19/01/2015 13:53, Peter Maydell wrote:
> > Heh, not sure I would have provided such a comprehensive answer. :)
>
> ...so now I have a question: what semantics does virtio expect
> for its virtio_ld*/st*_phys accessors if QEMU is emulating a
> CPU with virtualization support? Is the assumption just that
> the guest that's using virtio has a 1:1 mapping of what it
> thinks are physical addresses to real guest physical addresses?

Right now, the semantics are "PPC uses DMA addresses, everything else
uses physical addresses".  However, this could be changed since x86
IOMMU support is still experimental, and without an IOMMU DMA addresses
_are_ physical addresses.

Paolo



reply via email to

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