mirror of
https://github.com/mii443/nel_os.git
synced 2025-08-22 16:15:38 +00:00
remove printing regs
This commit is contained in:
@ -6,7 +6,7 @@ use super::{vcpu::VCpu, vmcs::VmxLeaf};
|
|||||||
|
|
||||||
pub fn handle_cpuid_exit(vcpu: &mut VCpu) {
|
pub fn handle_cpuid_exit(vcpu: &mut VCpu) {
|
||||||
let regs = &mut vcpu.guest_registers;
|
let regs = &mut vcpu.guest_registers;
|
||||||
let vendor: &[u8; 12] = b"NelogikaNelo";
|
let vendor: &[u8; 12] = b"miimiimiimii";
|
||||||
let vendor = unsafe { core::mem::transmute::<&[u8; 12], &[u32; 3]>(vendor) };
|
let vendor = unsafe { core::mem::transmute::<&[u8; 12], &[u32; 3]>(vendor) };
|
||||||
match VmxLeaf::from(regs.rax) {
|
match VmxLeaf::from(regs.rax) {
|
||||||
VmxLeaf::EXTENDED_PROCESSOR_SIGNATURE => {
|
VmxLeaf::EXTENDED_PROCESSOR_SIGNATURE => {
|
||||||
|
@ -515,7 +515,6 @@ impl VCpu {
|
|||||||
fn vmentry(&mut self) -> Result<(), InstructionError> {
|
fn vmentry(&mut self) -> Result<(), InstructionError> {
|
||||||
let success = {
|
let success = {
|
||||||
let result: u16;
|
let result: u16;
|
||||||
self.print_guest_regs();
|
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
result = crate::vmm::asm::asm_vm_entry(self as *mut _);
|
result = crate::vmm::asm::asm_vm_entry(self as *mut _);
|
||||||
|
Reference in New Issue
Block a user