Set max kernel command-line to 64k.
It's not actually safe to run all the way up to the kernel load
address; that would clobber the MPTABLEs.
@@ -63,7 +63,7 @@ use vstate::{Vcpu, Vm};
pub const KERNEL_START_OFFSET: usize = 0x200000;
pub const CMDLINE_OFFSET: usize = 0x20000;
-pub const CMDLINE_MAX_SIZE: usize = KERNEL_START_OFFSET - CMDLINE_OFFSET;
+pub const CMDLINE_MAX_SIZE: usize = 0x10000;
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=1 pci=off nomodules 8250.nr_uarts=0";
const VCPU_RTSIG_OFFSET: i32 = 0;
