# FEMU ## 1. Start *NVME_CMD_WRITE* from *hw/femu/bbssd/bb.c* ### (BBSSD) Traced Code of Write Command(0) ``` util/module.c ``` ![](https://i.imgur.com/seAjGRl.png =400x) * ![](https://i.imgur.com/rOqjLph.png =350x) * ![](https://i.imgur.com/4Vg0kCj.png =280x) * `include/qemu/queue.h` * ![](https://i.imgur.com/FXbvPyw.png =400x) * `include/qemu/queue.h` * ![](https://i.imgur.com/7KN4NTi.png =430x) ▼ ``` include/qemu/module.h ``` ![](https://i.imgur.com/bk0Mi54.png =500x) ▼ ![](https://i.imgur.com/zH3nq6g.png =450x) ▼ ``` hw/femu/femu.c ``` ![](https://i.imgur.com/9TOTU95.png =250x) ▼ ![](https://i.imgur.com/24aU34i.png =250x) ▼ ![](https://i.imgur.com/XheKDaX.png =250x) ▼ ![](https://i.imgur.com/CYoVjiS.png =350x) ▼ ![](https://i.imgur.com/5bxCw5R.png =650x) ![](https://i.imgur.com/Dle0R4f.png =650x) ▼ ![](https://i.imgur.com/tTk7R52.png =300x) ▼ ### (BBSSD) Traced Code of Write Command(1-1) ``` hw/femu/bbssd/bb.c ``` ![](https://i.imgur.com/lPTwPgZ.png =250x) ▼ ![](https://i.imgur.com/KgpNdNL.png =350x) ▼ ``` hw/femu/bbssd/ftl.c ``` ![](https://i.imgur.com/OJdktur.png =450x) ### (BBSSD) Traced Code of Write Command(1-2) ``` hw/femu/bbssd/bb.c ``` ![](https://i.imgur.com/qcL4QNx.png =250x) ▼ ![](https://i.imgur.com/Nf4TrLE.png =400x) ▼ ![](https://i.imgur.com/naq71FB.png =400x) ▼ ``` hw/femu/nvme-io.c ``` ![](https://i.imgur.com/CyYFXKX.png =400x) ![](https://i.imgur.com/N1ARmNZ.png =400x) ## 2. Start *ssd_write()* from *hw/femu/bbssd/ftl.c*