@@ -40,16 +40,8 @@ pub enum KvmVcpuError {
40
40
ConvertCpuidType ( #[ from] cpuid:: CpuidTryFromKvmCpuid ) ,
41
41
/// Failed FamStructWrapper operation: {0}
42
42
Fam ( #[ from] utils:: fam:: Error ) ,
43
- /// Error configuring the floating point related registers: {0}
44
- FpuConfiguration ( crate :: arch:: x86_64:: regs:: RegsError ) ,
45
43
/// Failed to get dumpable MSR index list: {0}
46
44
GetMsrsToDump ( #[ from] crate :: arch:: x86_64:: msr:: MsrError ) ,
47
- /// Cannot set the local interruption due to bad configuration: {0}
48
- LocalIntConfiguration ( crate :: arch:: x86_64:: interrupts:: InterruptError ) ,
49
- /// Error configuring the general purpose registers: {0}
50
- RegsConfiguration ( crate :: arch:: x86_64:: regs:: RegsError ) ,
51
- /// Error configuring the special registers: {0}
52
- SregsConfiguration ( crate :: arch:: x86_64:: regs:: RegsError ) ,
53
45
/// Failed to get KVM vcpu debug regs: {0}
54
46
VcpuGetDebugRegs ( kvm_ioctls:: Error ) ,
55
47
/// Failed to get KVM vcpu lapic: {0}
@@ -96,10 +88,6 @@ pub enum KvmVcpuError {
96
88
VcpuSetXcrs ( kvm_ioctls:: Error ) ,
97
89
/// Failed to set KVM vcpu xsave: {0}
98
90
VcpuSetXsave ( kvm_ioctls:: Error ) ,
99
- /// Failed to set KVM TSC frequency: {0}
100
- VcpuSetTsc ( kvm_ioctls:: Error ) ,
101
- /// Failed to apply CPU template
102
- VcpuTemplateError ,
103
91
}
104
92
105
93
/// Error type for [`KvmVcpu::get_tsc_khz`] and [`KvmVcpu::is_tsc_scaling_required`].
0 commit comments