Google patents flexible memory management for virtual machines
This patent describes a method for a virtual machine monitor to manage memory for guest virtual machines by starting with a smaller, flexible memory allocation. When a virtual machine tries to access memory that hasn't been allocated yet, the system catches the error and automatically assigns more memory if the host has enough available space.
In the filing’s own words
A virtual machine monitor (VMM) of a computing system may provide flexible memory management for guest virtual machines (guest VMs). The VMM may allocate a flexible amount of memory that is accessible to a guest VM. A guest VM may be configured, such as by VMM, to utilize a larger fixed amount of guest memory. A memory access error may be generated when guest VM accesses a memory location outside of the flexible memory. The VMM may receive the memory access error and allocate additional memory including at least the memory location to the flexible memory. The memory location may then be accessed without triggering a failure.
What exactly they claim (claim 1)
1. A method comprising: allocating, by a virtual machine monitor executing at a host computing system, an amount of memory for a guest virtual machine, the amount of memory being less than a maximum amount of memory the guest virtual machine is configured to utilize, wherein the host computing system provides an execution environment for the guest virtual machine; and after starting a boot process of the guest virtual machine: monitoring, by the virtual machine monitor, memory pressure of the guest virtual machine; responsive to an attempt to access a memory location of the guest virtual machine that is unallocated, receiving, by the virtual machine monitor, a memory access error that includes an indication of the memory location that was attempted to be accessed; responsive to determining, by the virtual machine monitor, that an amount of available memory of the host computing system satisfies a threshold amount of available memory: responsive to receiving the memory access error and based on the memory pressure, allocating, by the virtual machine monitor, additional memory for the guest virtual machine by reducing an amount of memory allocated to a virtual balloon, wherein the additional memory includes the memory location, and wherein the amount of memory allocated to the guest virtual machine is inversely proportional to the amount of memory allocated to the virtual balloon, wherein the additional memory is not allocated where the amount of available memory of the host computing system does not satisfy the threshold amount of available memory; and accessing, by the virtual machine monitor, the memory location.
Facts
- Company
- Google (Google LLC)
- Official title
- Flexible memory management for virtual machines
- Patent number
- US12737213B2
- Application number
- 18505014
- Filed
- Nov 8, 2023
- Granted
- Sep 15, 2026
- Inventors
- 3
- Claims
- 15
Classified under
G06F 9/45558 Physics & computingG06F 2009/45583 Physics & computingMore from Google in AI & software
- Google patents video search that answers questions using AI descriptions Sep 15, 2026
- Google patents photo tool that removes people and their gear Sep 15, 2026
- Google patents AI that writes live meeting notes and summaries Sep 15, 2026
- Google patents AI tool that turns messy emergency notes into clear messages Sep 3, 2026
- Google patents AI that clicks through apps to finish tasks for you Sep 24, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.