WIP
This commit is contained in:
parent
49398f257b
commit
9d0cbc6eb7
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
## QEMU (VM) command
|
## QEMU (VM) command
|
||||||
|
|
||||||
cp image.qcow2 image-old.qcow2
|
cp $IMAGE_PATH $IMAGE_PATH-old
|
||||||
|
|
||||||
qemu-system-x86_64 -enable-kvm -m $MEMORY_ALLOCATION_SIZE \
|
qemu-system-x86_64 -enable-kvm -m $MEMORY_ALLOCATION_SIZE \
|
||||||
-cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_vapic,hv_vendor_id=0xDEADBEEFFF \
|
-cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_vapic,hv_vendor_id=0xDEADBEEFFF \
|
||||||
@ -10,4 +10,4 @@ qemu-system-x86_64 -enable-kvm -m $MEMORY_ALLOCATION_SIZE \
|
|||||||
-device virtio-net-pci,netdev=n1 -netdev user,id=n1 \
|
-device virtio-net-pci,netdev=n1 -netdev user,id=n1 \
|
||||||
-hda $IMAGE_PATH
|
-hda $IMAGE_PATH
|
||||||
|
|
||||||
mv image-old.qcow2 image.qcow2
|
mv $IMAGE_PATH-old $IMAGE_PATH
|
Loading…
Reference in New Issue
Block a user