|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Unmap shadow vtable when freeing shadow table in free_sh
>> Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
>>
>
>> + if ( v->arch.shadow_vtable )
>> + unmap_domain_page_global(v->arch.shadow_vtable);
>> + v->arch.shadow_vtable = NULL;
>
>Why not:
>
> if ( v->arch.shadow_vtable )
> {
> unmap_domain_page_global(v->arch.shadow_vtable);
> v->arch.shadow_vtable = NULL;
> }
>
Yes, this is better :-),
thanks
-Xin
>
>--
>James Morris
><jmorris@xxxxxxxxxx>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|