<DIV>I have a question about memory utilization about qemu/spiceServer VM.&nbsp; I know when startup<BR>qemu/spiceServer VM, i can use '-m &lt;memorySize&gt;' to define memory used by VM? </DIV>
<DIV>&nbsp;</DIV>
<DIV>My question is : <BR>1. is this physical memory size on Linux/KVM host? </DIV>
<DIV><BR>2. If VM hasn't consumed all this defined physical memory, for example, the defined memory size<BR>is 512MB, but the windows xp VM only uses 256MB, can the left 256MB be used by other VM?</DIV>
<DIV><BR>3. From qemu source code, qemu process will call 'cpu_register_physical_memory_offset' to set<BR>up physical memory via KVM. From this method, i think the defined memory is physical memory,<BR>and it can't be used by other VM. Is this correct?</DIV>
<DIV><BR>4. If this is correct, how can qemu/kvm ensure different VM to share memory? I know there is a <BR>ksmd module to merge same memory page between linux processes. How about its performance? Do we <BR>have other means to achieve that?</DIV>
<DIV><BR>5. If i plan to modify qemu so that the physical memory defined for VM are in an region, for <BR>example, 256MB - 1GB, and the memory is dynamicly allocated when VM needs? Do you think this is<BR>feasible? Do you know where i can find related information?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Maybe this message should be sent to qemu forum. Do you know what's qemu forum website?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Bill</DIV><br><br><span title="neteasefooter"><span id="netease_mail_footer"><hr/>
<a href="http://help.163.com/special/007525G0/163mail_guide.html?id=2716" target="_blank">网易163/126邮箱百分百兼容iphone ipad邮件收发</a>
</span></span>