summary refs log tree commit diff
path: root/src/linux.rs
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-01-03 12:53:04 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-05 20:08:41 -0800
commitf76869d2a62cf662a03c4245ca83456f72f5e813 (patch)
tree2621e32c2ec2e795d3b83afc52ed80d770583567 /src/linux.rs
parent3a794ccb25c599b0f1aac143309e92bd2303f2b0 (diff)
downloadcrosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.tar
crosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.tar.gz
crosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.tar.bz2
crosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.tar.lz
crosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.tar.xz
crosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.tar.zst
crosvm-f76869d2a62cf662a03c4245ca83456f72f5e813.zip
devices: balloon: fix the 'crosvm balloon' command
The balloon socket interface was changed to take an absolute number of
pages in a u64 in commit 448516e3f9 ("balloon: Implement device
policy"), but the 'crosvm balloon' command wasn't updated to match.  Fix
the crosvm front-end to send a u64 as expected by the command socket
reader instead of the i32 it was sending previously, and change the
parameter to bytes instead of pages to match the receiving end as well.

BUG=None
TEST=crosvm balloon a running VM to various sizes

Change-Id: I265bee55c06809de7559a79a5eb6d0d094533993
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1394157
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Diffstat (limited to 'src/linux.rs')
0 files changed, 0 insertions, 0 deletions