virtio_blk: Enable dump support. Partial sync with FreeBSD up to r252707.
authorImre Vadasz <imre@vdsz.com>
Sat, 22 Nov 2014 08:58:51 +0000 (09:58 +0100)
committerImre Vadasz <imre@vdsz.com>
Wed, 3 Dec 2014 19:46:25 +0000 (20:46 +0100)
commit58db6936f55c0c33a6c9ac01882c4a979b4a99f6
tree1d22c026c8e5dabc5d483740573b312f45e25b0e
parentf7df6c8e7aca21d55ca9c7b676a89f849a923546
virtio_blk: Enable dump support. Partial sync with FreeBSD up to r252707.

* Adds support for dumping to the virtio_blk driver.

* The dev.vtblk.X.writecache_mode sysctl can now be used to toggle write
  caching by the virtual-machine host.

* Add a workaround in sys/dev/virtual/virtio/virtio/virtqueue.c to avoid
  a serializer exit/enter pair while dumping.

* Reduce diff relative to FreeBSD's virtio_blk.c version.

* Adapt manpage, comment out description of the hw.vtblk.no_ident tunable.

* Updates are taken from FreeBSD's r252707, r252703 and r247829.
share/man/man4/virtio_blk.4
sys/dev/virtual/virtio/block/virtio_blk.c
sys/dev/virtual/virtio/block/virtio_blk.h
sys/dev/virtual/virtio/virtio/virtqueue.c