OpenChannelSSD / qemu-nvme

The LightNVM qemu implementation, based on NVMe
http://openchannelssd.readthedocs.org/en/latest/
Other
131 stars 67 forks source link

QEMU will not boot #44

Closed sooyun802 closed 6 years ago

sooyun802 commented 6 years ago

Hello, I am currently using the following options to boot my VM.

sudo $HOME/qemu-nvme/bin/qemu-system-x86_64 -m 4G -smp 4 -s \
-vnc :4 \
-drive file={path to vm image},id=diskdrive,format=raw,if=none \
-device virtio-blk-pci,drive=diskdrive,scsi=off,config-wce=off,x-data-plane=on \
-drive file={path to ocssd backend file},id=myocssd,format=raw,if=none \
-device nvme,drive=myocssd,serial=deadbeef,lnum_pu=4,lstrict=1,meta=16,mc=3

This is what it looks like when I execute the command.

inked _li

Are there any more options I need to add to get this to work?

Thank you.

MatiasBjorling commented 6 years ago

Looks like you're missing your os image or something to boot from. Did you create an OS image to as the "path to vm image"?

sooyun802 commented 6 years ago

Yes, and I know it should work because it worked with FEMU.

MatiasBjorling commented 6 years ago

Ok. Instead of

-drive file={path to vm image},id=diskdrive,format=raw,if=none \ -device virtio-blk-pci,drive=diskdrive,scsi=off,config-wce=off,x-data-plane=on \

You can try:

-hda {path to vm image} \

Then the virtio acceleration is disabled.