f325e71c9d
First step is do not destroy an existing device in vhost_user_set_mem_table(). This is because we may still be processing I/O via INT13 while QEMU is setting up the mem tables for OS boot. The primary part of this patch though is to defer using the new mem table until after we receive the first SET_VRING_ADDR message. SET_VRING_ADDR will be sent by QEMU when guest OS virtio-scsi driver starts initialization. At this point it is safe to invalidate the old mem tables because there will be no more INT13 I/O at this point. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I45fb5910f45e7fd2cf4a325341ad105a57d8ea40 |
||
---|---|---|
.. | ||
linux | ||
rte_vhost | ||
Makefile | ||
task.c | ||
task.h | ||
vhost_rpc.c | ||
vhost.c |