Re: [PATCH] README: add information about memory usage

2014-02-26 Thread Paolo Bonzini
Il 25/02/2014 04:29, Luiz Capitulino ha scritto: I got a report of someone trying to run tests with a large amount of RAM (4GB), which broke the guest as free_memory() function (called by setup_vm()) will override the PCI hole. Let's document memory constraints so that people don't do that. Sig

[PATCH] README: add information about memory usage

2014-02-24 Thread Luiz Capitulino
I got a report of someone trying to run tests with a large amount of RAM (4GB), which broke the guest as free_memory() function (called by setup_vm()) will override the PCI hole. Let's document memory constraints so that people don't do that. Signed-off-by: Luiz Capitulino --- README | 4

[PATCH v2 6/8] kvm tools: teach guest_flat_to_host about memory banks starting above 0

2012-11-22 Thread Will Deacon
Running a guest with multiple banks of memory based above 0 causes the guest_flat_to_host address conversion to fail, as it is assumed that guest memory addresses are offset linearly from 0. This patch changes the translation function so that the kvm_mem_bank structures registered by kvm__register

Re: [RFC PATCH 14/16] kvm tools: teach guest_flat_to_host about memory banks starting above 0

2012-11-12 Thread Sasha Levin
On 11/12/2012 06:57 AM, Will Deacon wrote: > Running a guest with multiple banks of memory based above 0 causes the > guest_flat_to_host address conversion to fail, as it is assumed that > guest memory addresses are offset linearly from 0. > > This patch changes the translation function so that th

[RFC PATCH 14/16] kvm tools: teach guest_flat_to_host about memory banks starting above 0

2012-11-12 Thread Will Deacon
Running a guest with multiple banks of memory based above 0 causes the guest_flat_to_host address conversion to fail, as it is assumed that guest memory addresses are offset linearly from 0. This patch changes the translation function so that the kvm_mem_bank structures registered by kvm__register

about memory?

2010-07-26 Thread cs-jerry**
hi all, i just started reading kvm code. what does slot mean in struct kvm_memory_slot ? thanks.

Re: about memory protection.

2010-07-25 Thread Avi Kivity
On 07/25/2010 06:07 PM, 吴忠远 wrote: i want to set some page of guest wrie protection so that the guest can not write to this page any more . so i set the corresponding page write protection. but if guest modify cr0 to clear wp bit. what could i do to avoid this ? The host keeps cr0.wp=1 even i

about memory protection.

2010-07-25 Thread 吴忠远
i want to set some page of guest wrie protection so that the guest can not write to this page any more . so i set the corresponding page write protection. but if guest modify cr0 to clear wp bit. what could i do to avoid this ? -- To unsubscribe from this list: send the line "unsubscribe kvm" in t

about memory

2010-07-22 Thread 吴忠远
i am new in virtualization and kvm. i get some questions ,hope u will help me . when qemu allocates memory for a vm , function get_free_slot is called to get free slot for a vm from global variable slots. so i understand that all vms share slots , on the other words, each vm get a slot_info in s