mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Use qcow2 by default for savevm, loadvm.
Create shortcuts for -t linux-reconfigure and -t host-qemu-reconfigure.
This commit is contained in:
4
run
4
run
@@ -65,7 +65,7 @@ case "$arch" in
|
||||
-append 'root=/dev/vda nopat $extra_append' \
|
||||
-device edu \
|
||||
-device virtio-net-pci,netdev=net0 \
|
||||
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
|
||||
-drive file=${images_dir}/rootfs.ext2.qcow2,if=virtio,format=qcow2 \
|
||||
-kernel ${images_dir}/bzImage \
|
||||
$extra_flags \
|
||||
"
|
||||
@@ -78,7 +78,7 @@ $extra_flags \
|
||||
-M versatilepb \
|
||||
-append 'root=/dev/sda $extra_append' \
|
||||
-device rtl8139,netdev=net0 \
|
||||
-drive file=${images_dir}/rootfs.ext2,if=scsi,format=raw \
|
||||
-drive file=${images_dir}/rootfs.ext2.qcow2,if=scsi,format=qcow2 \
|
||||
-dtb ${images_dir}/versatile-pb.dtb \
|
||||
-kernel ${images_dir}/zImage \
|
||||
-serial stdio \
|
||||
|
||||
Reference in New Issue
Block a user