region_start += rombios->length;
- vm_config.enable_profiling = 1;
+ vm_config.enable_profiling = 0;
vm_config.vgabios = region_start;
vm_config.vgabios_size = vgabios->length;
uint_t long_mode : 1;
uint_t db : 1;
uint_t granularity : 1;
-};
+} __attribute__((packed));
struct v3_segments {
struct v3_segment gdtr;
struct v3_segment idtr;
struct v3_segment tr;
-};
+} ;
struct shadow_page_state;
struct emulation_state;
//offset 0x0cb
uchar_t cpl; // if the guest is real-mode then the CPL is forced to 0
- // if the guest is virtual-mode then the CPL is forced to 3
+ // if the guest is virtual-mode then the CPL is forced to 3
uint_t rsvd2;
if ((num_exits % 5000) == 0) {
PrintDebug("SVM Exit number %d\n", num_exits);
- v3_print_profile(info);
+ if (info->enable_profiler)
+ v3_print_profile(info);
}