On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote:actually this constant resides in QEMU only,
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote:Anything exposed by guest to host is ABI.
On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote:hmmm
From: Igor Redko <redkoi@xxxxxxxxxxxxx>Oops - I missed the fact that this affects host/guest ABI.
Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory
statistics protocol, corresponding to 'Available' in /proc/meminfo.
It indicates to the hypervisor how big the balloon can be inflated
without pushing the guest system to swap.
Signed-off-by: Igor Redko <redkoi@xxxxxxxxxxxxx>
Reviewed-by: Roman Kagan <rkagan@xxxxxxxxxxxxx>
Signed-off-by: Denis V. Lunev <den@xxxxxxxxxx>
CC: Michael S. Tsirkin <mst@xxxxxxxxxx>
CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Can you please submit ABI update proposal to virtio tc?
Spec patch would be even better.
This is important to ensure there are no conflicts
with other features being developed in parallel.
From my point of view ABI remains untouched.
Once we add stuff there, we never can remove it
as some host might rely on it.
The guest can send any amount of <tag>;<value>What happens if someone uses the tag you
pairs and unknown tags are properly ignored
by the host.
That is why I think that this change is safe.
used for VIRTIO_BALLOON_S_AVAIL, for some
other purpose?
Any tools using VIRTIO_BALLOON_S_AVAIL will be confused.
Really, it's not hard to get a tag number from virtio TC,ok. So do you propose to negotiate maximum allowed
so please just do this.