Merge pull request #5288 from jongwu/fix_cmdline_arm

dragonball: fix no "as_str" error on Arm
This commit is contained in:
Greg Kurz 2022-09-29 18:59:00 +02:00 committed by GitHub
commit 7b4c3c0cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(),