[RFC/PATCH 0/4] VMware balloon driver over virtio

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Torokhov
Date: Friday, March 19, 2010 - 1:46 pm

Hi,

VMware would like to get its Linux balloon driver merged into mainline
and is considering doing it within virtio framework.

The following is the initial implementation of our ballooning interface
as a virtio device. It allows our hypervisor to work in tandem with
virtio_balloon driver and inflate and deflate balloon on demand.

Due to the fact that our monitor works a bit differently from KVM some
changes are needed in virtio_balloon itself, namely:

- our hypervisor may refuse locking certain pages. This may happen,
  for example, when target balloon size is changed since guest polled
  it last time. We expect guest to try locking different page and
  release refused pages once target balloon size is reached.

- our hypervisor may, in certain situations, reset the balloon. In this
  case it expects guest to quickly release all memory allocated by
  by the balloon but to not bother telling the host about pages being
  released.

There are more differences (adaptive allocation rates, sleeping
allocations) which we intend to address at a later date if it is
decided that virtio is the proper subsystem to be used for our
driver.

Thanks!

-- 
Dmitry
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH 0/4] VMware balloon driver over virtio, Dmitry Torokhov, (Fri Mar 19, 1:46 pm)
[PATCH 2/4] virtio-balloon: implement balloon reset, Dmitry Torokhov, (Fri Mar 19, 1:46 pm)
[PATCH 3/4] x86: export vmware_platform() symbol, Dmitry Torokhov, (Fri Mar 19, 1:46 pm)
[PATCH 4/4] Add VMware memory balloon driver, Dmitry Torokhov, (Fri Mar 19, 1:47 pm)
Re: [PATCH 4/4] Add VMware memory balloon driver, Avi Kivity, (Sat Mar 20, 6:10 am)
Re: [PATCH 4/4] Add VMware memory balloon driver, Dmitry Torokhov, (Sat Mar 20, 12:54 pm)
Re: [PATCH 4/4] Add VMware memory balloon driver, Avi Kivity, (Sun Mar 21, 2:19 am)