mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
dragonball: fix no "as_str" error on Arm
Cmdline struct update in the latest linux-loader lib and its as_str method is changed to as_cstring, thus we need fix it according whereas the old as_str method is used. Fixes: #5287 Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
parent
949ffcc457
commit
6d585d5919
@ -136,7 +136,7 @@ impl Vm {
|
||||
|
||||
configure_system(
|
||||
guest_memory,
|
||||
cmdline.as_str(),
|
||||
cmdline.as_cstring().unwrap().to_str().unwrap(),
|
||||
vcpu_mpidr,
|
||||
self.device_manager.get_mmio_device_info(),
|
||||
self.get_irqchip(),
|
||||
|
Loading…
Reference in New Issue
Block a user