LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   virt-manager VS qemu - which one uses KVM? (https://www.linuxquestions.org/questions/linux-kernel-70/virt-manager-vs-qemu-which-one-uses-kvm-4175501210/)

ramzi.kahil 04-10-2014 06:20 AM

virt-manager VS qemu - which one uses KVM?
 
I am writing a kernel module, that accesses the vm_list struct from the KVM module, and looks for stuff. So I have loaded it with 'insmod' and all was good. Then I ran `qemu-system-x86_64 (..options..)`, which started the VM just fine, but the vm_list was empty. After some research and talking to friends I just used virt-manager instead of qemu, suddenly I had my list filled up, and I could access all the info I needed.

So my question, what is qemu-system-x86_64 using? is there a command line that runs the VM using KVM module?

Thanks.

mostlyharmless 04-11-2014 12:39 PM

I presume one of the options you ran with qemu-system-x86_64 was -enable-kvm. Both virt-manager and qemu use KVM, if that is what you are using for virtualization. Of course you can run qemu without KVM too. virt-manager uses libvirt.


All times are GMT -5. The time now is 02:15 PM.