@@ -181,17 +181,17 @@ impl Vm for WhpVm {
181181 println ! ( "whp get_sregs" ) ;
182182 let mut whp_sregs_values: [ WHV_REGISTER_VALUE ; WHP_SREGS_NAMES_LEN ] =
183183 unsafe { std:: mem:: zeroed ( ) } ;
184- println ! ( "whp get_sregs2" ) ;
185-
186- println ! ( "parition: {:?}" , self . partition) ;
187- println ! ( "whp_sregs_names: {:?}" , WHP_SREGS_NAMES ) ;
188- println ! ( "ptr : {:?}" , WHP_SREGS_NAMES . as_ptr( ) ) ;
189- println ! ( "first value: {:?}" , unsafe {
190- WHP_SREGS_NAMES . as_ptr( ) . read( )
191- } ) ;
192- println ! ( "last value: {:?}" , unsafe {
193- WHP_SREGS_NAMES . as_ptr( ) . add( WHP_SREGS_NAMES_LEN - 1 ) . read( )
194- } ) ;
184+ // println!("whp get_sregs2");
185+
186+ // println!("parition: {:?}", self.partition);
187+ // println!("whp_sregs_names: {:?}", WHP_SREGS_NAMES);
188+ // println!("ptr : {:?}", WHP_SREGS_NAMES.as_ptr());
189+ // println!("first value: {:?}", unsafe {
190+ // WHP_SREGS_NAMES.as_ptr().read()
191+ // });
192+ // println!("last value: {:?}", unsafe {
193+ // WHP_SREGS_NAMES.as_ptr().add(WHP_SREGS_NAMES_LEN - 1).read()
194+ // });
195195
196196 unsafe {
197197 WHvGetVirtualProcessorRegisters (
0 commit comments