On Tue, Dec 12, 2017 at 01:25:30AM +0000, Liu, Changpeng wrote: > > The vhost-blk code should also check that > > hdev->vhost_ops->vhost_set_config != NULL during realize. This way > > users see the error when adding the device instead of at runtime when > > the function gets called. > For vhost-blk, get_config is mandatory, but for set_config, it should depend > on the feature bit: VIRTIO_BLK_F_CONFIG_WCE is enabled or not. Of course, > migration should be another case. So running time error process should be > okay.
Okay. Stefan
signature.asc
Description: PGP signature