Re: [PATCH 4/4] Add VMware memory balloon driver

From: Avi Kivity
Date: Sat Mar 20 2010 - 09:11:19 EST


On 03/19/2010 10:47 PM, Dmitry Torokhov wrote:
This is a virtio-based transport between VMware's hypervisor
and virtio_ballon driver that allows host control guest memory
ballooning.


This is a little wierd since it's specific to the balloon driver. The virtio design is to make transport and device orthogonal so we could mix'n'match any driver with any transport, but this will only work with the balloon driver. It's also 640 lines while the original balloon driver is ~300. Some of that is because you're emulating a queue that doesn't really exist, IIUC.

So while I'd love to see other hypervisors adopt virtio, I think in this case it makes more sense to have your own balloon driver.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/