mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
DM: update launch scripts to use OVMF.fd directly from the rootfs
* Update the launch scripts provided as examples on how to launch a Zephyr, VxWorks or Windows User VM to directly use the 'OVMF.fd' bios file installed by default in '/usr/share/acrn/bios/' * Remove the OVMF.fd that was kept under 'doc/tutorials' (no longer needed) * Adapt the tutorials to reflect this change Tracked-On: #3673 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
committed by
wenlingz
parent
32a75af1ea
commit
f5c8fbb281
@@ -25,7 +25,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge \
|
||||
-s 5,virtio-console,@stdio:stdio_port \
|
||||
-s 3,virtio-blk,./VxWorks.img \
|
||||
--virtio_poll 1000000 \
|
||||
--ovmf ./OVMF.fd \
|
||||
--ovmf /usr/share/acrn/bios/OVMF.fd \
|
||||
--lapic_pt \
|
||||
$vm_name
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
|
||||
-s 3,virtio-blk,./win10-ltsc.img \
|
||||
-s 4,virtio-net,tap0 \
|
||||
-s 5,passthru,00/1f/3 \
|
||||
--ovmf ./OVMF.fd \
|
||||
--ovmf /usr/share/acrn/bios/OVMF.fd \
|
||||
$vm_name
|
||||
}
|
||||
|
||||
|
@@ -18,7 +18,7 @@ mem_size=128M
|
||||
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
|
||||
-s 5,virtio-console,@pty:pty_port \
|
||||
-s 3,virtio-blk,./zephyr.img \
|
||||
--ovmf ./OVMF.fd \
|
||||
--ovmf /usr/share/acrn/bios/OVMF.fd \
|
||||
$vm_name
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user