File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ fn main() -> Result<()> {
103103 }
104104 debug ! ( cpuset: ?; "sched_setaffinity" ) ;
105105 sched_setaffinity ( None , & cpuset) . context ( "Failed to set CPU affinity" ) ?;
106- // Configure the number of vCPUs and the amount of RAM (max 16384 MiB) .
106+ // Configure the number of vCPUs and the amount of RAM.
107107 //
108108 // SAFETY: Safe as no pointers involved.
109109 debug ! ( num_vcpus, ram_mib = u32 :: from( ram_mib) ; "krun_set_vm_config" ) ;
Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ pub fn options() -> OptionParser<Options> {
6565 [default: 80% of total RAM]" ,
6666 )
6767 . argument ( "MEM" )
68- . guard (
69- |& mem| mem <= MiB :: from ( 16384 ) ,
70- "the maximum amount of RAM supported is 16384 MiB" ,
71- )
7268 . optional ( ) ;
7369 let passt_socket = long ( "passt-socket" )
7470 . help ( "Instead of starting passt, connect to passt socket at PATH" )
You can’t perform that action at this time.
0 commit comments