Re: Qemu process in Guest

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

 



Kumar, Venkat wrote:

Thanks for the reply.

I had wrong understanding that Qemu runs in Guest.

But now I understand that *ioctl(fd, KVM_RUN, 0);* will tell KVM to load the guest and whenever there is an exception in the guest, KVM traps it and executes the host code post ioctl depending on the reason for exit.

Can you point me to the code where the KVM traps the exception and loads the host to execute the post ioctl code?


That's what vmx.c and svm.c in the kernel are about, look at vmx_vcpu_run() and svm_vcpu_run().

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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