mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
performance-metrics: Add vm_type to PerformanceTestOverrides
Add an optional vm_type field to PerformanceTestOverrides to allow overriding the VM type at runtime. Include vm_type in the Display output for override logging. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
55e2700fbc
commit
56a986145e
@@ -2487,8 +2487,9 @@ pub fn extract_bar_address(output: &str, device_desc: &str, bar_index: usize) ->
|
||||
None
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Clone, Copy)]
|
||||
#[derive(PartialEq, Clone, Copy, Default)]
|
||||
pub enum GuestVmType {
|
||||
#[default]
|
||||
Regular,
|
||||
Confidential,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user