Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DBVM does not load with Linux KVM virtualization
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25785
Location: The netherlands

PostPosted: Thu Jul 03, 2014 5:20 pm    Post subject: Reply with quote

you could try it

but yes, it's not just the vmcalls
e.g: VMCALL_REDIRECTINT1 , it doesn't only store those flags in the current cpu context, but it also means that whenever interrupt 1 is raised, it changes CS:RIP to the given location instead of executing the interrupt (and you do have to emulate the correct behavior (e.g disabling TF )

same for CR3 callbacks and ultimap which sets the tracing flag in the debug ctrl msr to true/false

someone still needs to edit those sections

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
tomerminator
Newbie cheater
Reputation: 0

Joined: 20 Nov 2024
Posts: 10

PostPosted: Sun Dec 22, 2024 8:02 am    Post subject: Reply with quote

buraktamturk wrote:
Dark Byte wrote:
it looks like vmlaunch fails due to incorrect parameters so I'll check it out (I fixed the issue with the weird exception, it was stack corruption)

also, a tip for debugging with serial:
open a new terminal window or tab
type in tty, write down the path and then sleep 10000000

then just launch kvm with parameter -serial pathoftty (e.g: -serial /dev/pts/3 )
keyboard input is accepted

(also found a small bug in kvm that under normal usage should never cause any issues, but if vmlaunch fails, it returns one byte later than it should)


I've already attached a pts device to my guest, but i don't know how to attach to the pts from the console. (All i did to get previous debug output from dbvm was "cat /dev/pts/3" and "echo 1 > /dev/pts/3") Searched over internet but i used wrong keywords i think.

I think i would better to port dbvm to kvm as a db kvm extensions or something like, I would learn a lot and the possibility to manipulate the guest from host system is a awesome idea i think.

I've started a couple days ago but i didn't have much time for improving and understanding it. Do not know where to place codes to how to get int 1 redirected. Injecting interrupt 1 from host is seems easy, redirecting interrupt 1 to somewhere from kvm would be possible, just the coder need to place the code to right function, and i don't have that capacity.

EDIT: I think it is possible emulate all of the dbvm vmcall's at here, including va to pa, and read/write to pa addresses. KVM has all of these functions and they are working very well.


reviving a thread from a millions years ago. were you able to make it work? did you succeed running DBVM on KVM?. facing the same issue with the freezes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites