virtio module question...
Good night or morning....
If i need to some kvm module, that runs in virtualized environment and
reports some statistics to qemu (disk free space, memory usage, cpu
utilization) what i need to write?
I need kernel module, because userspace utilities under heavy load can't send such information via network (for example snmp under load does not respond).
Does kvm have skeleton module, what i can use and append code needed for me?
Or how can i get such information?
Thank You. Sorry for bad English.
Signature · 2 lines
Vasiliy G Tolstov <[email protected]> Selfip.Ru
Quoted 10 lines · Vasiliy G Tolstov
Good night or morning....
If i need to some kvm module, that runs in virtualized environment and
reports some statistics to qemu (disk free space, memory usage, cpu
utilization) what i need to write?
I need kernel module, because userspace utilities under heavy load can't send such information via network (for example snmp under load does not respond).Does kvm have skeleton module, what i can use and append code needed for me?
I recommend using virtio-serial in userspace. If your load is very high, you can use mlockall() and sched_setscheduler() to keep the process in memory and on a cpu.
If you absolutely need a kernel module, you can base it off virtio-serial.
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.