intel / ccc-linux-guest-hardening

Linux Security Hardening for Confidential Compute
https://intel.github.io/ccc-linux-guest-hardening-docs
MIT License
65 stars 13 forks source link

ensure qemu-utils are installed #46

Closed il-steffen closed 1 year ago

il-steffen commented 1 year ago
$ make prepare
BASH_ENV=env.sh bash bkc/kafl/userspace/gen_sharedir.sh sharedir
BASH_ENV=env.sh bash bkc/kafl/userspace/gen_initrd.sh initrd_busybox.cpio.gz
qemu-img create -f qcow2 disk.img 1024M
make: qemu-img: No such file or directory

We don't strictly depend on it but maybe this dependency should go on the parent kAFL/fuzzer role..

Wenzel commented 1 year ago

kAFL works fine without qemu-utils. It seems to me that only the bkc role needs qemu-img at this point, so this is the right place