How does a system call work on QEMU?
Quoted 11 lines
Quoted 5 lines
Quoted 5 lines
Which mode of Qemu operations do you refer to? if
you
Quoted 2 lines
refer to full
Quoted 1 line
MMU emulation (no KVM or kqemu involved then),
then
Quoted 2 lines
intercepting
Quoted 1 line
syscall is basically intercepting interrupt 80
Quoted 10 lines
hex or
Quoted 6 lines
SYSENTER/SYSCALL
Quoted 1 line
into host user mode instruction during code
translation.
Ok, I refer to full emulation.
When QEMU intercepts a system call what does it do?What
Quoted 2 lines
type of translation or modification does it perform?
So it this the architecture of qemu, emulator version? QEMU is a process that gives to o.s.guest a virtual hw layer.
Every guest will be run by a QEMU instance.
See picture schema I prepaired: http://yfrog.com/7gqemulayersj
So system calls go from a guest application to its operating system that communicates with its virtual hardware. QEMU receives a system call and software emulator QEMU performs a system call in O.S. host.
It is right?
Thanks