Trying to build Qemu from source to run kvm. I am following the instructions from https://wiki.qemu.org/Hosts/Linux. This resulting following error message.
block/file-posix.c:67:21: fatal error: scsi/sg.h: No such file or directory compilation terminated.
qemu/rules.mak:69: recipe for target 'block/file-posix.o' failed
I can locate the header file in /usr/src/linux-headers-4.13.0-41/include/scsi/sg.h. What could be the reason of failure.