mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
actually allocate max memory
This commit is contained in:
@ -41,11 +41,7 @@ impl DomainConfig {
|
||||
self.put_domain("memory/videoram", videokb.to_string());
|
||||
}
|
||||
|
||||
pub fn configure_cpus(&mut self, maxvcpus: u32) {
|
||||
for i in 0..maxvcpus {
|
||||
println!("{}", i);
|
||||
}
|
||||
}
|
||||
pub fn configure_cpus(&mut self, _maxvcpus: u32) {}
|
||||
|
||||
pub fn configure_pv(&mut self, pv: PvDomainConfig) {
|
||||
self.put_vm_str("image/ostype", "linux");
|
||||
|
Reference in New Issue
Block a user