VirtualBox

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#14244 closed enhancement (wontfix)

Reset/reboot of the VM doesn't reset VirtualBox' host memory allocation

Reported by: Artem S. Tashkinov Owned by:
Component: VMM Version: VirtualBox 4.3.28
Keywords: Cc:
Guest type: all Host type: all

Description

Tentatively when the VM is being reset/rebooted its resources must be destroyed, including allocated memory.

It's not the case with VirtualBox (tested using 5.0RC3).

Change History (4)

comment:1 by Frank Mehnert, 9 years ago

Resolution: wontfix
Status: newclosed

I don't think this is a bug. On reset all devices are re-initialized but their device state is not reallocated. Same for the memory. I guess on a real host the memory is not detached from the mainboard and re-attached to the mainboard during reset, correct?

in reply to:  1 comment:2 by Artem S. Tashkinov, 9 years ago

Resolution: wontfix
Status: closedreopened

Replying to frank:

I don't think this is a bug. On reset all devices are re-initialized but their device state is not reallocated. Same for the memory. I guess on a real host the memory is not detached from the mainboard and re-attached to the mainboard during reset, correct?

VirtualBox is an application, not a HW platform. Last time I checked VirtualBox usage doesn't imply adding memory modules to the host PC, so your argument is invalid.

Also mind that competing desktop hypervisors indeed free the memory.

comment:3 by Frank Mehnert, 9 years ago

Resolution: wontfix
Status: reopenedclosed

Sorry, I still see no reason to free the allocated memory during reset. And it's not only a minor implementation detail, the effort would be much higher than you might think.

comment:4 by Frank Mehnert, 9 years ago

Oh, and regarding your argument with memory modules: When a VM starts, it gets some physical memory assigned. From the point of the guest this is the same as from the point of a bare-metal machine which has physical memory modules attached.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette