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

Re: [Xen-devel] [Qemu-devel] [PATCH] Citrix PV Bus device



On 2 July 2013 11:57, Paul Durrant <Paul.Durrant@xxxxxxxxxx> wrote:
>> -----Original Message-----
>> From: Paolo Bonzini [mailto:pbonzini@xxxxxxxxxx]
>> > 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.