[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Citrix PV Bus device
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH] Citrix PV Bus device |
Date: |
Thu, 4 Jul 2013 11:37:25 +0300 |
On Tue, Jul 02, 2013 at 12:10:17PM +0100, Peter Maydell wrote:
> On 2 July 2013 11:57, Paul Durrant <address@hidden> wrote:
> >> -----Original Message-----
> >> From: Paolo Bonzini [mailto:address@hidden
> >> > So the reason to place the device here is TARGET_PAGE_SIZE...
> >> > We really need a way to access that value from common code,
> >> > somewhere down my TODO list. :/
>
> We probably don't, because it generally doesn't mean what you
> think it does. It's the smallest possible page size the guest
> CPU supports, which may not be the same as the actual page
> size the guest OS is using.
>
> >> Why does it need to be in pages rather than bytes?
>
> > It doesn't necessarily need to be in pages; it's just a more
> > convenient quantity than bytes.
>
> It isn't really more convienient, because the guest would have
> to tell QEMU what the page size was. (I'm told that virtio is
> planning to move to a simple "just use a byte count" approach.)
>
> thanks
> -- PMM
Yes, sometime in a distant future ...
Re: [Qemu-devel] [PATCH] Citrix PV Bus device, Andreas Färber, 2013/07/02
Re: [Qemu-devel] [PATCH] Citrix PV Bus device, Anthony Liguori, 2013/07/02
[Qemu-devel] [PATCH] Citrix PV Bus device, Paul Durrant, 2013/07/02