crosvm/seccomp/x86_64
Daniel Verkamp 7621d910f5 devices: block: implement discard and write zeroes
Discard and Write Zeroes commands have been added to the virtio block
specification:
88c8553838

Implement both commands using the WriteZeroes trait.

BUG=chromium:850998
TEST=fstrim within termina on a writable qcow image

Change-Id: I33e54e303202328c10f7f2d6e69ab19f419f3998
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1188680
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
2018-09-10 13:33:46 -07:00
..
9p_device.policy virtio: Implement the 9P device 2018-08-08 13:45:44 -07:00
9s.policy 9s: Server binary for the 9p file system 2018-08-08 13:45:41 -07:00
balloon_device.policy balloon: Implement device policy 2018-07-27 15:29:07 -07:00
block_device.policy devices: block: implement discard and write zeroes 2018-09-10 13:33:46 -07:00
net_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
rng_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
vhost_net_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
vhost_vsock_device.policy devices: use PollContext for all virtio deivces 2018-04-05 15:20:42 -07:00
wl_device.policy virtwl: implement dmabuf sync support 2018-06-19 14:38:53 -07:00