US 9,811,260 B2
System and method for ballooning with assigned devices
Paolo Bonzini, Milan (IT); and Michael Tsirkin, Ra'anana (IL)
Assigned to RED HAT ISRAEL, LTD, Ra'Anana (IL)
Filed by Red Hat Israel, Ltd., Ra'anana (IL)
Filed on Feb. 11, 2016, as Appl. No. 15/42,023.
Application 15/042,023 is a continuation of application No. 13/767,841, filed on Feb. 14, 2013, granted, now 9,311,164.
Prior Publication US 2016/0170653 A1, Jun. 16, 2016
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 3/06 (2006.01); G06F 9/50 (2006.01)
CPC G06F 3/0604 (2013.01) [G06F 3/0631 (2013.01); G06F 3/0637 (2013.01); G06F 3/0683 (2013.01); G06F 9/5016 (2013.01); G06F 9/5077 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of memory ballooning, the method comprising:
receiving, by a guest operating system, a memory balloon inflation request requesting that at least one memory page be made available;
identifying, by the guest operating system, a first memory page that may be made available;
placing, by the guest operating system, the first memory page in a memory balloon while the first memory page is locked and the first memory page is being accessed by a direct memory access (DMA) controller; and
preventing, by the guest operating system, use of the first memory page by the guest operating system while the first memory page is in the memory balloon;
wherein the first memory page is associated with a first assigned device;
wherein in response to the first memory page being placed in the memory balloon and when the first memory page is locked and is being accessed by the DMA controller the first memory page is unlocked.