qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/7] Convert pc cpu to qdev


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/7] Convert pc cpu to qdev
Date: Wed, 14 Mar 2012 10:57:15 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 03/14/2012 10:54 AM, Gleb Natapov wrote:
On Wed, Mar 14, 2012 at 10:42:50AM -0500, Anthony Liguori wrote:

There's still a few places in QEMU that assume that
qemu_ram_get_ptr() returns a pointer that's good indefinitely.

We also don't have a mechanism to revoke cpu_physical_map()
pointers.  Maybe the answer is reference counting and relying on
being able to eventually release the memory...   Of course, then an
unplug followed by an immediate plug would be complicated.

Hmm, Avi assured me that with the memory API rework it should be easy :(
grep founds nothing about qemu_ram_get_ptr() and cpu_physical_map()
though. What should I look for?

memory_region_get_ptr() and cpu_memory_physical_map().

Regards,

Anthony Liguori



reply via email to

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