[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 37/45] qemu_ram_block_from_host
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH v5 37/45] qemu_ram_block_from_host |
Date: |
Tue, 24 Mar 2015 15:55:07 +1100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Feb 25, 2015 at 04:52:00PM +0000, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Postcopy sends RAMBlock names and offsets over the wire (since it can't
> rely on the order of ramaddr being the same), and it starts out with
> HVA fault addresses from the kernel.
Though as noted earlier, I do wonder if GPA might be a better idea.
>
> qemu_ram_block_from_host translates a HVA into a RAMBlock, an offset
> in the RAMBlock, the global ram_addr_t value and it's bitmap position.
>
> Rewrite qemu_ram_addr_from_host to use qemu_ram_block_from_host.
>
> Provide qemu_ram_get_idstr since its the actual name text sent on the
> wire.
>
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: David Gibson <address@hidden>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpaCV4I6hOUU.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v5 37/45] qemu_ram_block_from_host,
David Gibson <=