Skip to contentSkip to conversation

Remove qemu_alloc_physram()

Qemu-devel nicolas prochazka 3 participants 3 messages May 27, 2009

lore
Share & tools
lore
#0 lore raw

Hello,
Since this patch :
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=0e8d16ba06486ebf79f131f28121774715975248
Remove qemu_alloc_physram()
Obsolete.

function alloc_mem_area(memory, &map_len, mem_path); is never calling in code, and it seems that's -mem-path ( or -mempath) /hugepages does not work for me now.
before this patch, i can see for example in /proc/meminfo :

HugePages_Total:  2560
HugePages_Free:   2301

when i start one kvm/qemu

now , HupePages_Free never down , hugepages_free = hugepages_total.

Regards,
Nicolas .

#1 lore raw
Quoted 14 lines · nicolas prochazka

Hello,
Since this patch :
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=0e8d16ba06486ebf79f131f28121774715975248
Remove qemu_alloc_physram()
Obsolete.

function alloc_mem_area(memory, &map_len, mem_path);  is never calling in code, and it seems that's  -mem-path ( or -mempath) /hugepages  does not work for me now.
before this patch, i can see for example in /proc/meminfo :
HugePages_Total:  2560
HugePages_Free:   2301
when i start one kvm/qemu

Quoted 1 line

now , HupePages_Free never down , hugepages_free = hugepages_total.

Are you sure you're pointing at the right commit? How could the removal of an unused function change the behavior?

Laurent

#2 lore raw
Quoted 16 lines · Laurent Desnogues
Quoted 14 lines · nicolas prochazka

Hello,
Since this patch :
http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=0e8d16ba06486ebf79f131f28121774715975248
Remove qemu_alloc_physram()
Obsolete.

function alloc_mem_area(memory, &map_len, mem_path); is never calling in code, and it seems that's -mem-path ( or -mempath) /hugepages does not work for me now.
before this patch, i can see for example in /proc/meminfo :

HugePages_Total:  2560
HugePages_Free:   2301

when i start one kvm/qemu

Quoted 5 lines
Quoted 1 line

now , HupePages_Free never down , hugepages_free = hugepages_total.

Are you sure you're pointing at the right commit? How could the removal of an unused function change the behavior?

I bet Nicolas is looking at qemu-kvm, right? So please post this valid question to the kvm list.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux