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