New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime-rs: ch: Implement full resize memory API #8801
Labels
Projects
Comments
jodh-intel
added
feature
New functionality
needs-review
Needs to be assessed by the team.
area/cloud-hypervisor
Issues specific to the cloud hypervisor
runtime-rs
labels
Jan 11, 2024
jodh-intel
added a commit
to jodh-intel/kata-containers
that referenced
this issue
Jan 11, 2024
Replace the `todo!()` calls with a minimal NOP implementation to return the CH driver to working order since the `todo!()`'s forcibly crash the driver at runtime. Full implementations for these APIs will be added on issues kata-containers#8800, kata-containers#8801, and kata-containers#8802. Fixes: kata-containers#8784. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
jodh-intel
added a commit
to jodh-intel/kata-containers
that referenced
this issue
Jan 11, 2024
Replace the `todo!()` calls with a minimal NOP implementation to return the CH driver to working order since the `todo!()`'s forcibly crash the driver at runtime. Full implementations for these APIs will be added on issues kata-containers#8800, kata-containers#8801, and kata-containers#8802. Fixes: kata-containers#8784. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
jodh-intel
added a commit
to jodh-intel/kata-containers
that referenced
this issue
Jan 11, 2024
Replace the `todo!()` calls with a minimal NOP implementation to return the CH driver to working order since the `todo!()`'s forcibly crash the driver at runtime. Full implementations for these APIs will be added on issues kata-containers#8800, kata-containers#8801, and kata-containers#8802. Fixes: kata-containers#8784. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
LindaYu17
pushed a commit
to LindaYu17/kata-containers
that referenced
this issue
Jan 17, 2024
Replace the `todo!()` calls with a minimal NOP implementation to return the CH driver to working order since the `todo!()`'s forcibly crash the driver at runtime. Full implementations for these APIs will be added on issues kata-containers#8800, kata-containers#8801, and kata-containers#8802. Fixes: kata-containers#8784. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
c3d
pushed a commit
to c3d/kata-containers
that referenced
this issue
Feb 23, 2024
Replace the `todo!()` calls with a minimal NOP implementation to return the CH driver to working order since the `todo!()`'s forcibly crash the driver at runtime. Full implementations for these APIs will be added on issues kata-containers#8800, kata-containers#8801, and kata-containers#8802. Fixes: kata-containers#8784. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
Apr 26, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
Apr 26, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
Apr 26, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
Apr 29, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
May 14, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
May 14, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
cmaf
added a commit
to cmaf/kata-containers
that referenced
this issue
May 14, 2024
Add resize_memory for Cloud Hypervisor and cloud_hypervisor_vm_resize for the call to the VM. Write unit tests checking failure cases. Fixes kata-containers#8801 Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
#8784 implemented a minimal set of APIs to unbreak the CH runtime-rs driver. This issue is to provide the full version of
async fn resize_memory(&self, new_mem_mb: u32) -> Result<(u32, MemoryConfig)>
which will be similar to the golangcloudHypervisor.ResizeMemory()
implementation:https://github.com/kata-containers/kata-containers/blob/main/src/runtime/virtcontainers/clh.go#L986..L1061
We will also need to add in full unit tests for this API.
The text was updated successfully, but these errors were encountered: