On Mon, Dec 10, 2012 at 7:11 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > Quick pointers to get started on Kevin's suggestion: > > bdrv_aio_readv(), bdrv_aio_writev(), bdrv_aio_flush(), and > bdrv_aio_discard() provide the block device operations that emulated > storage controllers use. > > Take a look at hw/virtio-blk.c to see how to take a -device > nvme,drive=<drive> (internally this is your BlockDriverState*). > > Stefan
Thanks for all the feedback. I'll look into everything mentioned so far should be able to submit an updated patch set addressing the suggestions within a week or two.