From: Takuya Yoshikawa Date: Wed, 27 Feb 2013 10:44:34 +0000 (+0900) Subject: KVM: set_memory_region: Refactor prepare_memory_region() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b6195a91d60909a2834ab7181e2b9476e6fe749;p=pandora-kernel.git KVM: set_memory_region: Refactor prepare_memory_region() This patch drops the parameter old, a copy of the old memory slot, and adds a new parameter named change to know the change being requested. This not only cleans up the code but also removes extra copying of the memory slot structure. Signed-off-by: Takuya Yoshikawa Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed