On 10/11/2012 10:45 AM, liu ping fan wrote:
> On Thu, Oct 11, 2012 at 4:31 PM, Avi Kivity wrote:
>> On 10/11/2012 05:38 AM, liu ping fan wrote:
+void address_space_init_dispatch(AddressSpace *as)
+{
+AddressSpaceDispatch *d = g_new(AddressSpaceDispatch, 1);
+
+
On Thu, Oct 11, 2012 at 4:31 PM, Avi Kivity wrote:
> On 10/11/2012 05:38 AM, liu ping fan wrote:
>>>
>>> +void address_space_init_dispatch(AddressSpace *as)
>>> +{
>>> +AddressSpaceDispatch *d = g_new(AddressSpaceDispatch, 1);
>>> +
>>> +d->phys_map = (PhysPageEntry) { .ptr = PHYS_MAP_NOD
On 10/11/2012 05:38 AM, liu ping fan wrote:
>>
>> +void address_space_init_dispatch(AddressSpace *as)
>> +{
>> +AddressSpaceDispatch *d = g_new(AddressSpaceDispatch, 1);
>> +
>> +d->phys_map = (PhysPageEntry) { .ptr = PHYS_MAP_NODE_NIL, .is_leaf = 0
>> };
>> +d->listener = (MemoryList
On Wed, Oct 10, 2012 at 12:32 AM, Avi Kivity wrote:
> Currently we use a global radix tree to dispatch memory access. This only
> works with a single address space; to support multiple address spaces we
> make the radix tree a member of AddressSpace (via an intermediate structure
> AddressSpaceDi