Re: systemcalls and kvm ...correct me if I am wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My doubt is:
 will int0x80 from Guest userspace bring me into Guest kernel space or
directly into kvm in the Host kernel?
 How can I trigger a jump from Guest to Host kvm at will?
 Then the way back from host kernel to guest is via vmenter/vmrun or
must be performed in a different way?

thanks in advance,

Matteo

2009/6/7 Avi Kivity <avi@xxxxxxxxxx>:
> Matteo Signorini wrote:
>>
>> Hi to all,
>>
>> correct me if I am wrong but isn't it the following the logical
>> execution chain of a generic system call performed
>> in a Kvm guest?
>>
>> Guest userspace application -> Guest kernel -> Host kernel (kvm) ->
>> Host userspace (Quemu) -> Host kernel ->
>> -> Host userspace (Quemu) -> Guest kernel -> Guest userspace application
>>
>>
>
> No.  The actual path is
>
>  guest userspace -> guest kernel -> guest userspace
>
> The guest kernel might access emulated hardware, but usually it does not.
>
>> Is there any detailed documentation on how this happens inside qemu-kvm?
>>
>
> No.
>
> --
> Do not meddle in the internals of kernels, for they are subtle and quick to
> panic.
>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux