diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-03-13 12:23:34 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-03-13 12:38:46 +0000 |
commit | e245725619bbd50917162587019775a63290519c (patch) | |
tree | 71ee37eb905a624ba6f77bfd157969fc17d88179 /img | |
parent | b3b985cc3df2dedab370cb6a6ba94f3c1747dd1c (diff) | |
download | spectrum-e245725619bbd50917162587019775a63290519c.tar spectrum-e245725619bbd50917162587019775a63290519c.tar.gz spectrum-e245725619bbd50917162587019775a63290519c.tar.bz2 spectrum-e245725619bbd50917162587019775a63290519c.tar.lz spectrum-e245725619bbd50917162587019775a63290519c.tar.xz spectrum-e245725619bbd50917162587019775a63290519c.tar.zst spectrum-e245725619bbd50917162587019775a63290519c.zip |
vm: remove vmm.sock before cloud-hypervisor starts
Otherwise, cloud-hypervisor won't be able to bind to the path and will fail to start. Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'img')
-rw-r--r-- | img/app/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/img/app/Makefile b/img/app/Makefile index e94607e..ed83133 100644 --- a/img/app/Makefile +++ b/img/app/Makefile @@ -102,6 +102,7 @@ run-qemu: $(imgdir)/appvm/blk/root.img start-virtiofsd .PHONY: run-qemu run-cloud-hypervisor: $(imgdir)/appvm/blk/root.img start-virtiofsd + rm -f vmm.sock $(CLOUD_HYPERVISOR) \ --api-socket path=vmm.sock \ --memory size=128M,shared=on \ |