On 03/02/2016 03:15 PM, Xiao Guangrong wrote:
+ in = g_malloc(TARGET_PAGE_SIZE);
ugh. manual memory management :(
Hmm... Or use GArray? But it is :)
Sorry, typo.
But it is the static size and we should read all memory out to get
the consistent data to avid guest changes it at anytime. It is no
much room to improve it i think...
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html