mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Migrate disk configuration to virtio-blk-pci device
This commit is contained in:
parent
6e6b5ae702
commit
602d1fdb42
1 changed files with 2 additions and 1 deletions
3
quickemu
3
quickemu
|
@ -268,7 +268,8 @@ function vm_boot() {
|
|||
# Boot the iso image
|
||||
${QEMU} -name ${VMNAME},process=${VMNAME} \
|
||||
${BIOS} ${GUEST_TWEAKS} \
|
||||
-drive id=disk,file=${disk_img},format=qcow2,if=virtio,aio=native,cache.direct=on \
|
||||
-drive if=none,id=drive0,cache=directsync,aio=native,format=qcow2,file=${disk_img} \
|
||||
-device virtio-blk-pci,drive=drive0,scsi=off \
|
||||
${ISO_BOOT} ${ISO_DRIVER} \
|
||||
-enable-kvm \
|
||||
-machine q35 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue