Simplified distributed block storage with strong consistency, like in Ceph
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
380 B

  1. #!/bin/bash
  2. #cd qemu
  3. #debian/rules b/configure-stamp
  4. #cd b/qemu; make qapi
  5. gcc -I qemu/b/qemu `pkg-config glib-2.0 --cflags` \
  6. -I qemu/include -E -o qemu_driver.i src/qemu_driver.c
  7. rm -rf qemu-copy
  8. for i in `grep -Po 'qemu/[^"]+' qemu_driver.i | sort | uniq`; do
  9. j=${i##qemu/}
  10. p=$(dirname $j)
  11. mkdir -p qemu-copy/$p
  12. cp $i qemu-copy/$j
  13. done
  14. rm qemu_driver.i